<div dir="ltr"><div>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></div>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></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="line-height:9.0pt"><span style="font-size:7.5pt;font-family:"Helvetica","sans-serif";color:#212121"><span></span><span style="font-family:arial,helvetica,sans-serif"><font size="1"></font></span></span><font size="1"><span style="font-family:arial,helvetica,sans-serif">Peter Kirby / Infrastructure and Build Engineer<br><a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">Magento Certified Developer Plus</a><br><a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><br><span style="color:rgb(33,33,33)"><a><span style="text-decoration:none"></span></a><span></span><span></span></span></span></font></p><font size="1"><span style="font-family:arial,helvetica,sans-serif"> 
     </span><span><b><span style="font-family:"Helvetica","sans-serif"">Objectstream, Inc. </span></b></span><span style="font-family:"Helvetica","sans-serif""><br> <span>Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a></span> <span>/ Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a></span> <br> <span>7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127</span> <br> <a href="http://www.objectstream.com/" target="_blank"><span style="text-decoration:none">http://www.objectstream.com/</span></a></span></font></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jan 23, 2017 at 2:21 PM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div>The port doesn't exists at all. </div>
<div><br>
</div>
<div><span class="">Port e1058d22-9a7b-4988-9644-<wbr>d0f476a01015 not present in bridge br-int<br>
<br>
</span><div class="m_501358609409133006acompli_signature">Get <a href="https://aka.ms/o0ukef" target="_blank">Outlook for iOS</a></div>
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_501358609409133006divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<b>Sent:</b> Tuesday, January 24, 2017 1:43:36 AM<div><div class="h5"><br>
<b>To:</b> Trinath Somanchi<br>
<b>Cc:</b> OpenStack<br>
<b>Subject:</b> Re: [Openstack] Setting up another compute node</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>I just did another attempt at this so I'd have fresh logs.<br>
<br>
</div>
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_<wbr>rpc [req-a9ab1e05-cf41-44ce-8762-<wbr>d7f0f72e7ba3 582643be48c04603a09250a1be6e6c<wbr>f3 1dd7b6481aa34ef7ba105a73368453<wbr>69 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-<wbr>2555f348bc1c']<br>
2017-01-23 14:09:21.132 8097 INFO neutron.agent.securitygroups_<wbr>rpc [req-b8cc3ab8-d4f3-4c96-820d-<wbr>148ae6fd47af 582643be48c04603a09250a1be6e6c<wbr>f3 1dd7b6481aa34ef7ba105a73368453<wbr>69 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-<wbr>2555f348bc1c']<br>
2017-01-23 14:09:22.057 8097 INFO neutron.agent.common.ovs_lib [req-d4d61032-5071-4792-a2a1-<wbr>3d645d44ccfa - - - - -] Port e1058d22-9a7b-4988-9644-<wbr>d0f476a01015 not present in bridge br-int<br>
2017-01-23 14:09:22.058 8097 INFO neutron.plugins.ml2.drivers.<wbr>openvswitch.agent.ovs_neutron_<wbr>agent [req-d4d61032-5071-4792-a2a1-<wbr>3d645d44ccfa - - - - -] port_unbound(): net_uuid None not in local_vlan_map<br>
2017-01-23 14:09:22.059 8097 INFO neutron.agent.securitygroups_<wbr>rpc [req-d4d61032-5071-4792-a2a1-<wbr>3d645d44ccfa - - - - -] Remove device filter for [u'e1058d22-9a7b-4988-9644-<wbr>d0f476a01015']<br>
<br>
<br>
</div>
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-<wbr>d0f476a01015<br>
Unable to find port with name or id 'e1058d22-9a7b-4988-9644-<wbr>d0f476a01015'<br>
<br>
<br>
</div>
Thank you very much for your input.<br>
<div><br>
<br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_501358609409133006gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<p style="line-height:9.0pt"><span style="font-size:7.5pt;font-family:"Helvetica","sans-serif";color:#212121"><span></span><span style="font-family:arial,helvetica,sans-serif"><font size="1"></font></span></span><font size="1"><span style="font-family:arial,helvetica,sans-serif">Peter
 Kirby / Infrastructure and Build Engineer<br>
<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">Magento Certified Developer Plus</a><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><br>
<span style="color:rgb(33,33,33)"><a><span style="text-decoration:none"></span></a><span></span><span></span></span></span></font></p>
<font size="1"><span style="font-family:arial,helvetica,sans-serif"></span><span><b><span style="font-family:"Helvetica","sans-serif"">Objectstream, Inc.
</span></b></span><span style="font-family:"Helvetica","sans-serif""><br>
<span>Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a></span>
<span>/ Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a></span>
<br>
<span>7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127</span> <br>
<a href="http://www.objectstream.com/" target="_blank"><span style="text-decoration:none">http://www.objectstream.com/</span></a></span></font></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Jan 23, 2017 at 1:48 PM, Trinath Somanchi <span dir="ltr">
<<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>This is the error </div>
<span>
<div><br>
</div>
<div> port_unbound(): net_uuid None not in local_vlan_map</div>
</span>
<div><br>
<br>
<div class="m_501358609409133006m_-4560608989844462533acompli_signature">Get <a href="https://aka.ms/o0ukef" target="_blank">
Outlook for iOS</a></div>
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_501358609409133006m_-4560608989844462533divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<b>Sent:</b> Tuesday, January 24, 2017 12:45:01 AM<br>
<b>To:</b> Trinath Somanchi<br>
<b>Cc:</b> OpenStack<br>
<b>Subject:</b> Re: [Openstack] Setting up another compute node</font>
<div> </div>
</div>
<div>
<div class="m_501358609409133006h5">
<div>
<div dir="ltr">
<div>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-364f25<wbr>940b2f \<br>
  --flavor m1.small \<br>
  --availability-zone nova:vhost2 \<br>
  --nic net-id=ce7f1bf3-b6b3-45c3-8251<wbr>-2cbcdc9d4595 \<br>
  temptest<br>
<br>
</div>
If I do not specify vhost2, this command does successfully create the VM on vhost1.<br>
<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_501358609409133006m_-4560608989844462533gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<p style="line-height:9.0pt"><span style="font-size:7.5pt;font-family:"Helvetica","sans-serif";color:#212121"><span></span><span style="font-family:arial,helvetica,sans-serif"><font size="1"></font></span></span><font size="1"><span style="font-family:arial,helvetica,sans-serif">Peter
 Kirby / Infrastructure and Build Engineer<br>
<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" target="_blank">Magento Certified Developer Plus</a><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><br>
<span style="color:rgb(33,33,33)"><a><span style="text-decoration:none"></span></a><span></span><span></span></span></span></font></p>
<font size="1"><span style="font-family:arial,helvetica,sans-serif"></span><span><b><span style="font-family:"Helvetica","sans-serif"">Objectstream, Inc.
</span></b></span><span style="font-family:"Helvetica","sans-serif""><br>
<span>Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a></span>
<span>/ Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a></span>
<br>
<span>7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127</span> <br>
<a href="http://www.objectstream.com/" target="_blank"><span style="text-decoration:none">http://www.objectstream.com/</span></a></span></font></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Jan 23, 2017 at 12:27 PM, Trinath Somanchi <span dir="ltr">
<<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div id="m_501358609409133006m_-4560608989844462533m_-8206654607814743724divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Can you post how did you spawn the VM ? I guess network is not added.</p>
<p><br>
</p>
<p>/Trinath</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_501358609409133006m_-4560608989844462533m_-8206654607814743724divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a>><br>
<b>Sent:</b> Monday, January 23, 2017 9:22:10 PM<br>
<b>To:</b> OpenStack<br>
<b>Subject:</b> [Openstack] Setting up another compute node</font>
<div> </div>
</div>
<div>
<div class="m_501358609409133006m_-4560608989844462533h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I'm currently running OpenStack Mitaka on CentOS 7.2 and I'm trying to setup another compute node.<br>
<br>
</div>
I have nova installed and running and the following neutron packages:<br>
openstack-neutron.noarch      <wbr>        1:8.3.0-1.el7            @openstack-mitaka<br>
openstack-neutron-common.noarc<wbr>h       1:8.3.0-1.el7            @openstack-mitaka<br>
openstack-neutron-ml2.noarch  <wbr>        1:8.3.0-1.el7            @openstack-mitaka<br>
openstack-neutron-openvswitch.<wbr>noarch  1:8.3.0-1.el7            @openstack-mitaka<br>
python-neutron.noarch         <wbr>        1:8.3.0-1.el7            @openstack-mitaka<br>
python-neutron-lib.noarch     <wbr>        0.0.3-1.el7              @openstack-mitaka<br>
python2-neutronclient.noarch  <wbr>        4.1.2-1.el7              @openstack-mitaka<br>
<br>
</div>
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>
</div>
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-a<wbr>81315b20b6b - - - - -] Port 67b72a38-c553-4f06-953c-92f43d<wbr>5dea60 not present in bridge br-int<br>
2017-01-20 10:51:21.133 24644 INFO neutron.plugins.ml2.drivers.op<wbr>envswitch.agent.ovs_neutron_ag<wbr>ent [req-2be33822-4a69-4521-9267-a<wbr>81315b20b6b - - - - -] port_unbound(): net_uuid None not in local_vlan_map<br>
<br>
</div>
Here is the output from ovs-vsctl show:<br>
2e5497fc-6f3a-4761-a99b-d4e95d<wbr>0614f7<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>
</div>
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>
</div>
Thank you.<br>
<div>
<div>
<div>
<div><br>
<br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>

</blockquote></div><br></div>