[Storwize_SVC]Retype operation failure for GMCV due to update_clean_rate

Bug #1967481 reported by Prajakta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Wishlist
Unassigned
Yoga
New
Medium
Unassigned

Bug Description

Cinder Version - Yoga

Cinder Backend - IBM Storwize_SVC

Retype GMCV operations are failing for below scenarios
1)Retype a GMCV volume from gmcv-type to non-rep-type
2)Retype a GMCV 'in-use' volume from gmcv-type to non-rep-type
3)Retype a in-use GMCV volume with qos io throttling unit 'iops' to other
possible volume types with different qos io throttling units
4)Retype a in-use GMCV rep volume with qos io throttling unit 'iops_per_gb'
to other possible volume types with different qos io throttling units
5)Retype a in-use GMCV volume with qos io throttling unit 'mbps' to other
possible volume types with different qos io throttling units

Below is the command executed in storage and error received :
IBM_Storwize:os2076:superuser>svctask chfcmap -cleanrate 50 -autodelete on 455
CMMVC7154E The task cannot be completed because the specified FlashCopy mapping is controlled by a Metro Mirror or Global Mirror relationship.

The error msg is being invoked from update_clean_rate function in Retype operation in Storwize_SVC_Common.py(Lines 5585 , 2280,687).

Error msg in Cinder Volume logs -
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager rep_type = self._get_volume_replicated_type(ctxt, new_volume)
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py", line 2289, in update_clean_rate
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager raise exception.InvalidInput(
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py", line 687, in chfcmap
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager self.run_ssh_assert_no_output(ssh_cmd)

Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager raise exception.VolumeBackendAPIException(data=msg)
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: CLI Exception output:
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager command: ['svctask', 'chfcmap', '-cleanrate', '50', '-autodelete', 'on', '455']
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager stdout:
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager stderr: CMMVC7154E The task cannot be completed because the specified FlashCopy mapping is controlled by a Metro Mirror or Global Mirror relationship.
Mar 30 16:48:37 altranvm1 cinder-volume[844443]: ERROR cinder.volume.manager .

Tags: gmcv storwize svc
tags: added: cinder
tags: added: gmcv storwize svc
removed: cinder
Changed in cinder:
importance: Undecided → Wishlist
summary: - Retype operation failure for GMCV due to update_clean_rate
+ [Storwize_SVC]Retype operation failure for GMCV due to update_clean_rate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.