[Openstack] VM do not get ip when use quantum

jt628910 jt628910 at 163.com
Thu Jul 11 02:50:23 UTC 2013


hi all:
OS : rhel6.4
openstack version:Gizzly

install quantum with doc  :http://docs.openstack.org/grizzly/openstack-network/admin/content/

service  quantum-l3-agent  status
quantum-l3-agent dead´╝îbut pid exit

In dashboard ,when i add a instance  ,  it show that this instance  have added a ip such as 192.168.10.2

but   in vm  ,I do not see eth0  have this IP

tailf /var/log/quantum/dhcp-agent.log 

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 131, in call_driver
    getattr(driver, action)()
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 124, in enable
    reuse_existing=True)
  File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 554, in setup
    namespace=namespace)
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py", line 181, in plug
    ns_dev.link.set_address(mac_address)
  File "/usr/lib/python2.6/site-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.6/site-packages/quantum/agent/linux/ip_lib.py", line 167, in _as_root
    kwargs.get('use_root_namespace', False))
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 47, in _as_root
    namespace)
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 58, in _execute
    root_helper=root_helper)
  File "/usr/lib/python2.6/site-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', 'tapbf9a2991-33', 'address', 'fa:16:3e:a7:ea:91']
Exit code: 2
Stdout: ''
Stderr: 'RTNETLINK answers: Device or resource busy\n'


what happen about this?  



ttjiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130711/dd70a4ed/attachment.html>


More information about the Openstack mailing list