[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Seyeong Kim
1994521 at bugs.launchpad.net
Fri May 10 07:04:11 UTC 2024
verified for jammy
deployed 3par simulator and simple cinder & cinder-three-par env.
I should replace hpe3parclient with latest one as there was error with
ssh(deprecated)
After setting up, I created v1, s1, v2, s2 and tried to remove s1
It shows proper error msg like below
2024-05-10 07:00:31.234 98954 ERROR cinder.volume.manager [req-e920c633-4c10-47bd-8064-c95501512b8c a9790e787e5c4546b2513bd8f0ad7ca1 466ef0a6049743fb94433d698e4feffd - - -] Delete snapshot failed, due to snapshot busy.: cinder.exception.SnapshotIsBusy: Snapshot has children and cannot be deleted!
(previously, there was error and status is changed to error)
and snapshot status is still available
| 74123bf7-feb0-485e-aba1-13fdc6a449ea | s1 | None | available
| 1 |
dpkg is below
root at juju-a3ab17-3-lxd-1:/home/ubuntu# dpkg -l | grep cinder
ii cinder-api 2:20.3.1-0ubuntu1.2 all Cinder storage service - API server
ii cinder-common 2:20.3.1-0ubuntu1.2 all Cinder storage service - common files
ii cinder-scheduler 2:20.3.1-0ubuntu1.2 all Cinder storage service - Scheduler server
ii cinder-volume 2:20.3.1-0ubuntu1.2 all Cinder storage service - Volume server
ii python3-cinder 2:20.3.1-0ubuntu1.2 all Cinder Python 3 libraries
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
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 Focal:
In Progress
Status in cinder source package in Jammy:
Fix Committed
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