I solved it by adding 

root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf

in 

/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini

To: [email protected]
CC: [email protected]; 
[email protected]
Subject: Re: [Openstack] quantum-plugin-openvswitch-agent error
From: [email protected]
Date: Mon, 29 Apr 2013 15:28:03 -0500

Arindam,



Do you have sudo configured properly?
 Something like the following?



Defaults:quantum !requiretty



quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap







Jay S. Bryant

Linux Developer - 

    OpenStack Enterprise Edition

                   

Department 7YLA, Building 015-2, Office E125, Rochester, MN

Telephone: (507) 253-4270, FAX (507) 253-6410

TIE Line: 553-4270

E-Mail:  [email protected]

--------------------------------------------------------------------

 All the world's a stage and most of us are desperately unrehearsed.

                   -- Sean
O'Casey

--------------------------------------------------------------------







From:      
 Arindam Choudhury <[email protected]>

To:      
 openstack <[email protected]>,


Date:      
 04/29/2013 02:38 PM

Subject:    
   [Openstack]
quantum-plugin-openvswitch-agent error

Sent by:    
   "Openstack"
<[email protected]>








Hi,



I am getting the following error. Any help will be highly appreciated.




head /var/log/quantum/ovs-agent.log 

2013-04-29 16:59:15    ERROR [quantum.agent.linux.ovs_lib] Unable
to execute ['ovs-vsctl', '--timeout=2', '--', '--if-exists', 'del-port',
'br-int', 'patch-tun']. Exception: 

Command: ['sudo', 'ovs-vsctl', '--timeout=2', '--', '--if-exists', 'del-port',
'br-int', 'patch-tun']

Exit code: 1

Stdout: ''

Stderr: 'sudo: sin tty presente y no hay programa askpass especificado\n'

2013-04-29 16:59:15    ERROR [quantum.agent.linux.ovs_lib] Unable
to execute ['ovs-ofctl', 'del-flows', 'br-int']. Exception: 

Command: ['sudo', 'ovs-ofctl', 'del-flows', 'br-int']

Exit code: 1

Stdout: ''

Stderr: 'sudo: sin tty presente y no hay programa askpass especificado\n'

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : [email protected]

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp



                                          

<<inline: ATT00001>>

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to