[Openstack] quantum-plugin-openvswitch-agent error

Arindam Choudhury arindam at live.com
Mon Apr 29 20:46:52 UTC 2013


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 at live.com
CC: openstack at lists.launchpad.net; openstack-bounces+jsbryant=us.ibm.com at lists.launchpad.net
Subject: Re: [Openstack] quantum-plugin-openvswitch-agent error
From: jsbryant at us.ibm.com
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 at us.ibm.com

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

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

                   -- Sean
O'Casey

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







From:      
 Arindam Choudhury <arindam at live.com>

To:      
 openstack <openstack at lists.launchpad.net>,


Date:      
 04/29/2013 02:38 PM

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

Sent by:    
   "Openstack"
<openstack-bounces+jsbryant=us.ibm.com at lists.launchpad.net>








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 at lists.launchpad.net

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

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



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130429/8a0c2d6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001
Type: image/jpeg
Size: 4229 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130429/8a0c2d6b/attachment.jpe>


More information about the Openstack mailing list