block live migration fails because of NoValidHost: No valid host was found [closed]

asked 2018-08-20 23:23:26 -0500

I am try to perform a live block migration(using devstack/queens on ubuntu16.04) from a controller node to a compute node, I am able to create instances on both nodes.However, when I performnova live-migration --block-migrate 9f2e845c-4283-4ba2-ab4e-b9046be813ca 52-0456207-03,the instance still appears on the original host,when I check var/log/syslog there appears to be the following error:

Aug 21 10:37:30 localhost nova-conductor[948]: #033[01;33mWARNING nova.scheduler.utils [#033[01;36mNone req-582ec383-e1f8-4a88-8700-b902a41fe80b #033[00;36madmin admin#033[01;33m] #033[01;35m[instance: d0f0e351-191f-4188-a930-dd0e152a4328] #033[01;33mSetting instance to ACTIVE state.#033[00m: NoValidHost_Remote: No valid host was found. There are not enough hosts available.
Aug 21 10:37:30 localhost neutron-openvswitch-agent[883]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [#033[01;36mNone req-564701db-a7b6-4192-a1bd-f391244d97c3 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAgent rpc_loop - iteration:295 started#033[00m #033[00;33m{{(pid=883) rpc_loop /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1996}}#033[00m
Aug 21 10:37:30 localhost dstat.sh[951]: 21-08 10:37:30| 46   7  40   6   0   2|4653M 55.7M  486M  772M| 118B  308B|   0   384k|   0  60.0 |2178  4988 |0.29 0.88 0.81|1.0   0   0|   0     0 |nova-apiuWSGI worker 21778 7.0%4032B6851B|bash                  2837 9350k 143k  0%|qemu-system- 464M|   0   980M| 23 339   0  52   0
Aug 21 10:37:30 localhost neutron-openvswitch-agent[883]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch [#033[01;36mNone req-564701db-a7b6-4192-a1bd-f391244d97c3 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mofctl request version=0x4,msg_type=0x12,msg_len=0x38,xid=0x68d5adef,OFPFlowStatsRequest(cookie=0,cookie_mask=0,flags=0,match=OFPMatch(oxm_fields={}),out_group=4294967295,out_port=4294967295,table_id=23,type=1) result [OFPFlowStatsReply(body=[OFPFlowStats(byte_count=0,cookie=5374324466347495711,duration_nsec=344000000,duration_sec=596,flags=0,hard_timeout=0,idle_timeout=0,instructions=[],length=56,match=OFPMatch(oxm_fields={}),packet_count=0,priority=0,table_id=23)],flags=0,type=1)]#033[00m #033[00;33m{{(pid=883) _send_msg /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py:99}}#033[00m
Aug 21 10:37:30 localhost neutron-openvswitch-agent[883]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [#033[01;36mNone req-564701db-a7b6-4192-a1bd-f391244d97c3 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAgent rpc_loop - iteration:295 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 0}}. Elapsed:0.003#033[00m #033[00;33m{{(pid=883) loop_count_and_wait /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1815}}#033[00m

Aug 21 10:37:30 localhost nova-conductor[948]: #033[01;31mERROR oslo_messaging.rpc.server [#033[01;36mNone req-582ec383-e1f8-4a88-8700-b902a41fe80b #033[00;36madmin admin#033[01;31m] #033[01;35m#033[01;31mException during message handling#033[00m: NoValidHost_Remote: No valid host was found. There are not enough hosts available.
Aug 21 10:37:30 localhost nova-conductor[948]: Traceback (most recent call last):
Aug 21 10:37 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by kevinting0325
close date 2018-08-23 21:05:18.396366