migrate attached volume fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Migrating an attached volume from one host to another doesn't work.
Steps to reproduce:
1. Create a volume
2. Attach to a host
3. Migrate the volume to another host.
Actual results:
1. Volume still on original host
2. A New volume is created also on the original host
3. No errors noticed in the c-vol log file.
master+* ± cinder migrate d862ea9d-
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 1db2976f-
| d862ea9d-
+------
master+* ± cinder show 1db2976f-
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-02-
| display_description | |
| display_name | my_vol |
| id | 1db2976f-
| metadata | {} |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| volume_type | None |
+------
cinder show d862ea9d-
+------
| Property | Value |
+------
| attachments | [{u'device': u'/dev/vdb', u'server_id': u'826709db-
| availability_zone | nova |
| bootable | false |
| created_at | 2014-02-
| display_description | |
| display_name | my_vol |
| id | d862ea9d-
| metadata | {u'readonly': u'False', u'attached_mode': u'rw'} |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | in-use |
| volume_type | None |
+------
tags: | added: migration |
May be duplicate of https:/ /bugs.launchpad .net/cinder/ +bug/1278289
Awaiting confirmation from Avishay.