<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 15px; font-family: Calibri, sans-serif;">
<div>[Removed rhos-maint@redhat.com as I saw an email sent to it failed and</div>
<div>could not be delivered]</div>
<div><br>
</div>
<div>Hi Kashyap,</div>
<div><br>
</div>
<div>Thanks a lot for your reply. I do see the fix in my environment.</div>
<div><br>
</div>
<div>In /usr/lib/python2.7/site-packages/neutron/common/config.py, I see the</div>
<div>following code snippet at line numbers 89 and 90.</div>
<div><br>
</div>
<div>
<div>     89     cfg.StrOpt('nova_url',</div>
<div>     90                default='<a href="http://127.0.0.1:8774/v2">http://127.0.0.1:8774/v2</a>',</div>
</div>
<div><br>
</div>
<div>In /etc/neutron/neutron.conf, I do have the Nova v2 API version number in </div>
<div>the URL below. But, instead of 127.0.0.1, I have the IP address of the network</div>
<div>host which is same as CONFIG_NETWORK_HOSTS in my packstack-answers.txt.</div>
<div><br>
</div>
<div>
<div># URL for connection to nova (Only supports one nova region currently).</div>
<div>nova_url = http://172.29.68.136:8774/v2</div>
</div>
<div><br>
</div>
<div>I have the below line in my packstack-answers.txt.</div>
<div><br>
</div>
<div>
<div>CONFIG_NETWORK_HOSTS=172.29.68.136</div>
</div>
<div><br>
</div>
<div>Yes, I can reproduce this issue every single time. Am I seeing a new bug ?</div>
<div><br>
</div>
<div>Please let me know if there is any work-around, and also if I need to send any</div>
<div>logs/debugs.</div>
<div><br>
</div>
<div>Regards,</div>
<div>
<div>Vikram Hosakote</div>
<div>OpenStack Software Engineer    |    vhosakot@cisco.com</div>
<div>Cloud and Virtualization Group  |    Cisco Systems</div>
<div>Boxborough MA                            |    Work : 978-936-8799</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Kashyap Chamarthy <<a href="mailto:kchamart@redhat.com">kchamart@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, January 6, 2015 at 5:35 AM<br>
<span style="font-weight:bold">To: </span>Vikram Hosakote <<a href="mailto:vhosakot@cisco.com">vhosakot@cisco.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>" <<a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>>, "<a href="mailto:rhos-maint@redhat.com">rhos-maint@redhat.com</a>" <<a href="mailto:rhos-maint@redhat.com">rhos-maint@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Rdo-list] RDO neutron bug 1087589<br>
</div>
<div><br>
</div>
<div>
<div>
<div>On Tue, Jan 06, 2015 at 02:34:14AM +0000, Vikram Hosakote (vhosakot) wrote:</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Hi,</div>
<div></div>
<div>I have been hitting the RDO bug</div>
<div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1087589">https://bugzilla.redhat.com/show_bug.cgi?id=1087589</a>, and not able to</div>
<div>boot a nova instance.</div>
</blockquote>
<div><br>
</div>
<div>As you might have noticed, that bug is fixed upstream more than 6 months</div>
<div>ago, so it's reasonable to expect to have it in current RDO stable</div>
<div>versions for sure (Juno).</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>I see that the fix <a href="https://review.openstack.org/#/c/92387/">https://review.openstack.org/#/c/92387/</a> was merged</div>
<div>on May 29th 2014. Is this fix available in the latest RDO ?</div>
</blockquote>
<div><br>
</div>
<div>I checked the source of python-neutron RPM for for both CentOS (from</div>
<div>latest RDO) and your package version -- the above fix is available in</div>
<div>both.</div>
<div><br>
</div>
<div>   -  python-neutron-2014.2.1-1.el7.centos.noarch.rpm (From here</div>
<div>      <a href="https://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/">https://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/</a>)</div>
<div>   -  python-neutron-2014.1.2-2.el7ost.noarch.rpm</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Below are the package versions of neutron and nova in my RHEL 7</div>
<div>IceHouse setup. How can I check if the fix is available in my packages</div>
<div>below ?</div>
</blockquote>
<div><br>
</div>
<div>That fix is part of this file:</div>
<div><br>
</div>
<div>    usr/lib/python2.7/site-packages/neutron/common/config.py</div>
<div><br>
</div>
<div>You can try two things:</div>
<div><br>
</div>
<div>  - In this file</div>
<div>    /usr/lib/python2.7/site-packages/neutron/common/config.py, you can</div>
<div>    check if you have the relevant code snippet:</div>
<div><br>
</div>
<div>      . . .</div>
<div>      cfg.StrOpt('nova_url',</div>
<div>                     default='<a href="http://127.0.0.1:8774/v2">http://127.0.0.1:8774/v2</a>',</div>
<div>      . . .                         </div>
<div><br>
</div>
<div>  - In your /etc/neutron.conf, ensure the 'nova_url' config parameter</div>
<div>    has the Nova v2 API version number in the URL:</div>
<div><br>
</div>
<div>      nova_url = <a href="http://127.0.0.1:8774/v2">http://127.0.0.1:8774/v2</a>
</div>
<div><br>
</div>
<div><br>
</div>
<div>[. . .] </div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Below are the errors of the above bug I see when I boot an instance. Please let me know the solution/work-around. Thanks a lot!</div>
<div></div>
<div>In /var/log/nova/nova-compute.log:</div>
<div>==============================</div>
<div></div>
<div>2015-01-05 11:31:15.870 5275 ERROR nova.compute.manager [req-9dee8033-a261-4a89-9477-772141cb747e ca5d4869d4e2464bb6e1e3c12a82c3a2 4dd830d71afb48d6a5e3970249669970] [instance: 228289f2-d3c2-401d-b779-f359121b4e71] Instance failed to spawn</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71] Traceback (most recent call last):</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1738, in _spawn</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]     block_device_info)</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2289, in spawn</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]     block_device_info)</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3710, in _create_domain_and_network</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71]     raise exception.VirtualInterfaceCreateException()</div>
<div>2015-01-05 11:31:15.870 5275 TRACE nova.compute.manager [instance: 228289f2-d3c2-401d-b779-f359121b4e71] VirtualInterfaceCreateException: Virtual Interface creation failed</div>
</blockquote>
<div><br>
</div>
<div>Are you able to consistently reproduce this issue in a different test</div>
<div>environment?</div>
<div><br>
</div>
<div><br>
</div>
<div>-- </div>
<div>/kashyap</div>
<div><br>
</div>
</div>
</div>
</span>
</body>
</html>