[Openstack-operators] Cinder LVM volumes and Icehouse->Kilo migration

Leslie-Alexandre DENIS contact at ladenis.fr
Thu Aug 13 08:51:36 UTC 2015


Hi guys,

I'm facing a problem with Cinder version openstack-cinder-2014.1.3-1 which doesn't let me migrate a volume from one LVM backend to another LVM.
I'm doing this simple task:

- cinder create lad-test-02 20
- cinder migrate lad-test-02 newcinderhost050

The logs show that the process begins, the iSCI target is created and the LV too on the new host.
Unfortunately the old target/LV persists, it isn't deleted...

A Cinder list shows:

| 0f70ccb6-85ba-4726-bda8-4051b68e943e | available | lad-test-02 | 20 | None | false |
| 239bab9d-a70c-470e-ad13-9100946d8ca7 | available | lad-test-02 | 20 | None | false |

tgtd-admin -s and lvs, issued on the old and the new Cinder hosts, demonstrate that the two volumes are present and running at this level.

If i try to delete it:

cinder delete 0f70ccb6-85ba-4726-bda8-4051b68e943e
Delete for volume 0f70ccb6-85ba-4726-bda8-4051b68e943e failed: Internal Server Error (HTTP 500)
ERROR: Unable to delete any of the specified volumes.

cinder delete 239bab9d-a70c-470e-ad13-9100946d8ca7
Delete for volume 239bab9d-a70c-470e-ad13-9100946d8ca7 failed: Internal Server Error (HTTP 500)
ERROR: Unable to delete any of the specified volumes.

The consistency of the two volumes isn't ensured anymore and my two volumes are unusable at the OpenStack level.

So, in a word, my point is, how do you manage LVM volumes migration between your Cinders and how do you upgrade OpenStack Cinder nodes with used volumes on it ?

Any help would be great,
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150813/fa3152ba/attachment.html>


More information about the OpenStack-operators mailing list