When I deploy nova with a shared storage and with neutron/ML2/linuxbridge, I have an error when I want to to use "nova evacuate"
command :
# nova evacuate 1fa486f3-259c-4e1e-ae82-8b52606f1efd devstack2 --on-shared-storage
here are the logs on the compute node (devstack2) which will host the VM after the evacuation:
2014-02-25 16:08:39.918 ERROR nova.compute.manager [req-8307b6e1-b6ee-423e-9baf-d05a0ac5e91d admin admin] [ins
tance:
1fa486f3-259c-4e1e-ae82-8b52606f1efd] Setting instance vm_state to ERROR
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] Traceback (most recent call last):
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/compute/manager.py", line 5261, in _error_out_instance_on_exception
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] yield
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/compute/manager.py", line 2267, in rebuild_instance
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] extra_usage_info=extra_usage_info)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/conductor/api.py", line 271, in notify_usage_exists
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] system_metadata, extra_usage_info)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/conductor/rpcapi.py", line 428, in notify_usage_exists
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] extra_usage_info=extra_usage_info_p)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/rpc/client.py", line 150, in call
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] wait_for_reply=True, timeout=timeout)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/transport.py", line 87, in _send
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] timeout=timeout)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py", line 393, in send
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] return self._send(target, ctxt, message, wait_for_reply, timeout)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py", line 386, in _send
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] raise result
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] TypeError: 'NoneType' object is not iterable
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] Traceback (most recent call last):
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] incoming.message))
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] return self._do_dispatch(endpoint, method, ctxt, args)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] result = getattr(endpoint, method)(ctxt, **new_args)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/conductor/manager.py", line 502, in notify_usage_exists
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] system_metadata, extra_usage_info)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/compute/utils.py", line 276, in notify_usage_exists
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] ignore_missing_network_data)
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] File "/opt/stack/nova/nova/notifications.py", line 288, in bandwidth_usage
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] macs = [vif['address'] for vif in nw_info]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd] TypeError: 'NoneType' object is not iterable
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
2014-02-25 16:08:39.918 12410 TRACE nova.compute.manager [instance: 1fa486f3-259c-4e1e-ae82-8b52606f1efd]
Error message from nova conductor
2014-03-14 16:12:20.972 15060 ERROR nova.notifications [req-c0bf13ea- db7f-43ee- bef4-dcf176fcc8 5a 32572797748d473 7908ee5e091b589 82 0db3961ebbaf4dc a9a111079e1c85 2907-4294- a103-85e6d4081e f1] Failed to get nw_info 2907-4294- a103-85e6d4081e f1] Traceback (most recent call last): 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/notificati ons.py" , line 267, in _get_nwinfo_ old_skool 2907-4294- a103-85e6d4081e f1] instance_ref) 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/network/ api.py" , line 48, in wrapper 2907-4294- a103-85e6d4081e f1] res = f(self, context, *args, **kwargs) 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/network/ neutronv2/ api.py" , line 456, in get_instance_ nw_info 2907-4294- a103-85e6d4081e f1] port_ids) 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/network/ neutronv2/ api.py" , line 465, in _get_instance_ nw_info 2907-4294- a103-85e6d4081e f1] port_ids) 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/network/ neutronv2/ api.py" , line 1085, in _build_ network_ info_model 2907-4294- a103-85e6d4081e f1] context, instance, networks, port_ids) 2907-4294- a103-85e6d4081e f1] File "/home/ os/work- code/nova/ nova/network/ neutronv2/ api.py" , line 480, in _gather_ port_ids_ and_networks 2907-4294- a103-85e6d4081e f1] if isinstance( instance[ 'info_cache' ]['network_ info'], six.text_type): 2907-4294- a103-85e6d4081e f1] KeyError: 'info_cache' 2907-4294- a103-85e6d4081e f1] rpc.dispatcher [-] Exception during message handling: 'NoneType' object is not iterable
766] [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.972 15060 TRACE nova.notifications [instance: 00d927b8-
2014-03-14 16:12:20.973 15060 ERROR oslo.messaging.