Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

instances don't get ip addresses after controller node shutdown

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/

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 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 88, in report_state
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return method(context, 'report_state', **kwargs)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=self.retry)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     timeout=timeout, retry=retry)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=retry)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 453, in _send
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     result = self._waiter.wait(msg_id, timeout)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in wait
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     message = self.waiters.get(msg_id, timeout=timeout)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent     'to message ID %s' % msg_id)
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent MessagingTimeout: Timed out waiting for a reply to message ID c34c7471cfcf40f189c26f71a1f3c094
2017-05-17 08:27:45.220 3513 ERROR neutron.plugins.ml2.drivers.agent._common_agent
2017-05-17 08:27:45.221 3513 WARNING oslo.service.loopingcall [-] Function 'neutron.plugins.ml2.drivers.agent._common_agent.CommonAgentLoop._report_state' run outlasted interval by 30.21 sec
2017-05-17 08:27:45.528 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [-] Linux bridge agent Agent has just been revived. Doing a full sync.
2017-05-17 08:27:45.662 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:28:07.685 3513 INFO neutron.agent.securitygroups_rpc [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Preparing filters for devices set(['tap74e37c11-24', 'tapde9b8b20-7c', 'tap2243b4c2-f1'])
2017-05-17 08:28:10.940 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Port tap74e37c11-24 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'f0196a12-7e3a-4924-9d3d-7ff822126756', u'segmentation_id': 75, u'device_owner': u'network:dhcp', u'physical_network': None, u'mac_address': u'fa:16:3e:d9:3e:6a', u'device': u'tap74e37c11-24', u'port_security_enabled': False, u'port_id': u'74e37c11-2471-4090-8821-872f1e57ce11', u'fixed_ips': [{u'subnet_id': u'802a82f1-bf0a-429f-9b64-b81a15bf3fb3', u'ip_address': u'10.1.1.130'}, {u'subnet_id': u'1761697c-bff6-41bc-bbc0-4461d7beb17c', u'ip_address': u'10.1.1.2'}, {u'subnet_id': u'88c19814-5d8d-48e0-ab4a-de2b22845709', u'ip_address': u'10.1.2.2'}, {u'subnet_id': u'9442b935-6ab7-4494-9bbb-f29a2e4c4c31', u'ip_address': u'10.2.0.2'}], u'network_type': u'vxlan', u'security_groups
 ': []}
4f19-9a07-0ea88a3d1afb - - - - -] Skipping ARP spoofing rules for port 'tapefa09b40-cd' because it has port security disabled
2017-05-17 08:29:38.040 3513 INFO neutron.agent.securitygroups_rpc [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Preparing filters for devices set(['tap777a8a75-2e'])
2017-05-17 08:29:39.995 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Port tap777a8a75-2e 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'f0196a12-7e3a-4924-9d3d-7ff822126756', u'segmentation_id': 75, u'device_owner': u'network:router_interface', u'physical_network': None, u'mac_address': u'fa:16:3e:ff:8b:db', u'device': u'tap777a8a75-2e', u'port_security_enabled': False, u'port_id': u'777a8a75-2e2a-44dc-a229-8608bbddd64c', u'fixed_ips': [{u'subnet_id': u'1761697c-bff6-41bc-bbc0-4461d7beb17c', u'ip_address': u'10.1.1.1'}], u'network_type': u'vxlan', u'security_groups': []}
2017-05-17 08:29:40.727 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Skipping ARP spoofing rules for port 'tap777a8a75-2e' because it has port security disabled
2017-05-17 08:30:00.835 3513 INFO neutron.agent.securitygroups_rpc [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Preparing filters for devices set(['tapc80e7ff1-c9'])
2017-05-17 08:30:02.039 3513 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Port tapc80e7ff1-c9 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'51e50140-969e-4050-ad86-8a95fe7c2ff6', u'segmentation_id': None, u'device_owner': u'network:router_gateway', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:3d:78:9f', u'device': u'tapc80e7ff1-c9', u'port_security_enabled': False, u'port_id': u'c80e7ff1-c973-41e1-85ef-150e2eb19484', u'fixed_ips': [{u'subnet_id': u'ef3c2aee-527a-4dbd-a48a-009168fbe0ea', u'ip_address': u'192.168.1.162'}], u'network_type': u'flat', u'security_groups': []}
2017-05-17 08:30:03.303 3513 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Skipping ARP spoofing rules for port 'tapc80e7ff1-c9' because it has port security disabled
.
.
.

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

2017-05-17 08:26:24.101 3370 INFO neutron.common.config [-] Logging enabled!
2017-05-17 08:26:24.370 3370 INFO neutron.common.config [-] /usr/bin/neutron-dhcp-agent version 9.2.0
2017-05-17 08:26:25.598 3370 INFO neutron.agent.dhcp.agent [-] Synchronizing state
2017-05-17 08:27:25.946 3370 ERROR neutron.common.rpc [req-9ce10cb3-8639-4b9f-ba79-de65d974ff19 - - - - -] Timeout in RPC method get_active_networks_info. Waiting for 34 seconds before next attempt. If the server is not down, consider increasing the rpc_response_timeout option as Neutron server(s) may be overloaded and unable to respond quickly enough.
2017-05-17 08:27:25.946 3370 WARNING neutron.common.rpc [req-9ce10cb3-8639-4b9f-ba79-de65d974ff19 - - - - -] Increasing timeout for get_active_networks_info calls to 120 seconds. Restart the agent to restore it to the default value.
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent [req-44e8eb95-0320-4314-bd4b-800f36374a8f - - - - -] Failed reporting state!
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py", line 686, in _report_state
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     ctx, self.agent_state, True)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 88, in report_state
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     return method(context, 'report_state', **kwargs)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     retry=self.retry)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     timeout=timeout, retry=retry)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     retry=retry)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 453, in _send
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     result = self._waiter.wait(msg_id, timeout)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in wait
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     message = self.waiters.get(msg_id, timeout=timeout)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent     'to message ID %s' % msg_id)
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent MessagingTimeout: Timed out waiting for a reply to message ID d0dad6bf04de4249900c52fe5bafa7c7
2017-05-17 08:27:25.982 3370 ERROR neutron.agent.dhcp.agent
2017-05-17 08:27:26.001 3370 WARNING oslo.service.loopingcall [req-44e8eb95-0320-4314-bd4b-800f36374a8f - - - - -] Function 'neutron.agent.dhcp.agent.DhcpAgentWithStateReport._report_state' run outlasted interval by 30.94 sec
2017-05-17 08:27:26.115 3370 INFO neutron.agent.dhcp.agent [req-bb1724a2-8508-4d7e-8904-cdb864106c40 - - - - -] Agent has just been revived. Scheduling full sync
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent [req-9ce10cb3-8639-4b9f-ba79-de65d974ff19 - - - - -] Unable to sync network state.
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py", line 158, in sync_state
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     active_networks = self.plugin_rpc.get_active_networks_info()
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py", line 521, in get_active_networks_info
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     host=self.host)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 157, in call
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     time.sleep(wait)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     self.force_reraise()
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     six.reraise(self.type_, self.value, self.tb)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 138, in call
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     return self._original_context.call(ctxt, method, **kwargs)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     retry=self.retry)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     timeout=timeout, retry=retry)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     retry=retry)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 453, in _send
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     result = self._waiter.wait(msg_id, timeout)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in wait
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     message = self.waiters.get(msg_id, timeout=timeout)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent     'to message ID %s' % msg_id)
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent MessagingTimeout: Timed out waiting for a reply to message ID eae64a9a7f5a44e0b7336781bbbffc6e
2017-05-17 08:27:59.457 3370 ERROR neutron.agent.dhcp.agent
2017-05-17 08:27:59.479 3370 INFO neutron.agent.dhcp.agent [-] Synchronizing state
2017-05-17 08:27:59.506 3370 INFO neutron.agent.dhcp.agent [req-9ce10cb3-8639-4b9f-ba79-de65d974ff19 - - - - -] DHCP agent started
2017-05-17 08:28:00.471 3370 INFO neutron.agent.dhcp.agent [req-bb64588e-f169-4fb9-bcbf-50b5a58f0d27 - - - - -] All active networks have been fetched through RPC.
2017-05-17 08:28:00.472 3370 INFO neutron.agent.dhcp.agent [-] Starting network 2349eaf0-db68-4ba6-9b20-5fa5a9b2a1e2 dhcp configuration
2017-05-17 08:28:00.473 3370 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.BridgeInterfaceDriver
2017-05-17 08:28:00.508 3370 INFO neutron.agent.dhcp.agent [-] Starting network 51e50140-969e-4050-ad86-8a95fe7c2ff6 dhcp configuration
2017-05-17 08:28:00.509 3370 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.BridgeInterfaceDriver
2017-05-17 08:28:00.539 3370 INFO neutron.agent.dhcp.agent [-] Starting network f0196a12-7e3a-4924-9d3d-7ff822126756 dhcp configuration
2017-05-17 08:28:00.540 3370 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.BridgeInterfaceDriver
2017-05-17 08:28:42.050 3370 INFO neutron.agent.dhcp.agent [-] Finished network 2349eaf0-db68-4ba6-9b20-5fa5a9b2a1e2 dhcp configuration
2017-05-17 08:28:46.356 3370 INFO neutron.agent.dhcp.agent [-] Finished network f0196a12-7e3a-4924-9d3d-7ff822126756 dhcp configuration
2017-05-17 08:28:47.417 3370 INFO neutron.agent.dhcp.agent [-] Finished network 51e50140-969e-4050-ad86-8a95fe7c2ff6 dhcp configuration
2017-05-17 08:28:47.418 3370 INFO neutron.agent.dhcp.agent [req-bb64588e-f169-4fb9-bcbf-50b5a58f0d27 - - - - -] Synchronizing state complete
2017-05-17 08:28:47.418 3370 INFO neutron.agent.dhcp.agent [req-25ca9023-9cc5-4f19-9a07-0ea88a3d1afb - - - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=controller, binding:profile=, binding:vif_details=port_filter=True, binding:vif_type=bridge, binding:vnic_type=normal, created_at=2017-05-09T16:23:38Z, description=, device_id=dhcpd3377d3c-a0d1-5d71-9947-f17125c357bb-f0196a12-7e3a-4924-9d3d-7ff822126756, device_owner=network:dhcp, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'802a82f1-bf0a-429f-9b64-b81a15bf3fb3', u'ip_address': u'10.1.1.130'}, {u'subnet_id': u'1761697c-bff6-41bc-bbc0-4461d7beb17c', u'ip_address': u'10.1.1.2'}, {u'subnet_id': u'88c19814-5d8d-48e0-ab4a-de2b22845709', u'ip_address': u'10.1.2.2'}, {u'subnet_id': u'9442b935-6ab7-4494-9bbb-f29a2e4c4c31', u'ip_address': u'10.2.0.2'}], id=74e37c11-2471-4090-8821-872f1e57ce11, mac_address=fa:16:3e:d9:3e:6a, name=, network_id=f0196a12-7e3a-4924-9d3d-7ff822126756, por
 t_security_enabled=False, project_id=f7cb5ccb60874a73b1c98fb865ccfee2, revision_number=56, security_groups=[], status=BUILD, tenant_id=f7cb5ccb60874a73b1c98fb865ccfee2, updated_at=2017-05-17T07:28:10Z
.
.
.

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

2017-05-17 08:26:24.076 3373 INFO neutron.common.config [-] Logging enabled!
2017-05-17 08:26:24.368 3373 INFO neutron.common.config [-] /usr/bin/neutron-metadata-agent version 9.2.0
2017-05-17 08:26:24.675 3373 INFO oslo_service.service [req-a7c3ffc5-9305-4f3f-8347-5cdc10027067 - - - - -] Starting 1 workers
2017-05-17 08:26:25.302 3670 INFO eventlet.wsgi.server [-] (3670) wsgi starting up on http:/var/lib/neutron/metadata_proxy
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent [-] Failed reporting state!
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent Traceback (most recent call last):
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 262, in _report_state
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     use_call=self.agent_state.get('start_flag'))
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 88, in report_state
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     return method(context, 'report_state', **kwargs)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     retry=self.retry)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     timeout=timeout, retry=retry)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     retry=retry)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 453, in _send
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     result = self._waiter.wait(msg_id, timeout)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in wait
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     message = self.waiters.get(msg_id, timeout=timeout)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent     'to message ID %s' % msg_id)
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent MessagingTimeout: Timed out waiting for a reply to message ID f187c8ebab1a4676874dee95fae0eb3f
2017-05-17 08:27:25.809 3373 ERROR neutron.agent.metadata.agent
2017-05-17 08:27:25.850 3373 WARNING oslo.service.loopingcall [-] Function 'neutron.agent.metadata.agent.UnixDomainMetadataProxy._report_state' run outlasted interval by 31.02 sec
.
.
.

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

2017-05-17 08:26:30.870 3372 INFO neutron.common.config [-] Logging enabled!
2017-05-17 08:26:31.779 3372 INFO neutron.common.config [-] /usr/bin/neutron-l3-agent version 9.2.0
2017-05-17 08:26:33.624 3372 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.BridgeInterfaceDriver
2017-05-17 08:27:33.697 3372 ERROR neutron.common.rpc [req-c09201ca-ed88-45b4-8890-bafa6c3723b5 - - - - -] Timeout in RPC method get_service_plugin_list. Waiting for 39 seconds before next attempt. If the server is not down, consider increasing the rpc_response_timeout option as Neutron server(s) may be overloaded and unable to respond quickly enough.
2017-05-17 08:27:33.697 3372 WARNING neutron.common.rpc [req-c09201ca-ed88-45b4-8890-bafa6c3723b5 - - - - -] Increasing timeout for get_service_plugin_list calls to 120 seconds. Restart the agent to restore it to the default value.
2017-05-17 08:28:12.829 3372 WARNING neutron.agent.l3.agent [req-c09201ca-ed88-45b4-8890-bafa6c3723b5 - - - - -] l3-agent cannot contact neutron server to retrieve service plugins enabled. Check connectivity to neutron server. Retrying... Detailed message: Timed out waiting for a reply to message ID d51c6cb4584a4f9ba5fd707a48f1154b.
2017-05-17 08:28:12.857 3372 INFO neutron.agent.agent_extensions_manager [req-87b2760c-4ddd-41d0-9cae-bafb76079e84 - - - - -] Loaded agent extensions: []
2017-05-17 08:28:12.934 3372 INFO eventlet.wsgi.server [-] (3372) wsgi starting up on http:/var/lib/neutron/keepalived-state-change
2017-05-17 08:28:12.935 3372 INFO neutron.agent.l3.agent [-] Agent has just been revived. Doing a full sync.
2017-05-17 08:28:12.960 3372 INFO neutron.agent.l3.agent [-] L3 agent started
.
.
.

So to recapitulate, every day : 1/ I launch my nodes 2/ I launch my instances 3/ Instances don't get ip address 4/ I restart the neutron-linuxbridge-agent on the controller node 5/ In every instance, I have to do ifdown and ifup to the network interface 6/ Instances finally get ip address

This is really annoying, I want to know what the problem is and solve it for good.