[openstack-dev] Quantum installation error

Gary Kotton gkotton at redhat.com
Wed May 22 14:59:52 UTC 2013


On 05/22/2013 05:37 PM, Alvise Dorigo wrote:
> Hi,
> sorry if this is not the right place to post this; if it is not, 
> please tell me in which forum I can post.
>
> I'm experiencing an error while installing the open vSwitch plugin 
> agent on the compute node (a host running only the nova-compute service).
>
> I'm following the official guide:
>
> http://docs.openstack.org/trunk/openstack-network/admin/content/install_fedora.html
>
> I haven't got any problem during the quantum-server installation and 
> configuration on the cloud controller, and there the quantum-server 
> daemon runs correctly as I verified in its logfile.
>
> When trying to create the br-int with the command reported here: 
> http://docs.openstack.org/trunk/openstack-network/admin/content/fedora_q_agent.html 
> (ovs-vsctl add-br br-int) I get this error message:
>
> 2013-05-22T14:19:06Z|00002|reconnect|WARN|unix:/var/run/openvswitch/db.sock: 
> connection attempt failed (No such file or directory)
> ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection 
> failed (No such file or directory)

Can you please check the following:
1. That the openvswitch is running?
2. Were you root when when you added this?

>
> it seems something related to the missing openvswitch services 
> running. Then I tried to start them:
>
> service quantum-openvswitch-agent start
>
> but the result is even worst:
>
> Stderr: 'sudo: no tty present and no askpass program specified\n'
> 2013-05-22 16:19:02    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: ''

Please make sure that you have the root wrap helper configured 
correctly. Please look in the quantum.conf file 
(/etc/quantum/quantum.conf in the section [AGENT])

Thanks
Gary
> Stderr: 'sudo: no tty present and no askpass program specified\n'
> 2013-05-22 16:19:02    ERROR [quantum.agent.linux.ovs_lib] Unable to 
> execute ['ovs-ofctl', 'add-flow', 'br-int', 
> 'hard_timeout=0,idle_timeout=0,priority=1,actions=normal']. Exception:
> Command: ['sudo', 'ovs-ofctl', 'add-flow', 'br-int', 
> 'hard_timeout=0,idle_timeout=0,priority=1,actions=normal']
> Exit code: 1
> Stdout: ''
> Stderr: 'sudo: no tty present and no askpass program specified\n'
> 2013-05-22 16:19:02 CRITICAL [quantum] [Errno 19] No such device
>
> Of course I verified that the commands sudo and ovs-ofctl are there.
>
> Any idea ?
>
> thanks,
>
>  Alvise
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130522/ad41c66b/attachment.html>


More information about the OpenStack-dev mailing list