[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Mauricio Faria de Oliveira
1994521 at bugs.launchpad.net
Fri Apr 19 15:48:02 UTC 2024
Hi Seyeong,
Thanks for the patches!
In the future, could you please add DEP-3 headers [1] to them?
(usually just 'Bug-Ubuntu:'/'Origin:' are needed on git patches)
Also, it's a good practice to name the patch files with the bug
prefix (this is style, not requirement, but it helps when there
is multiple bugs per upload, and with maintenance over time).
I have handled these in this upload, as the changes are minor.
Thanks again!
[1] https://dep-team.pages.debian.net/deps/dep3/
$ head -n2 debian/patches/lp1994521-*
==> debian/patches/lp1994521-0001-HPE-3PAR-Fix-umanaged-volumes-snapshots-missing.patch <==
Bug-Ubuntu: http://bugs.launchpad.net/bugs/1994521
Origin: https://review.opendev.org/c/openstack/cinder/+/907257
==> debian/patches/lp1994521-0002-3PAR-Error-out-if-vol-cannot-be-converted-to-base.patch <==
Bug-Ubuntu: http://bugs.launchpad.net/bugs/1994521
Origin: https://review.opendev.org/c/openstack/cinder/+/907258
** Description changed:
[Impact]
The customer faced issue when they are using nova with 3par storage.
they can't delete volume if there is children and it is attached to vm.
it makes sense they can't delete it as the children has attachment but
nova should expose proper error when trying deletion.
[Test Case]
- Haven't tested this as there is no test 3par storage.
+
+ The customer has the required hardware for testing this.
+
Volume->Snapshot->Volume2
Volume2 is attached to some VM.
and can't delete Volume without proper error msg.
[Where problems could occur]
This is related to hpe3par storage.
snapshot handling could be issue with this patch.
deleting volume could be issue with this patch.
[Others]
Original Desc
When we try to delete a snapshot, we flatten it's dependent volumes by copying them to a new volume and deleting the original one.
We fail to copy the volume when it has children and it is not handled in the code.
: hpe3parclient.exceptions.HTTPConflict: Conflict (HTTP 409) 32 - volume
has a child
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1994521
Title:
HPE3PAR: Failing to clone a volume having children
Status in Cinder:
Fix Released
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive antelope series:
Triaged
Status in Ubuntu Cloud Archive bobcat series:
Fix Released
Status in Ubuntu Cloud Archive yoga series:
In Progress
Status in cinder package in Ubuntu:
Fix Released
Status in cinder source package in Jammy:
In Progress
Status in cinder source package in Mantic:
Fix Released
Status in cinder source package in Noble:
Fix Released
Bug description:
[Impact]
The customer faced issue when they are using nova with 3par storage.
they can't delete volume if there is children and it is attached to vm.
it makes sense they can't delete it as the children has attachment but
nova should expose proper error when trying deletion.
[Test Case]
The customer has the required hardware for testing this.
Volume->Snapshot->Volume2
Volume2 is attached to some VM.
and can't delete Volume without proper error msg.
[Where problems could occur]
This is related to hpe3par storage.
snapshot handling could be issue with this patch.
deleting volume could be issue with this patch.
[Others]
Original Desc
When we try to delete a snapshot, we flatten it's dependent volumes by copying them to a new volume and deleting the original one.
We fail to copy the volume when it has children and it is not handled in the code.
: hpe3parclient.exceptions.HTTPConflict: Conflict (HTTP 409) 32 -
volume has a child
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list