It seems that new attachment details are OK but in the volume details metadata is lost:
Attachments details before live migration:
{"attachment": {"status": "attached", "detached_at": "", "connection_info": {"attachment_id": "52113892-d425-4686-ac09-cce6b8529f17", "encrypted": false, "driver_volume_type": "rbd", "secret_uuid": "2eee3a45-5bbd-48c6-b940-6c0b67dc8347", "qos_specs": null, "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "auth_username": "cinder", "secret_type": "ceph", "name": "volumes/volume-4394bec9-3b87-4a6e-b977-cb56719b0d2a", "keyring": null, "cluster_name": "ceph", "auth_enabled": true, "hosts": ["192.168.12.21", "192.168.12.22", "192.168.12.23"], "discard": true, "access_mode": "rw", "ports": ["6789", "6789", "6789"]}, "attached_at": "2018-07-25T05:17:47.000000", "attach_mode": "rw", "instance": "ff97a18d-cf12-4133-9df1-ee22a7304fc7", "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "id": "52113892-d425-4686-ac09-cce6b8529f17"}}
Attachments details after live migration:
{"attachment": {"status": "attached", "detached_at": "", "connection_info": {"attachment_id": "8d229721-a25e-48ea-b4b9-39a2c90611ab", "encrypted": false, "driver_volume_type": "rbd", "secret_uuid": "2eee3a45-5bbd-48c6-b940-6c0b67dc8347", "qos_specs": null, "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "auth_username": "cinder", "secret_type": "ceph", "name": "volumes/volume-4394bec9-3b87-4a6e-b977-cb56719b0d2a", "keyring": null, "cluster_name": "ceph", "auth_enabled": true, "hosts": ["192.168.12.21", "192.168.12.22", "192.168.12.23"], "discard": true, "access_mode": "rw", "ports": ["6789", "6789", "6789"]}, "attached_at": "2018-07-25T05:53:52.000000", "attach_mode": "rw", "instance": "ff97a18d-cf12-4133-9df1-ee22a7304fc7", "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "id": "8d229721-a25e-48ea-b4b9-39a2c90611ab"}}
Volume details before live migration:
{"volume": {"migration_status": null, "attachments": [{"server_id": "ff97a18d-cf12-4133-9df1-ee22a7304fc7", "attachment_id": "52113892-d425-4686-ac09-cce6b8529f17", "attached_at": "2018-07-25T05:17:47.000000", "host_name": "compute-2", "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "device": "/dev/vdb", "id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a"}], "links": [{"href": "https://10.7.25.34:8776/v3/b742e570d76d496e8d3d0cca8f2f039a/volumes/4394bec9-3b87-4a6e-b977-cb56719b0d2a", "rel": "self"}, {"href": "https://10.7.25.34:8776/b742e570d76d496e8d3d0cca8f2f039a/volumes/4394bec9-3b87-4a6e-b977-cb56719b0d2a", "rel": "bookmark"}], "availability_zone": "nova", "os-vol-host-attr:host": "controller-2@rbd#volumes_hdd", "encrypted": false, "updated_at": "2018-07-25T05:17:49.000000", "replication_status": null, "snapshot_id": null, "id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "size": 1, "user_id": "545682b2c9b7466694bca136518a4568", "os-vol-tenant-attr:tenant_id": "b742e570d76d496e8d3d0cca8f2f039a", "os-vol-mig-status-attr:migstat": null, "metadata": {"attached_mode": "rw"}, "status": "in-use", "description": "", "multiattach": false, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, "name": "test_vol", "bootable": "false", "created_at": "2018-07-20T06:16:14.000000", "volume_type": null}}
Volume details after live migration:
{"volume": {"migration_status": null, "attachments": [{"server_id": "ff97a18d-cf12-4133-9df1-ee22a7304fc7", "attachment_id": "8d229721-a25e-48ea-b4b9-39a2c90611ab", "attached_at": "2018-07-25T05:53:52.000000", "host_name": "compute-1", "volume_id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "device": "/dev/vdb", "id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a"}], "links": [{"href": "https://10.7.25.34:8776/v3/b742e570d76d496e8d3d0cca8f2f039a/volumes/4394bec9-3b87-4a6e-b977-cb56719b0d2a", "rel": "self"}, {"href": "https://10.7.25.34:8776/b742e570d76d496e8d3d0cca8f2f039a/volumes/4394bec9-3b87-4a6e-b977-cb56719b0d2a", "rel": "bookmark"}], "availability_zone": "nova", "os-vol-host-attr:host": "controller-2@rbd#volumes_hdd", "encrypted": false, "updated_at": "2018-07-25T05:54:26.000000", "replication_status": null, "snapshot_id": null, "id": "4394bec9-3b87-4a6e-b977-cb56719b0d2a", "size": 1, "user_id": "545682b2c9b7466694bca136518a4568", "os-vol-tenant-attr:tenant_id": "b742e570d76d496e8d3d0cca8f2f039a", "os-vol-mig-status-attr:migstat": null, "metadata": {}, "status": "in-use", "description": "", "multiattach": false, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, "name": "test_vol", "bootable": "false", "created_at": "2018-07-20T06:16:14.000000", "volume_type": null}}
It seems that new attachment details are OK but in the volume details metadata is lost:
Attachments details before live migration:
{"attachment": {"status": "attached", "detached_at": "", "connection_info": {"attachment_id": "52113892- d425-4686- ac09-cce6b8529f 17", "encrypted": false, "driver_ volume_ type": "rbd", "secret_uuid": "2eee3a45- 5bbd-48c6- b940-6c0b67dc83 47", "qos_specs": null, "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "auth_username": "cinder", "secret_type": "ceph", "name": "volumes/ volume- 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "keyring": null, "cluster_name": "ceph", "auth_enabled": true, "hosts": ["192.168.12.21", "192.168.12.22", "192.168.12.23"], "discard": true, "access_mode": "rw", "ports": ["6789", "6789", "6789"]}, "attached_at": "2018-07- 25T05:17: 47.000000" , "attach_mode": "rw", "instance": "ff97a18d- cf12-4133- 9df1-ee22a7304f c7", "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "id": "52113892- d425-4686- ac09-cce6b8529f 17"}}
Attachments details after live migration:
{"attachment": {"status": "attached", "detached_at": "", "connection_info": {"attachment_id": "8d229721- a25e-48ea- b4b9-39a2c90611 ab", "encrypted": false, "driver_ volume_ type": "rbd", "secret_uuid": "2eee3a45- 5bbd-48c6- b940-6c0b67dc83 47", "qos_specs": null, "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "auth_username": "cinder", "secret_type": "ceph", "name": "volumes/ volume- 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "keyring": null, "cluster_name": "ceph", "auth_enabled": true, "hosts": ["192.168.12.21", "192.168.12.22", "192.168.12.23"], "discard": true, "access_mode": "rw", "ports": ["6789", "6789", "6789"]}, "attached_at": "2018-07- 25T05:53: 52.000000" , "attach_mode": "rw", "instance": "ff97a18d- cf12-4133- 9df1-ee22a7304f c7", "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "id": "8d229721- a25e-48ea- b4b9-39a2c90611 ab"}}
Volume details before live migration:
{"volume": {"migration_ status" : null, "attachments": [{"server_id": "ff97a18d- cf12-4133- 9df1-ee22a7304f c7", "attachment_id": "52113892- d425-4686- ac09-cce6b8529f 17", "attached_at": "2018-07- 25T05:17: 47.000000" , "host_name": "compute-2", "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "device": "/dev/vdb", "id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a"}], "links": [{"href": "https:/ /10.7.25. 34:8776/ v3/b742e570d76d 496e8d3d0cca8f2 f039a/volumes/ 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "rel": "self"}, {"href": "https:/ /10.7.25. 34:8776/ b742e570d76d496 e8d3d0cca8f2f03 9a/volumes/ 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "rel": "bookmark"}], "availability_ zone": "nova", "os-vol- host-attr: host": "controller- 2@rbd#volumes_ hdd", "encrypted": false, "updated_at": "2018-07- 25T05:17: 49.000000" , "replication_ status" : null, "snapshot_id": null, "id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "size": 1, "user_id": "545682b2c9b746 6694bca136518a4 568", "os-vol- tenant- attr:tenant_ id": "b742e570d76d49 6e8d3d0cca8f2f0 39a", "os-vol- mig-status- attr:migstat" : null, "metadata": {"attached_mode": "rw"}, "status": "in-use", "description": "", "multiattach": false, "source_volid": null, "consistencygro up_id": null, "os-vol- mig-status- attr:name_ id": null, "name": "test_vol", "bootable": "false", "created_at": "2018-07- 20T06:16: 14.000000" , "volume_type": null}}
Volume details after live migration:
{"volume": {"migration_ status" : null, "attachments": [{"server_id": "ff97a18d- cf12-4133- 9df1-ee22a7304f c7", "attachment_id": "8d229721- a25e-48ea- b4b9-39a2c90611 ab", "attached_at": "2018-07- 25T05:53: 52.000000" , "host_name": "compute-1", "volume_id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "device": "/dev/vdb", "id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a"}], "links": [{"href": "https:/ /10.7.25. 34:8776/ v3/b742e570d76d 496e8d3d0cca8f2 f039a/volumes/ 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "rel": "self"}, {"href": "https:/ /10.7.25. 34:8776/ b742e570d76d496 e8d3d0cca8f2f03 9a/volumes/ 4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "rel": "bookmark"}], "availability_ zone": "nova", "os-vol- host-attr: host": "controller- 2@rbd#volumes_ hdd", "encrypted": false, "updated_at": "2018-07- 25T05:54: 26.000000" , "replication_ status" : null, "snapshot_id": null, "id": "4394bec9- 3b87-4a6e- b977-cb56719b0d 2a", "size": 1, "user_id": "545682b2c9b746 6694bca136518a4 568", "os-vol- tenant- attr:tenant_ id": "b742e570d76d49 6e8d3d0cca8f2f0 39a", "os-vol- mig-status- attr:migstat" : null, "metadata": {}, "status": "in-use", "description": "", "multiattach": false, "source_volid": null, "consistencygro up_id": null, "os-vol- mig-status- attr:name_ id": null, "name": "test_vol", "bootable": "false", "created_at": "2018-07- 20T06:16: 14.000000" , "volume_type": null}}