<div dir="ltr"><div>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.<br><br></div>Thanks again.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 24, 2017 at 2:02 AM, Eugen Block <span dir="ltr"><<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
PortBindingFailed: Binding failed for port e1058d22-9a7b-4988-9644-d0f476<wbr>a01015,<br>
<br>
<br>
Please reverify neutron configuration<br>
<br>
<br></span>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" rel="noreferrer" target="_blank">https://aka.ms/o0ukef</a>><div><div class="h5"><br>
<br>
______________________________<wbr>__<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-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/nova/network/neutronv2/<wbr>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-packa<wbr>ges/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-packa<wbr>ges/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-packa<wbr>ges/nova/network/neutronv2/<wbr>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-packa<wbr>ges/nova/network/neutronv2/<wbr>api.py", line 261, in _create_port<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: raise exception.PortBindingFailed(po<wbr>rt_id=port_id)<br>
Jan 23 14:09:21 vhost2 nova-compute[8936]: PortBindingFailed: Binding failed for port e1058d22-9a7b-4988-9644-d0f476<wbr>a01015, 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<br></div></div>
Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" rel="noreferrer" target="_blank">https://www.magentocommer<wbr>ce.com/certification/<wbr>directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><m<wbr>ailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream<wbr>.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a>> / Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a>><span class=""><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" rel="noreferrer" target="_blank">http://www.objectstream.com/</a><br>
<br></span><span class="">
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><mail<wbr>to:<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-d0f476<wbr>a01015 not present in bridge br-int<br>
<br></span>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" rel="noreferrer" target="_blank">https://aka.ms/o0ukef</a>><br>
<br>
______________________________<wbr>__<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><<wbr>mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstrea<wbr>m.com</a>>><span class=""><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_r<wbr>pc [req-a9ab1e05-cf41-44ce-8762-d<wbr>7f0f72e7ba3 582643be48c04603a09250a1be6e6c<wbr>f3 1dd7b6481aa34ef7ba105a73368453<wbr>69 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-255<wbr>5f348bc1c']<br>
2017-01-23 14:09:21.132 8097 INFO neutron.agent.securitygroups_r<wbr>pc [req-b8cc3ab8-d4f3-4c96-820d-1<wbr>48ae6fd47af 582643be48c04603a09250a1be6e6c<wbr>f3 1dd7b6481aa34ef7ba105a73368453<wbr>69 - - -] Security group member updated [u'a52a5f37-e0dd-4810-a719-255<wbr>5f348bc1c']<br>
2017-01-23 14:09:22.057 8097 INFO neutron.agent.common.ovs_lib [req-d4d61032-5071-4792-a2a1-3<wbr>d645d44ccfa - - - - -] Port e1058d22-9a7b-4988-9644-d0f476<wbr>a01015 not present in bridge br-int<br>
2017-01-23 14:09:22.058 8097 INFO neutron.plugins.ml2.drivers.op<wbr>envswitch.agent.ovs_neutron_ag<wbr>ent [req-d4d61032-5071-4792-a2a1-3<wbr>d645d44ccfa - - - - -] port_unbound(): net_uuid None not in local_vlan_map<br>
2017-01-23 14:09:22.059 8097 INFO neutron.agent.securitygroups_r<wbr>pc [req-d4d61032-5071-4792-a2a1-3<wbr>d645d44ccfa - - - - -] Remove device filter for [u'e1058d22-9a7b-4988-9644-d0f<wbr>476a01015']<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-d0f476<wbr>a01015<br>
Unable to find port with name or id 'e1058d22-9a7b-4988-9644-d0f47<wbr>6a01015'<br>
<br>
<br>
Thank you very much for your input.<br>
<br>
<br>
<br>
<br>
Peter Kirby / Infrastructure and Build Engineer<br></span>
Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" rel="noreferrer" target="_blank">https://www.magentocommer<wbr>ce.com/certification/<wbr>directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><m<wbr>ailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream<wbr>.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a>> / Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a>><span class=""><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" rel="noreferrer" target="_blank">http://www.objectstream.com/</a><br>
<br></span><span class="">
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><mail<wbr>to:<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></span>
Get Outlook for iOS<<a href="https://aka.ms/o0ukef" rel="noreferrer" target="_blank">https://aka.ms/o0ukef</a>><br>
<br>
______________________________<wbr>__<br>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><<wbr>mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstrea<wbr>m.com</a>>><span class=""><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-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>
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></span>
Magento Certified Developer Plus<<a href="https://www.magentocommerce.com/certification/directory/dev/2215598/" rel="noreferrer" target="_blank">https://www.magentocommer<wbr>ce.com/certification/<wbr>directory/dev/2215598/</a>><br>
<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><m<wbr>ailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream<wbr>.com</a>><br>
<br>
Objectstream, Inc.<br>
Office: <a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a><tel:<a href="tel:405-942-4477" value="+14059424477" target="_blank">405-942-4477</a>> / Fax: <a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a><tel:<a href="tel:866-814-0174" value="+18668140174" target="_blank">866-814-0174</a>><span class=""><br>
7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127<br>
<a href="http://www.objectstream.com/" rel="noreferrer" target="_blank">http://www.objectstream.com/</a><br>
<br></span><span class="">
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><mail<wbr>to:<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>
______________________________<wbr>__<br></span>
From: Peter Kirby <<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstream.com</a><<wbr>mailto:<a href="mailto:peter.kirby@objectstream.com" target="_blank">peter.kirby@objectstrea<wbr>m.com</a>>><div><div class="h5"><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.noarc<wbr>h       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.<wbr>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-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>
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>
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.<br>
</div></div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<br>
-- <br>
Eugen Block                             voice   : <a href="tel:%2B49-40-559%2051%2075" value="+49405595175" target="_blank">+49-40-559 51 75</a><br>
NDE Netzdesign und -entwicklung AG      fax     : <a href="tel:%2B49-40-559%2051%2077" value="+49405595177" target="_blank">+49-40-559 51 77</a><br>
Postfach 61 03 15<br>
D-22423 Hamburg                         e-mail  : <a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a><br>
<br>
        Vorsitzende des Aufsichtsrates: Angelika Mozdzen<br>
          Sitz und Registergericht: Hamburg, HRB 90934<br>
                  Vorstand: Jens-U. Mozdzen<br>
                   USt-IdNr. DE 814 013 983</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</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" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</div></div></blockquote></div><br></div></div>