Ask Your Question
0

Instance will not launch. Neutron error on compute node.

asked 2016-05-06 10:33:09 -0600

msanabria11 gravatar image

I'm getting a weird error when I try to launch an instance. My current setup is a 2 node architecture with a Controller node and a Compute node. I am following the OpenStack manual installation guide for the Mitaka release. I have tested this setup in my VM lab and it was successful. Now when I move this setup to bare metal I am getting the following error on the compute node when I try to launch an instance. This error seems to crash the mariadb and rabbitmq services as it keeps looping about once every 2 seconds which then starts logging errors on the controller node. Any thoughts here? I am attempting to use the provider networking method as detailed here: http://docs.openstack.org/mitaka/networking-guide/scenario-provider-ovs.html


/var/log/neutron/openvswitch-agent.log on compute node

2016-05-06 11:12:07.548 1533 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Agent out of sync with plugin!
2016-05-06 11:12:07.549 1533 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Clearing cache of registered ports, retries to resync were > 5
2016-05-06 11:12:07.579 1533 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Port 'tap2dcb0b92-6e' has lost its vlan tag '1'!
2016-05-06 11:12:07.706 1533 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Port 2dcb0b92-6e60-49f6-93fb-f452a882b8e5 updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'5971a3c5-1be7-4e88-a328-7407382eabee', u'segmentation_id': None, u'device_owner': u'compute:nova', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:27:7e:6a', u'device': u'2dcb0b92-6e60-49f6-93fb-f452a882b8e5', u'port_security_enabled': True, u'port_id': u'2dcb0b92-6e60-49f6-93fb-f452a882b8e5', u'fixed_ips': [{u'subnet_id': u'ccf823a3-479a-4772-80fb-08dcfb2db761', u'ip_address': u'172.18.120.64'}], u'network_type': u'flat', u'security_groups': [u'd8eaadc7-a42c-48ec-8e41-4db46c11c8fa']}
2016-05-06 11:12:07.744 1533 INFO neutron.agent.securitygroups_rpc [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Preparing filters for devices set([u'2dcb0b92-6e60-49f6-93fb-f452a882b8e5'])
2016-05-06 11:12:07.898 1533 WARNING neutron.agent.linux.iptables_manager [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Tried to remove rule that was not there: 'PREROUTING' u'-m physdev --physdev-in tap2dcb0b92-6e -j CT --zone 1' True False
2016-05-06 11:12:07.899 1533 WARNING neutron.agent.linux.iptables_manager [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Tried to remove rule that was not there: 'PREROUTING' u'-m physdev --physdev-in tap2dcb0b92-6e -j CT --zone 1' True False
2016-05-06 11:12:07.902 1533 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d7f19453-6bc5-47c1-af41-976d0e71ce2b - - - - -] Error while processing VIF ports
2016-05-06 11:12:07.902 1533 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-05-06 11:12:07.902 1533 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1975, in rpc_loop
2016-05-06 11:12:07.902 1533 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info, ovs_restarted)
2016-05-06 11:12:07.902 1533 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1607, in process_network_ports
2016-05-06 11 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-05-07 07:55:43 -0600

xroot gravatar image

A suggestion: please, check if the IPSet utility is installed. The compute node stack trace looks very similar to this: https://bugs.launchpad.net/openstack-manuals/+bug/1510680 (https://bugs.launchpad.net/openstack-...)

thanks,

-alexm

edit flag offensive delete link more

Comments

I meant to post my own answer but this was the cause. I needed to install ipset. Thank you!

msanabria11 gravatar imagemsanabria11 ( 2016-05-14 21:20:02 -0600 )edit

I'm facing the same issue, and I also installed ipset. Please, help.

Steve Jobs gravatar imageSteve Jobs ( 2016-10-12 04:10:08 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-05-06 10:33:09 -0600

Seen: 512 times

Last updated: May 06 '16