← Back to team overview

openstack team mailing list archive

Re: quantum-plugin-openvswitch-agent error

 

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: arindam@xxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx; openstack-bounces+jsbryant=us.ibm.com@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] quantum-plugin-openvswitch-agent error
From: jsbryant@xxxxxxxxxx
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:  jsbryant@xxxxxxxxxx

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

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

                   -- Sean
O'Casey

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







From:      
 Arindam Choudhury <arindam@xxxxxxxx>

To:      
 openstack <openstack@xxxxxxxxxxxxxxxxxxx>,


Date:      
 04/29/2013 02:38 PM

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

Sent by:    
   "Openstack"
<openstack-bounces+jsbryant=us.ibm.com@xxxxxxxxxxxxxxxxxxx>








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     : openstack@xxxxxxxxxxxxxxxxxxx

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

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



 		 	   		  

JPEG image


References