← Back to team overview

openstack team mailing list archive

Re: VM do not get ip when use quantum


I do this,and the dhcp-agent.log  have no error , but my vm still do not have IP

any else I can do for this?


From: Arindam Choudhury
Date: 2013-07-12 05:18
To: openstack
Subject: Re: [Openstack] VM do not get ip when use quantum

I had the same problem. I found a solution in RDO Openstack forum.
link: http://openstack.redhat.com/forum/discussion/comment/561#Comment_561

1) stop quantum services and remove ports from ovs.

# ovs-vsctl del-port br-int xxxxx
# ovs-vsctl del-port br-ext xxxxx

It's cleaned up as:

# ovs-vsctl show
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "1.10.0"

2) add ovs_use_veth = True in l3_agent.ini, dhcp_agent.ini and lbaas_agent.ini.

Date: Thu, 11 Jul 2013 10:50:23 +0800
From: jt628910@xxxxxxx
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] 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

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
  File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 554, in setup
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py", line 181, in plug
  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
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 58, in _execute
  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/utils.py", line 61, in execute
    raise RuntimeError(m)
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?  


_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp