[IBM Storwize SVF]:mkvdisk fails with name length issue while creating auxiliary change volume

Bug #1926946 reported by Preeti duhan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Medium
Amar

Bug Description

Volume backend: SVC

Bug:-

Steps:
1)Create GMCV(global mirror change volume) volume.(chg_aux_volume-test_maha_1-1422a0c1-00000009-boot-0-98bb35fc-be2d)

mkvdisk fails with name length issue while creating auxiliary change volume

Unable to create GMCV volumes since the name of volume is exceeding the limit of characters
Error:
An error occurred while performing a storage operation for the volume chg_aux_volume-test_maha_1-1422a0c1-00000009-boot-0-98bb35fc-be2d. Explanation: Volume driver reported an error: Unable to set up gmcv mode replication for 377bf597-aae3-4e13-8548-4f622c70cb95. Exception: Bad or unexpected response from the storage volume backend API: CLI Exception output: command: ['svctask', 'mkvdisk', '-name', '

Reason :-

We used to consider the default vref['name'] that we get from (<class 'cinder.objects.volume.Volume'> ), But if we use a custom-name template(i.e,being defined at cinder.CONF) rather to default-name.

Only the "target_change_vol_name" is the only variable prone to exceed the supported limit of our storage(i.e 63 characters).

Amar (amar7ibm)
Changed in cinder:
assignee: nobody → Amar (amar7ibm)
status: New → Incomplete
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/790910

Amar (amar7ibm)
Changed in cinder:
status: In Progress → Fix Committed
Amar (amar7ibm)
summary: - mkvdisk fails with name length issue while creating auxiliary change
- volume
+ [SVF]mkvdisk fails with name length issue while creating auxiliary
+ change volume
summary: - [SVF]mkvdisk fails with name length issue while creating auxiliary
+ [SVF]:mkvdisk fails with name length issue while creating auxiliary
change volume
Amar (amar7ibm)
Changed in cinder:
status: Fix Committed → In Progress
summary: - [SVF]:mkvdisk fails with name length issue while creating auxiliary
- change volume
+ [IBM Storwize SVF]:mkvdisk fails with name length issue while creating
+ auxiliary change volume
Changed in cinder:
importance: Undecided → Medium
tags: added: gmcv ibm mkvdisk storwize svf
Amar (amar7ibm)
description: updated
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.