[Openstack] VMs won't ping

Anne Gentle anne at openstack.org
Thu Aug 29 23:40:24 UTC 2013


Not sure if this is quite it, but check the /etc/sudoers.d/quantum-sudoers
shipped with Ubuntu 12.04.

/etc/sudoers.d/quantum_sudoers:quantum ALL = (root) NOPASSWD:
/usr/bin/quantum-rootwrap

In /etc/quantum/quantum.conf it needs a matching setting for the
root_helper, such as:

root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf

The pathname needs to match in both places. Also check dhcp_agent.ini and
l3_agent.ini.

I couldn't find a related packaging bug but others following the docs have
run into this on ubuntu.

Anne


On Thu, Aug 29, 2013 at 5:37 PM, Joshua Skains <Joshua.Skains at evault.com>wrote:

> I can get a VM up. It seems to talk to the MetaData server. But I can not
> ping the VM, even after adding a floating IP.
>
> I don't see any errors until I look at l3agent logs.
>
> 2013-08-29 16:34:21    ERROR [quantum.agent.l3_agent] Failed synchronizing
> routers
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line
> 638, in _sync_routers_task
>     self._process_routers(routers, all_routers=True)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line
> 621, in _process_routers
>     self.process_router(ri)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line
> 319, in process_router
>     self.external_gateway_added(ri, ex_gw_port, internal_cidrs)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line
> 410, in external_gateway_added
>     prefix=EXTERNAL_DEV_PREFIX)
>   File
> "/usr/lib/python2.7/dist-packages/quantum/agent/linux/interface.py", line
> 181, in plug
>     ns_dev.link.set_address(mac_address)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
> line 180, in set_address
>     self._as_root('set', self.name, 'address', mac_address)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
> line 167, in _as_root
>     kwargs.get('use_root_namespace', False))
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
> line 47, in _as_root
>     namespace)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
> line 58, in _execute
>     root_helper=root_helper)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",
> line 61, in execute
>     raise RuntimeError(m)
> RuntimeError:
> Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip',
> 'link', 'set', 'qg-ab8f0290-7b', 'address', 'fa:16:3e:93:37:c6']
> Exit code: 1
> Stdout: ''
>
>
>
> It bangs this error out rather extensively every minute.
>
> Any help is greatly appreciated.
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130829/694b98d0/attachment.html>


More information about the Openstack mailing list