openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #25023
VM do not get ip when use quantum
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
Follow ups