<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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">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">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></body></html>