← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182616] Re: Sudoers / rootwrap - no tty present and no askpass program specified

 

Since the fix is outside Neutron closing this ticket.

** Changed in: neutron
       Status: Fix Committed => Invalid

** Changed in: neutron
    Milestone: havana-3 => None

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1182616

Title:
  Sudoers / rootwrap - no tty present and no askpass program specified

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  2013-05-21 19:59:54    DEBUG [quantum.agent.linux.utils]
  Command: ['sudo', 'ip', 'netns', 'exec', 'qdhcp-1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5', 'quantum-ns-metadata-proxy', '--pid_file=/var/lib/quantum/external/pids/1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5.pid', '--network_id=1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5', '--state_path=/var/lib/quantum', '--metadata_port=80', '--debug', '--verbose', '--log-file=quantum-ns-metadata-proxy1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5.log', '--log-dir=/var/log/quantum']
  Exit code: 1
  Stdout: ''
  Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: 3 incorrect password attempts\n'
  2013-05-21 19:59:54    ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data
      rval = self.proxy.dispatch(ctxt, version, method, **args)
    File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py", line 133, in dispatch
      return getattr(proxyobj, method)(ctxt, **kwargs)
    File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/lockutils.py", line 242, in inner
      retval = f(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 234, in network_create_end
      self.enable_dhcp_helper(network_id)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 188, in enable_dhcp_helper
      self.enable_isolated_metadata_proxy(network)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 329, in enable_isolated_metadata_proxy
      pm.enable(callback)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/external_process.py", line 55, in enable
      ip_wrapper.netns.execute(cmd)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py", line 407, in execute
      check_exit_code=check_exit_code)
    File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py", line 61, in execute
      raise RuntimeError(m)
  RuntimeError:
  Command: ['sudo', 'ip', 'netns', 'exec', 'qdhcp-1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5', 'quantum-ns-metadata-proxy', '--pid_file=/var/lib/quantum/external/pids/1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5.pid', '--network_id=1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5', '--state_path=/var/lib/quantum', '--metadata_port=80', '--debug', '--verbose', '--log-file=quantum-ns-metadata-proxy1f93a3a9-a4fa-473a-a1b6-23aee3a92ca5.log', '--log-dir=/var/log/quantum']
  Exit code: 1
  Stdout: ''
  Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: 3 incorrect password attempts\n'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1182616/+subscriptions