[Openstack] Setting up another compute node
Eugen Block
eblock at nde.ag
Tue Jan 24 08:02:22 UTC 2017
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.
Zitat von Trinath Somanchi <trinath.somanchi at nxp.com>:
> PortBindingFailed: Binding failed for port
> e1058d22-9a7b-4988-9644-d0f476a01015,
>
>
> Please reverify neutron configuration
>
>
> Get Outlook for iOS<https://aka.ms/o0ukef>
>
> ________________________________
> From: Peter Kirby <peter.kirby at objectstream.com>
> Sent: Tuesday, January 24, 2017 2:02:57 AM
> To: Trinath Somanchi
> Cc: OpenStack
> Subject: Re: [Openstack] Setting up another compute node
>
> 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.
>
> Here's what shows up in the nova logs:
>
> Jan 23 14:09:21 vhost2 nova-compute[8936]: Traceback (most recent call last):
> Jan 23 14:09:21 vhost2 nova-compute[8936]: File
> "/usr/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 115,
> in wait
> Jan 23 14:09:21 vhost2 nova-compute[8936]: listener.cb(fileno)
> Jan 23 14:09:21 vhost2 nova-compute[8936]: File
> "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line
> 214, in main
> Jan 23 14:09:21 vhost2 nova-compute[8936]: result = function(*args, **kwargs)
> Jan 23 14:09:21 vhost2 nova-compute[8936]: File
> "/usr/lib/python2.7/site-packages/nova/utils.py", line 1159, in
> context_wrapper
> Jan 23 14:09:21 vhost2 nova-compute[8936]: return func(*args, **kwargs)
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]: six.reraise(*exc_info)
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]: bind_host_id=bind_host_id)
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]:
> self._delete_ports(neutron, instance, created_port_ids)
> Jan 23 14:09:21 vhost2 nova-compute[8936]: File
> "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220,
> in __exit__
> Jan 23 14:09:21 vhost2 nova-compute[8936]: self.force_reraise()
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]: six.reraise(self.type_,
> self.value, self.tb)
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]: security_group_ids,
> available_macs, dhcp_opts)
> 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
> Jan 23 14:09:21 vhost2 nova-compute[8936]: raise
> exception.PortBindingFailed(port_id=port_id)
> 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.
> Jan 23 14:09:21 vhost2 nova-compute[8936]: Removing descriptor: 21
>
>
>
> Peter Kirby / Infrastructure and Build Engineer
> Magento Certified Developer
> Plus<https://www.magentocommerce.com/certification/directory/dev/2215598/>
> peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>
>
> Objectstream, Inc.
> Office: 405-942-4477<tel:405-942-4477> / Fax: 866-814-0174<tel:866-814-0174>
> 7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127
> http://www.objectstream.com/
>
> On Mon, Jan 23, 2017 at 2:21 PM, Trinath Somanchi
> <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>> wrote:
> The port doesn't exists at all.
>
> Port e1058d22-9a7b-4988-9644-d0f476a01015 not present in bridge br-int
>
> Get Outlook for iOS<https://aka.ms/o0ukef>
>
> ________________________________
> From: Peter Kirby
> <peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>>
> Sent: Tuesday, January 24, 2017 1:43:36 AM
>
> To: Trinath Somanchi
> Cc: OpenStack
> Subject: Re: [Openstack] Setting up another compute node
>
> I just did another attempt at this so I'd have fresh logs.
>
> There are all the lines produced in the neutron
> openvswitch-agent.log file when I attempt that previous command.
>
> 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']
> 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']
> 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
> 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
> 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']
>
>
> When I attempt to check the status of the port mentioned there, it
> doesn't exist on either compute node.
>
> (neutron) port-show e1058d22-9a7b-4988-9644-d0f476a01015
> Unable to find port with name or id 'e1058d22-9a7b-4988-9644-d0f476a01015'
>
>
> Thank you very much for your input.
>
>
>
>
> Peter Kirby / Infrastructure and Build Engineer
> Magento Certified Developer
> Plus<https://www.magentocommerce.com/certification/directory/dev/2215598/>
> peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>
>
> Objectstream, Inc.
> Office: 405-942-4477<tel:405-942-4477> / Fax: 866-814-0174<tel:866-814-0174>
> 7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127
> http://www.objectstream.com/
>
> On Mon, Jan 23, 2017 at 1:48 PM, Trinath Somanchi
> <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>> wrote:
> This is the error
>
> port_unbound(): net_uuid None not in local_vlan_map
>
>
> Get Outlook for iOS<https://aka.ms/o0ukef>
>
> ________________________________
> From: Peter Kirby
> <peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>>
> Sent: Tuesday, January 24, 2017 12:45:01 AM
> To: Trinath Somanchi
> Cc: OpenStack
> Subject: Re: [Openstack] Setting up another compute node
>
> I am using the CLI so I can force the VM to create on the new host.
> Using this command:
>
> openstack server create \
> --image db090568-9500-4092-ac23-364f25940b2f \
> --flavor m1.small \
> --availability-zone nova:vhost2 \
> --nic net-id=ce7f1bf3-b6b3-45c3-8251-2cbcdc9d4595 \
> temptest
>
> If I do not specify vhost2, this command does successfully create
> the VM on vhost1.
>
>
>
> Peter Kirby / Infrastructure and Build Engineer
> Magento Certified Developer
> Plus<https://www.magentocommerce.com/certification/directory/dev/2215598/>
> peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>
>
> Objectstream, Inc.
> Office: 405-942-4477<tel:405-942-4477> / Fax: 866-814-0174<tel:866-814-0174>
> 7725 W Reno Avenue, Suite 307 Oklahoma City, OK 73127
> http://www.objectstream.com/
>
> On Mon, Jan 23, 2017 at 12:27 PM, Trinath Somanchi
> <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>> wrote:
>
> Can you post how did you spawn the VM ? I guess network is not added.
>
>
> /Trinath
>
> ________________________________
> From: Peter Kirby
> <peter.kirby at objectstream.com<mailto:peter.kirby at objectstream.com>>
> Sent: Monday, January 23, 2017 9:22:10 PM
> To: OpenStack
> Subject: [Openstack] Setting up another compute node
>
> Hi,
>
> I'm currently running OpenStack Mitaka on CentOS 7.2 and I'm trying
> to setup another compute node.
>
> I have nova installed and running and the following neutron packages:
> openstack-neutron.noarch 1:8.3.0-1.el7
> @openstack-mitaka
> openstack-neutron-common.noarch 1:8.3.0-1.el7
> @openstack-mitaka
> openstack-neutron-ml2.noarch 1:8.3.0-1.el7
> @openstack-mitaka
> openstack-neutron-openvswitch.noarch 1:8.3.0-1.el7
> @openstack-mitaka
> python-neutron.noarch 1:8.3.0-1.el7
> @openstack-mitaka
> python-neutron-lib.noarch 0.0.3-1.el7
> @openstack-mitaka
> python2-neutronclient.noarch 4.1.2-1.el7
> @openstack-mitaka
>
> 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.
>
> However, when I try to deploy an instance to this new host, I get
> the following error and the the instances fails to deploy:
>
> 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
> 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
>
> Here is the output from ovs-vsctl show:
> 2e5497fc-6f3a-4761-a99b-d4e95d0614f7
> Bridge br-int
> fail_mode: secure
> Port br-int
> Interface br-int
> type: internal
> Bridge br-ex
> Port "eno1"
> Interface "eno1"
> Port br-ex
> Interface br-ex
> type: internal
> ovs_version: "2.5.0"
>
> 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?
>
> Thank you.
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock at nde.ag
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
More information about the Openstack
mailing list