<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",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.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
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.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle19
{mso-style-type:personal-reply;
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 class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Cool!. It’s a misconfiguration at controller. It happens when you configure the environment.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Congratulations!
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/ Trinath<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Peter Kirby [mailto:peter.kirby@objectstream.com]
<br>
<b>Sent:</b> Tuesday, January 24, 2017 8:17 PM<br>
<b>To:</b> Eugen Block <eblock@nde.ag><br>
<b>Cc:</b> OpenStack <openstack@lists.openstack.org><br>
<b>Subject:</b> Re: [Openstack] Setting up another compute node<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thank you all for the suggestions. I just copied all the neutron config files from the working compute node and now the new one is working. Unfortunately, I didn't make a backup copy of the files that were
there so I can't compare and see what I had done wrong, but everything is working now.<o:p></o:p></p>
</div>
<p class="MsoNormal">Thanks again.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Jan 24, 2017 at 2:02 AM, Eugen Block <<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Have you tried to create a new port manually? I assume this will also fail, then you have to check your neutron configuration. If it works, try to attach that port to a new instance and see what nova says.<br>
<br>
<br>
Zitat von Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">PortBindingFailed: Binding failed for port e1058d22-9a7b-4988-9644-d0f476a01015,<br>
<br>
<br>
Please reverify neutron configuration<br>
<br>
<br>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" target="_blank">https://aka.ms/o0ukef</a>><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
________________________________<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
Sent: Tuesday, January 24, 2017 2:02:57 AM<br>
To: Trinath Somanchi<br>
Cc: OpenStack<br>
Subject: Re: [Openstack] Setting up another compute node<br>
<br>
I agree. But I can't figure out why the port isn't getting created. Those lines are the only ones that show up in neutron logs.<br>
<br>
Here's what shows up in the nova logs:<br>
<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: Traceback (most recent call last):<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 115, in wait<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: listener.cb(fileno)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: result = function(*args, **kwargs)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/utils.py", line 1159, in context_wrapper<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: return func(*args, **kwargs)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1587, in _allocate_network_async<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: six.reraise(*exc_info)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: bind_host_id=bind_host_id)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 685, in allocate_for_instance<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: self._delete_ports(neutron, instance, created_port_ids)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: self.force_reraise()<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: six.reraise(self.type_, self.value, self.tb)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 674, in allocate_for_instance<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: security_group_ids, available_macs, dhcp_opts)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 261, in _create_port<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: raise exception.PortBindingFailed(port_id=port_id)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: PortBindingFailed: Binding failed for port e1058d22-9a7b-4988-9644-d0f476a01015, please check neutron logs for more information.<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: Removing descriptor: 21<br>
<br>
<br>
<br>
Peter Kirby / Infrastructure and Build Engineer<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">https://www.magentocommerce.com/certification/directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" target="_blank">405-942-4477</a>> / Fax:
<a href="tel:866-814-0174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" target="_blank">866-814-0174</a>><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" target="_blank">http://www.objectstream.com/</a><br>
<br>
On Mon, Jan 23, 2017 at 2:21 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a><mailto:<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>>> wrote:<br>
The port doesn't exists at all.<br>
<br>
Port e1058d22-9a7b-4988-9644-d0f476a01015 not present in bridge br-int<br>
<br>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" target="_blank">https://aka.ms/o0ukef</a>><br>
<br>
________________________________<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>>><br>
Sent: Tuesday, January 24, 2017 1:43:36 AM<br>
<br>
To: Trinath Somanchi<br>
Cc: OpenStack<br>
Subject: Re: [Openstack] Setting up another compute node<br>
<br>
I just did another attempt at this so I'd have fresh logs.<br>
<br>
There are all the lines produced in the neutron openvswitch-agent.log file when I attempt that previous command.<br>
<br>
2017-01-23 14:09:20.918 8097 INFO neutron.agent.securitygroups_rpc [req-a9ab1e05-cf41-44ce-8762-d7f0f72e7ba3 582643be48c04603a09250a1be6e6cf3 1dd7b6481aa34ef7ba105a7336845369 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-2555f348bc1c']<br>
2017-01-23 14:09:21.132 8097 INFO neutron.agent.securitygroups_rpc [req-b8cc3ab8-d4f3-4c96-820d-148ae6fd47af 582643be48c04603a09250a1be6e6cf3 1dd7b6481aa34ef7ba105a7336845369 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-2555f348bc1c']<br>
2017-01-23 14:09:22.057 8097 INFO neutron.agent.common.ovs_lib [req-d4d61032-5071-4792-a2a1-3d645d44ccfa - - - - -] Port e1058d22-9a7b-4988-9644-d0f476a01015 not present in bridge br-int<br>
2017-01-23 14:09:22.058 8097 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d4d61032-5071-4792-a2a1-3d645d44ccfa - - - - -] port_unbound(): net_uuid None not in local_vlan_map<br>
2017-01-23 14:09:22.059 8097 INFO neutron.agent.securitygroups_rpc [req-d4d61032-5071-4792-a2a1-3d645d44ccfa - - - - -] Remove device filter for [u'e1058d22-9a7b-4988-9644-d0f476a01015']<br>
<br>
<br>
When I attempt to check the status of the port mentioned there, it doesn't exist on either compute node.<br>
<br>
(neutron) port-show e1058d22-9a7b-4988-9644-d0f476a01015<br>
Unable to find port with name or id 'e1058d22-9a7b-4988-9644-d0f476a01015'<br>
<br>
<br>
Thank you very much for your input.<br>
<br>
<br>
<br>
<br>
Peter Kirby / Infrastructure and Build Engineer<br>
Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">https://www.magentocommerce.com/certification/directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" target="_blank">405-942-4477</a>> / Fax:
<a href="tel:866-814-0174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" target="_blank">866-814-0174</a>><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" target="_blank">http://www.objectstream.com/</a><br>
<br>
On Mon, Jan 23, 2017 at 1:48 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a><mailto:<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>>> wrote:<br>
This is the error<br>
<br>
port_unbound(): net_uuid None not in local_vlan_map<br>
<br>
<br>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" target="_blank">https://aka.ms/o0ukef</a>><br>
<br>
________________________________<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>>><br>
Sent: Tuesday, January 24, 2017 12:45:01 AM<br>
To: Trinath Somanchi<br>
Cc: OpenStack<br>
Subject: Re: [Openstack] Setting up another compute node<br>
<br>
I am using the CLI so I can force the VM to create on the new host. Using this command:<br>
<br>
openstack server create \<br>
--image db090568-9500-4092-ac23-364f25940b2f \<br>
--flavor m1.small \<br>
--availability-zone nova:vhost2 \<br>
--nic net-id=ce7f1bf3-b6b3-45c3-8251-2cbcdc9d4595 \<br>
temptest<br>
<br>
If I do not specify vhost2, this command does successfully create the VM on vhost1.<br>
<br>
<br>
<br>
Peter Kirby / Infrastructure and Build Engineer<br>
Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">https://www.magentocommerce.com/certification/directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" target="_blank">405-942-4477</a>> / Fax:
<a href="tel:866-814-0174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" target="_blank">866-814-0174</a>><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" target="_blank">http://www.objectstream.com/</a><br>
<br>
On Mon, Jan 23, 2017 at 12:27 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a><mailto:<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>>> wrote:<br>
<br>
Can you post how did you spawn the VM ? I guess network is not added.<br>
<br>
<br>
/Trinath<br>
<br>
________________________________<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>>><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
Sent: Monday, January 23, 2017 9:22:10 PM<br>
To: OpenStack<br>
Subject: [Openstack] Setting up another compute node<br>
<br>
Hi,<br>
<br>
I'm currently running OpenStack Mitaka on CentOS 7.2 and I'm trying to setup another compute node.<br>
<br>
I have nova installed and running and the following neutron packages:<br>
openstack-neutron.noarch 1:8.3.0-1.el7 @openstack-mitaka<br>
openstack-neutron-common.noarch 1:8.3.0-1.el7 @openstack-mitaka<br>
openstack-neutron-ml2.noarch 1:8.3.0-1.el7 @openstack-mitaka<br>
openstack-neutron-openvswitch.noarch 1:8.3.0-1.el7 @openstack-mitaka<br>
python-neutron.noarch 1:8.3.0-1.el7 @openstack-mitaka<br>
python-neutron-lib.noarch 0.0.3-1.el7 @openstack-mitaka<br>
python2-neutronclient.noarch 4.1.2-1.el7 @openstack-mitaka<br>
<br>
The neutron-openvswitch-agent is up and running and I can see it and nova from the OpenStack commandline. Neutron agent-list says the new host has the openvswitch agent and it's alive.<br>
<br>
However, when I try to deploy an instance to this new host, I get the following error and the the instances fails to deploy:<br>
<br>
2017-01-20 10:51:21.132 24644 INFO neutron.agent.common.ovs_lib [req-2be33822-4a69-4521-9267-a81315b20b6b - - - - -] Port 67b72a38-c553-4f06-953c-92f43d5dea60 not present in bridge br-int<br>
2017-01-20 10:51:21.133 24644 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-2be33822-4a69-4521-9267-a81315b20b6b - - - - -] port_unbound(): net_uuid None not in local_vlan_map<br>
<br>
Here is the output from ovs-vsctl show:<br>
2e5497fc-6f3a-4761-a99b-d4e95d0614f7<br>
Bridge br-int<br>
fail_mode: secure<br>
Port br-int<br>
Interface br-int<br>
type: internal<br>
Bridge br-ex<br>
Port "eno1"<br>
Interface "eno1"<br>
Port br-ex<br>
Interface br-ex<br>
type: internal<br>
ovs_version: "2.5.0"<br>
<br>
I suspect I'm missing one small step, but I've been searching google and logs for days now and I can't seem to nail down the problem. Does anyone have any suggestions where I should look next?<br>
<br>
Thank you.<o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><span style="color:#888888"><br>
<br>
<br>
<span class="hoenzb">-- </span><br>
<span class="hoenzb">Eugen Block voice : <a href="tel:%2B49-40-559%2051%2075" target="_blank">
+49-40-559 51 75</a></span><br>
<span class="hoenzb">NDE Netzdesign und -entwicklung AG fax : <a href="tel:%2B49-40-559%2051%2077" target="_blank">
+49-40-559 51 77</a></span><br>
<span class="hoenzb">Postfach 61 03 15</span><br>
<span class="hoenzb">D-22423 Hamburg e-mail : <a href="mailto:eblock@nde.ag" target="_blank">
eblock@nde.ag</a></span><br>
<br>
<span class="hoenzb"> Vorsitzende des Aufsichtsrates: Angelika Mozdzen</span><br>
<span class="hoenzb"> Sitz und Registergericht: Hamburg, HRB 90934</span><br>
<span class="hoenzb"> Vorstand: Jens-U. Mozdzen</span><br>
<span class="hoenzb"> USt-IdNr. DE 814 013 983</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>