Ask Your Question
0

instances don't get ip addresses after controller node shutdown

asked 2017-05-18 07:44:05 -0600

lost007 gravatar image

Hello, I installed OpenStack Newton on Ubuntu 16.04.2 with 3 nodes : controller, compute, block storage (the nodes are VMs on VMware ESXI 6.0) following this guide https://docs.openstack.org/newton/install-guide-ubuntu/ (https://docs.openstack.org/newton/ins...)

The services installed are : keystone, glance, nova, neutron, horizon, cinder, heat, ceilometer.

Everything seemed to work just fine, i was able to create instances, my instances get ip addresses, they have connectivity between each other and can access the internet.

But when i reboot my controller node or shut it down and start it, my instances lose their ip addresses.

This happens every day (because every day in the evening, i stop all my nodes, and next day in the morning, i start them).

But I noticed that when i restart the neutron-linuxbridge-agent (# service neutron-linuxbridge-agent restart) on the controller node, instances could get their ip address again.

These are the logs that have ERROR in the controller node after I started all my nodes this morning :

/var/log/neutron/neutron-linuxbridge-agent.log :

2017-05-17 08:26:36.820 3513 INFO neutron.common.config [-] Logging enabled!
2017-05-17 08:26:36.962 3513 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 9.2.0
2017-05-17 08:26:36.963 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'ens192'}
2017-05-17 08:26:36.963 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-05-17 08:26:40.118 3513 ERROR neutron.agent.linux.utils [-] Exit code: 2; Stdin: ; Stdout: ; Stderr: vxlan: destination port not specified
2017-05-17 08:26:40.182 3513 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Unable to create VXLAN interface for VNI 1 because it is in use by another interface.
2017-05-17 08:26:42.507 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Agent initialized successfully, now running...
2017-05-17 08:26:42.549 3513 WARNING stevedore.named [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Could not load neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
2017-05-17 08:26:44.960 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] RPC agent_id: lb3e9920d290a2
2017-05-17 08:26:44.973 3513 INFO neutron.agent.agent_extensions_manager [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Loaded agent extensions: []
2017-05-17 08:26:45.919 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Linux bridge agent Agent RPC Daemon Started!
2017-05-17 08:26:45.919 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Linux bridge agent Agent out of sync with plugin!
2017-05-17 08:26:49.630 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Clearing orphaned ARP spoofing entries for devices []
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent [-] Failed reporting state!
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 130, in _report_state
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     True)
2017-05-17 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-19 05:23:22 -0600

lost007 gravatar image

Please help I am desperate

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2017-05-17 04:54:55 -0600

Seen: 100 times

Last updated: May 19