Openstack service not working with neutron Stderr: 'sudo: no tty present and no askpass program specified\n'

Solution Verified - Updated -

Issue

  • Neutron, nova and cinder are not working. All show similar errors in their respective logs.
2014-04-01 08:46:46.726 6533 TRACE neutron Command: ['sudo',
'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'add',
'int-br-ex', 'type', 'veth', 'peer', 'name', 'phy-br-ex']
2014-04-01 08:46:46.726 6533 TRACE neutron Exit code: 1
2014-04-01 08:46:46.726 6533 TRACE neutron Stdout: ''
2014-04-01 08:46:46.726 6533 TRACE neutron Stderr: 'sudo: no tty present
and no askpass program specified\n'

Environment

  • Red Hat Enterprise Linux OpenStack Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content