<div dir="ltr">Alvise,<div><br></div><div>You should probably use the openstack-operators mailing list. However, you already solved the first part of your problem, which was that the openvswitch servers weren't running. The problem you have now is that sudo isn't paying attention to the quantum sudoers file which you should be able to find in /etc/sudoers.d/quantum. You need to have a line in /etc/sudoers that looks like this:</div>
<div><br></div><div>#includedir /etc/sudoers.d<br></div><div><br></div><div style>If you don't, use visudo and add it. Alternatively you can just dump the contents of /etc/sudoers.d/quantum into /etc/sudoers. That should take care of things also.</div>
<div style><br></div><div style>For convenience I'll dump out the contents of my quantum sudoers file:</div><div style><br></div><div style><div>Defaults:quantum !requiretty</div><div><br></div><div>quantum ALL = (root) NOPASSWD: SETENV: /usr/bin/quantum-rootwrap</div>
<div><br></div></div><div style><br></div><div style>-Mike Wilson</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 22, 2013 at 8:37 AM, Alvise Dorigo <span dir="ltr"><<a href="mailto:alvise.dorigo@pd.infn.it" target="_blank">alvise.dorigo@pd.infn.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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 href="http://docs.openstack.org/trunk/openstack-network/admin/content/install_fedora.html" target="_blank">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 href="http://docs.openstack.org/trunk/openstack-network/admin/content/fedora_q_agent.html" target="_blank">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><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>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></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>