<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">Hi list,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">I'm working under CentOS 6.4 + Havana.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">I'm trying to enable vxlan.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">I successfully started an instance, but the instance cant' get IP address from DHCP agent.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">I get an error message in dhcp.log:<br>
2014-01-02 14:38:33.150 17728 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-1314f7bb-9b52-4db8-a677-a751e52aad0e', 'ip', '-o', 'link', 'show', 'ns-45bfc42b-93']
 execute /usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py:43<br>
2014-01-02 14:38:33.161 17728 DEBUG neutron.agent.linux.utils [-]<br>
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-d250b6d9-0077-41ae-88e1-8736dfd0e165', 'ip', 'route', 'replace', 'default', 'via', '30.1.100.1', 'dev', 'ns-8d8fdae7-1f']<br>
Exit code: 2<br>
Stdout: ''<br>
Stderr: 'RTNETLINK answers: No such process\n' execute /usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py:60<br>
2014-01-02 14:38:33.161 17728 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp.<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 126, in call_driver<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 167, in enable<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent reuse_existing=True)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 724, in setup<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent self._set_default_route(network)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 612, in _set_default_route<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent device.route.add_gateway(subnet.gateway_ip)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 359, in add_gateway<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent self._as_root(*args)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 208, in _as_root<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent kwargs.get('use_root_namespace', False))<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 65, in _as_root<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent namespace)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 76, in _execute<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent root_helper=root_helper)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 62, in execute<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent RuntimeError:<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-d250b6d9-0077-41ae-88e1-8736dfd0e165', 'ip', 'route', 'replace', 'default', 'via', '30.1.100.1', 'dev',
 'ns-8d8fdae7-1f']<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent Exit code: 2<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent Stdout: ''<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: No such process\n'<br>
2014-01-02 14:38:33.161 17728 TRACE neutron.agent.dhcp_agent<br>
2014-01-02 14:38:33.267 17728 DEBUG neutron.agent.linux.utils [-]<br>
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-1314f7bb-9b52-4db8-a677-a751e52aad0e', 'ip', '-o', 'link', 'show', 'ns-45bfc42b-93']<br>
Exit code: 0<br>
Stdout: '22: ns-45bfc42b-93: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\\ link/ether fa:16:3e:b0:33:b6 brd ff:ff:ff:ff:ff:ff\n'<br>
Stderr: '' execute /usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py:60<br>
2014-01-02 14:38:33.268 17728 DEBUG neutron.agent.linux.dhcp [-] Reusing existing device: ns-45bfc42b-93. setup /usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py:696<br>
2014-01-02 14:38:33.269 17728 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-1314f7bb-9b52-4db8-a677-a751e52aad0e', 'ip', 'addr', 'show', 'ns-45bfc42b-93', 'permanent',
 'scope', 'global'] execute /usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py:43<br>
2014-01-02 14:38:33.376 17728 DEBUG neutron.agent.linux.utils [-]<br>
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-1314f7bb-9b52-4db8-a677-a751e52aad0e', 'ip', 'addr', 'show', 'ns-45bfc42b-93', 'permanent', 'scope', 'global']<br>
Exit code: 0<br>
Stdout: '22: ns-45bfc42b-93: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\n link/ether fa:16:3e:b0:33:b6 brd ff:ff:ff:ff:ff:ff\n inet 20.1.100.3/24 brd 20.1.100.255 scope global ns-45bfc42b-93\n'<br>
Stderr: '' execute /usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py:60<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">Anyone know why this happen ???<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">Thanks.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.2in;margin-left:0in;line-height:13.5pt;background:white;max-width: 45em;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:9.0pt;font-family:"Courier New";color:#333333">-chen<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>