<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<BR><br><BR>I had the same problem. I found a solution in RDO Openstack forum.<BR>link: http://openstack.redhat.com/forum/discussion/comment/561#Comment_561<br><BR>1) stop quantum services and remove ports from ovs.<BR>

<pre><code># ovs-vsctl del-port br-int xxxxx
# ovs-vsctl del-port br-ext xxxxx
</code></pre>

It's cleaned up as:<BR>

<pre><code># ovs-vsctl show
394e8a6b-a5e0-4fef-8f8f-506889aebfc1
    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"
</code></pre>

2) add ovs_use_veth = True in l3_agent.ini, dhcp_agent.ini and lbaas_agent.ini.<BR><br><br><div><hr id="stopSpelling">Date: Thu, 11 Jul 2013 10:50:23 +0800<br>From: jt628910@163.com<br>To: openstack@lists.launchpad.net<br>Subject: [Openstack] VM do not get ip when  use  quantum<br><br>


<style><!--
.ExternalClass BLOCKQUOTE {
MARGIN-TOP:0px;
MARGIN-BOTTOM:0px;
MARGIN-LEFT:2em;
}

.ExternalClass OL {
MARGIN-TOP:0px;
MARGIN-BOTTOM:0px;
}

.ExternalClass UL {
MARGIN-TOP:0px;
MARGIN-BOTTOM:0px;
}

.ExternalClass P {
MARGIN-TOP:0px;
MARGIN-BOTTOM:0px;
}

.ExternalClass {
LINE-HEIGHT:1.5;
FONT-FAMILY:$BHy(B?$B2m|n(B;
COLOR:#000000;
FONT-SIZE:10.5pt;
}

--></style>



<div>hi all:</div>
<div style="TEXT-INDENT:2em;">OS : rhel6.4</div>
<div style="TEXT-INDENT:2em;">openstack version:Gizzly</div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">install quantum with doc  :<a href="http://docs.openstack.org/grizzly/openstack-network/admin/content/" target="_blank">http://docs.openstack.org/grizzly/openstack-network/admin/content/</a></div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">service  quantum-l3-agent  status</div>
<div style="TEXT-INDENT:2em;">quantum-l3-agent dead$B!$(Bbut pid exit</div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">In dashboard ,when i add a instance  ,  
it show that this instance  have added a ip such as 192.168.10.2</div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">but   in vm  ,I do not see 
eth0  have this IP</div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">tailf /var/log/quantum/dhcp-agent.log </div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">
<div>Traceback (most recent call last):</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 131, in call_driver</div>
<div>    getattr(driver, action)()</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 124, in enable</div>
<div>    reuse_existing=True)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 554, in setup</div>
<div>    namespace=namespace)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py", line 181, in plug</div>
<div>    ns_dev.link.set_address(mac_address)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 180, in set_address</div>
<div>    self._as_root('set', self.name, 'address', mac_address)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 167, in _as_root</div>
<div>    kwargs.get('use_root_namespace', False))</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 47, in _as_root</div>
<div>    namespace)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 58, in _execute</div>
<div>    root_helper=root_helper)</div>
<div>  File "/usr/lib/python2.6/site-packages/quantum/agent/linux/utils.py", line 61, in execute</div>
<div>    raise RuntimeError(m)</div>
<div>RuntimeError: </div>
<div>Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'tapbf9a2991-33', 'address', 'fa:16:3e:a7:ea:91']</div>
<div>Exit code: 2</div>
<div>Stdout: ''</div>
<div>Stderr: 'RTNETLINK answers: Device or resource busy\n'</div></div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;"> </div>
<div style="TEXT-INDENT:2em;">what happen about this?  </div>
<hr style="WIDTH:210px;HEIGHT:1px;" align="left" color="#b5c4df" size="1">

<div><span>ttjiang</span></div>
<br>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp</div>                                     </div></body>
</html>