<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 05/22/2013 05:37 PM, Alvise Dorigo wrote:
<blockquote
cite="mid:4705C6CC-0ECC-4988-A3B1-0762532CB05E@pd.infn.it"
type="cite">Hi,
<div>sorry if this is not the right place to post this; if it is
not, please tell me in which forum I can post.</div>
<div><br>
<div>I'm experiencing an error while installing the open vSwitch
plugin agent on the compute node (a host running only the
nova-compute service).</div>
<div><br>
</div>
<div>I'm following the official guide:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://docs.openstack.org/trunk/openstack-network/admin/content/install_fedora.html">http://docs.openstack.org/trunk/openstack-network/admin/content/install_fedora.html</a></div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>When trying to create the br-int with the command reported
here: <a moz-do-not-send="true"
href="http://docs.openstack.org/trunk/openstack-network/admin/content/fedora_q_agent.html">http://docs.openstack.org/trunk/openstack-network/admin/content/fedora_q_agent.html</a>
(ovs-vsctl add-br br-int) I get this error message:</div>
<div><br>
</div>
<div>
<div>2013-05-22T14:19:06Z|00002|reconnect|WARN|unix:/var/run/openvswitch/db.sock:
connection attempt failed (No such file or directory)</div>
<div>ovs-vsctl: unix:/var/run/openvswitch/db.sock: database
connection failed (No such file or directory)</div>
</div>
</div>
</blockquote>
<br>
Can you please check the following:<br>
1. That the openvswitch is running?<br>
2. Were you root when when you added this?<br>
<br>
<blockquote
cite="mid:4705C6CC-0ECC-4988-A3B1-0762532CB05E@pd.infn.it"
type="cite">
<div>
<div><br>
</div>
<div>it seems something related to the missing openvswitch
services running. Then I tried to start them:</div>
</div>
<div><br>
</div>
<div>service quantum-openvswitch-agent start</div>
<div><br>
</div>
<div>but the result is even worst:</div>
<div><br>
</div>
<div>
<div>Stderr: 'sudo: no tty present and no askpass program
specified\n'</div>
<div>2013-05-22 16:19:02 ERROR [quantum.agent.linux.ovs_lib]
Unable to execute ['ovs-ofctl', 'del-flows', 'br-int'].
Exception: </div>
<div>Command: ['sudo', 'ovs-ofctl', 'del-flows', 'br-int']</div>
<div>Exit code: 1</div>
<div>Stdout: ''</div>
</div>
</blockquote>
<br>
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])<br>
<br>
Thanks<br>
Gary<br>
<blockquote
cite="mid:4705C6CC-0ECC-4988-A3B1-0762532CB05E@pd.infn.it"
type="cite">
<div>
<div>Stderr: 'sudo: no tty present and no askpass program
specified\n'</div>
<div>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: </div>
<div>Command: ['sudo', 'ovs-ofctl', 'add-flow', 'br-int',
'hard_timeout=0,idle_timeout=0,priority=1,actions=normal']</div>
<div>Exit code: 1</div>
<div>Stdout: ''</div>
<div>Stderr: 'sudo: no tty present and no askpass program
specified\n'</div>
<div>2013-05-22 16:19:02 CRITICAL [quantum] [Errno 19] No such
device</div>
</div>
<div><br>
</div>
<div>Of course I verified that the commands sudo and ovs-ofctl are
there. </div>
<div><br>
</div>
<div>Any idea ?</div>
<div><br>
</div>
<div>thanks,</div>
<div><br>
</div>
<div> Alvise</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>