Storwize: update_migrated_volume() fails to find source name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Carl Pecinovsky |
Bug Description
When using retype to migrate a volume from one type to a Storwize driver volume type, the update_
2017-09-07 14:06:43.601 21819 ERROR cinder.
Command: svctask chvdisk -name volume-
Exit code: 1
Stdout: u''
Stderr: u'CMMVC5753E The specified object does not exist or is not a suitable candidate.\n': ProcessExecutio
The reason is that the implementation assumes the current backend volume name is based on a configuration property. In our case it no longer is based on the format of the config property:
Also, the "original volume" can be coming from a completely different backend type with a config property that is different from the Storwize drivers. For greatest applicability, I don't see a downside to changing the code to (?):
That seems to do the proper thing in my testing.
Changed in cinder: | |
assignee: | nobody → IBM Storage (ibm-storage) |
tags: | added: drivers storwize |
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
assignee: | IBM Storage (ibm-storage) → Carl Pecinovsky (csky) |
Fix proposed to branch: master /review. openstack. org/533754
Review: https:/