<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>This is where I am concerned something is broke with Quantum.</div><div><br></div><div>It appears it has an issue creating this br-tun using ovs-vsctl. And what I am concerned about is that the br-tun is not getting created, but it is getting a new ID in the database, so when the second part tries to attach the routers to this bridge, it is getting the wrong ID.</div><div><br></div><div>Any thoughts would be appreciated. I wanted to hand this cluster over to our devops team today, and this is the only hangup.</div><div><br></div><div>JMS</div><div><br></div><div><br></div><div><div>2013-08-29 15:17:48 ERROR [quantum.agent.linux.ovs_lib] Unable to execute ['ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']. Exception: </div><div>Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']</div><div>Exit code: 1</div><div>Stdout: ''</div><div>Stderr: 'ovs-vsctl: cannot create a port named gre-2 because a port named gre-2 already exists on bridge br-tun\n'</div><div>2013-08-29 15:51:52 ERROR [quantum.agent.linux.ovs_lib] Unable to execute ['ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']. Exception: </div><div>Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']</div><div>Exit code: 1</div><div>Stdout: ''</div><div>Stderr: 'ovs-vsctl: cannot create a port named gre-2 because a port named gre-2 already exists on bridge br-tun\n'</div><div>2013-08-29 16:12:38 ERROR [quantum.agent.linux.ovs_lib] Unable to execute ['ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']. Exception: </div><div>Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'add-port', 'br-tun', 'gre-2']</div><div>Exit code: 1</div><div>Stdout: ''</div><div>Stderr: 'ovs-vsctl: cannot create a port named gre-2 because a port named gre-2 already exists on bridge br-tun\n'</div></div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Anne Gentle <<a href="mailto:anne@openstack.org">anne@openstack.org</a>><br><span style="font-weight:bold">Date: </span> Thursday, August 29, 2013 5:40 PM<br><span style="font-weight:bold">To: </span> Joshua Skains <<a href="mailto:joshua.skains@evault.com">joshua.skains@evault.com</a>><br><span style="font-weight:bold">Cc: </span> Mark Lehrer <<a href="mailto:mark@knm.org">mark@knm.org</a>>, "Gangur, Hrushikesh (HP Converged Cloud - R&D - Sunnyvale)" <<a href="mailto:hrushikesh.gangur@hp.com">hrushikesh.gangur@hp.com</a>>, "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] VMs won't ping<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div><div dir="ltr">Not sure if this is quite it, but check the /etc/sudoers.d/quantum-sudoers shipped with Ubuntu 12.04.
<br><br>
/etc/sudoers.d/quantum_sudoers:quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap<br><br>
In /etc/quantum/quantum.conf it needs a matching setting for the root_helper, such as:<br><br>
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf<br><br>
The pathname needs to match in both places. Also check dhcp_agent.ini and l3_agent.ini.<br><br>
I couldn't find a related packaging bug but others following the docs have run into this on ubuntu.
<br><br>
Anne<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 5:37 PM, Joshua Skains <span dir="ltr">
<<a href="mailto:Joshua.Skains@evault.com" target="_blank">Joshua.Skains@evault.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can get a VM up. It seems to talk to the MetaData server. But I can not<br>
ping the VM, even after adding a floating IP.<br><br>
I don't see any errors until I look at l3agent logs.<br><br>
2013-08-29 16:34:21 ERROR [quantum.agent.l3_agent] Failed synchronizing<br>
routers<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line<br>
638, in _sync_routers_task<br>
self._process_routers(routers, all_routers=True)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line<br>
621, in _process_routers<br>
self.process_router(ri)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line<br>
319, in process_router<br>
self.external_gateway_added(ri, ex_gw_port, internal_cidrs)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line<br>
410, in external_gateway_added<br>
prefix=EXTERNAL_DEV_PREFIX)<br>
File<br>
"/usr/lib/python2.7/dist-packages/quantum/agent/linux/interface.py", line<br>
181, in plug<br>
ns_dev.link.set_address(mac_address)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",<br>
line 180, in set_address<br>
self._as_root('set', <a href="http://self.name" target="_blank">self.name</a>, 'address', mac_address)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",<br>
line 167, in _as_root<br>
kwargs.get('use_root_namespace', False))<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",<br>
line 47, in _as_root<br>
namespace)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",<br>
line 58, in _execute<br>
root_helper=root_helper)<br>
File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",<br>
line 61, in execute<br>
raise RuntimeError(m)<br>
RuntimeError:<br>
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip',<br>
'link', 'set', 'qg-ab8f0290-7b', 'address', 'fa:16:3e:93:37:c6']<br>
Exit code: 1<br>
Stdout: ''<br><br><br><br>
It bangs this error out rather extensively every minute.<br><br>
Any help is greatly appreciated.<br><br><br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br></blockquote></div><br></div></div></div></span></body></html>