storwize delete clone volume failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
IBM Storage |
Bug Description
Steps to reproduce:
Clone volume-1 to volume-2
Clone volume-2 to volume-3
Delete volume-2
Volume-2 then goes into the error state.
2017-02-06 12:23:42.342 53954 ERROR cinder.
Command: svctask rmfcmap -force 1
Exit code: 1
Stdout: u''
Stderr: u'CMMVC6318E The FlashCopy mapping could not be deleted because the source volume is required by other maps.\n'
2017-02-06 12:23:43.204 53954 ERROR cinder.
2017-02-06 12:23:43.205 53954 WARNING cinder.
2017-02-06 12:23:43.206 53954 ERROR cinder.
2017-02-06 12:23:43.206 53954 ERROR cinder.
command: ['svctask', 'rmfcmap', '-force', u'1']
stdout:
stderr: CMMVC6318E The FlashCopy mapping could not be deleted because the source volume is required by other maps.
.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:43.207 53954 ERROR oslo.service.
2017-02-06 12:23:48.226 53954 INFO powervc_
command: ['svctask', 'rmfcmap', '-force', u'1']
stdout:
stderr: CMMVC6318E The FlashCopy mapping could not be deleted because the source volume is required by other maps.
. occurred. Retry in progress...
2017-02-06 12:23:49.233 53954 ERROR cinder.
Command: svctask rmfcmap -force 1
Exit code: 1
Stdout: u''
Changed in cinder: | |
assignee: | nobody → IBM Storage (ibm-storage) |
Hi Gerald, we plan to provide an option just like force_delete in volume_type, so the user can choose whether to force delete the volume. The way it behaves just like the storwize GUI. If there is host-mapping, flashcoppy and the force-delete is not set, the delete will be fail. If the force-delete is set the volume will be deleted by force. Hoe do you think about it?