Ask Your Question
2

icehouse block live migration failed

asked 2014-09-17 10:43:07 -0500

tex gravatar image

updated 2014-09-17 10:57:23 -0500

mpetason gravatar image

I am not able to successfully migrate (block live migration) an instance with Icehouse. My configuration is: 1 controller node 1 network node(neutron) 2 compute node 1 Netapp FAS storage connected via cinder ISCSI driver.

The instance runs on compute1/2 with disk volume on Netapp storage via iscsi. The compute node doesn't have any shared storage.

The instance boots fine, without any network or storage problem.

But when I execute nova migrate --block-migrate c9528394-fc21-4723-a013-49bcc0dd7e88 to migrate an instance from compute1 to compute2, the migration fails with the following errors:

Compute1's nova-compute.log

2014-09-17 16:35:12.981 3642 DEBUG nova.network.api [req-60ab927d-0eb7-4e2b-91c7-0b29dfe609f4 bf35a928a73448b0ad813e055b4f047b f092138a45634523b5d7b7f54bf533b5] Updating cache with info: [VIF({'ovs_interfaceid': u'87411fcf-4521-4a18-aac7-3a1019c252a5', 'network': Network({'bridge': 'br-int', 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [IP({'meta': {}, 'version': 4, 'type': 'floating', 'address': u'10.0.0.154'})], 'address': u'192.168.150.4'})], 'version': 4, 'meta': {'dhcp_server': u'192.168.150.3'}, 'dns': [], 'routes': [], 'cidr': u'192.168.150.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'192.168.150.1'})})], 'meta': {'injected': False, 'tenant_id': u'4ff81345c14043bda48502b5680e04ad'}, 'id': u'5e81032a-0d89-47ca-a8ad-8ff71f3c9b39', 'label': u'demo-net'}), 'devname': u'tap87411fcf-45', 'qbh_params': None, 'meta': {}, 'details': {u'port_filter': True, u'ovs_hybrid_plug': True}, 'address': u'fa:16:3e:2d:6f:70', 'active': False, 'type': u'ovs', 'id': u'87411fcf-4521-4a18-aac7-3a1019c252a5', 'qbg_params': None})] update_instance_cache_with_nw_info /usr/lib/python2.7/site-packages/nova/network/api.py:75
2014-09-17 16:35:13.046 3642 ERROR nova.virt.libvirt.driver [-] [instance: c9528394-fc21-4723-a013-49bcc0dd7e88] During wait destroy, instance disappeared.
2014-09-17 16:35:13.048 3642 DEBUG nova.virt.libvirt.vif [req-60ab927d-0eb7-4e2b-91c7-0b29dfe609f4 bf35a928a73448b0ad813e055b4f047b f092138a45634523b5d7b7f54bf533b5] vif_type=ovs instance={u'vm_state': u'active', u'internal_id': None, u'availability_zone': u'nova', u'terminated_at': None, u'ephemeral_gb': 0, u'instance_type_id': 2, u'user_data': None, u'cleaned': 1, u'vm_mode': None, u'deleted_at': None, u'reservation_id': u'r-4zj5qwdj', u'id': 14, u'security_groups': [], u'disable_terminate': False, u'root_device_name': u'/dev/vda', u'user_id': u'a6dee00d7b91443a811e4383a2b00121', u'uuid': u'c9528394-fc21-4723-a013-49bcc0dd7e88', u'default_swap_device': None, u'info_cache': {u'instance_uuid': u'c9528394-fc21-4723-a013-49bcc0dd7e88', u'deleted': 0, u'created_at': u'2014-09-17T10:01:30.000000', u'updated_at': u'2014-09-17T13:55:29.000000', u'network_info': u'[{"ovs_interfaceid": "87411fcf-4521-4a18-aac7-3a1019c252a5", "network": {"bridge": "br-int", "subnets": [{"ips": [{"meta": {}, "version": 4, "type": "fixed", "floating_ips": [{"meta": {}, "version": 4, "type": "floating", "address": "10.0.0.154"}], "address": "192.168.150.4"}], "version": 4, "meta": {"dhcp_server": "192.168.150.3"}, "dns": [], "routes": [], "cidr": "192.168.150.0/24", "gateway": {"meta": {}, "version": 4, "type": "gateway", "address": "192.168.150.1"}}], "meta": {"injected": false, "tenant_id": "4ff81345c14043bda48502b5680e04ad"}, "id": "5e81032a-0d89-47ca-a8ad-8ff71f3c9b39", "label": "demo-net"}, "devname": "tap87411fcf-45", "qbh_params": null, "meta": {}, "details": {"port_filter": true, "ovs_hybrid_plug": true}, "address": "fa:16:3e:2d:6f:70", "active": false, "type": "ovs", "id": "87411fcf-4521-4a18-aac7-3a1019c252a5", "qbg_params": null}]', u'deleted_at': None, u'id': 14}, u'hostname': u'demo1', u'launched_on': u'compute2', u'display_description': u'demo1', u'key_data': u'ssh-rsa AAAAB3Nza
    C1yc2EAAAADAQABAAABAQDJ/WPXeIYAE18Vv0ZD+EkDgzQsRRlsi+b6XlEVt7DH7EGAAaby7hwCYfotNExcBXvL3dWNMmW34bR/kzgB8Z7ncDtdZoLH/puWiAadiJJZiOLW4cOKho3QeSQ3Ba9o1STfo+PCiuCu9Kwse4ZPn5P/I/vmHDDHT6Hm2tFFiEMBmkwd4VsO8u869zKnKclBk3sezW2l87+mJshFg12YIp0VM9
    E1aI9t0Mo6+oQsqtIQeQVHtM3+EW+IuIqzKCdSDjx2P4b57T+C1XL61nc8zdH3ZB2Lba2Gv/eHs2UvZrlDpGI7ZtgXTzjcZyB7U3PwcudpdfPSQc7v6lgx5RjZVyZF root@controller\n', u'deleted': 0, u'config_drive': u'', u'power_state': 1, u'default_ephemeral_device': None,u'progress ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-06 11:43:39 -0500

I think you need to use the 'live-migration' command instead of just 'migrate'

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: 2014-09-17 10:43:07 -0500

Seen: 197 times

Last updated: Sep 17 '14