[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Hello Rajat, or anyone else affected, Accepted cinder into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cinder/2:20.3.1-0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: cinder (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Cloud Archive: Caracal is addressed with Noble Bobcat is addressed with Mantic * Antelope is _not_ addressed with Lunar (no longer supported), needs patching in UCA [Triaged] Zed is no longer supported (2024/04) Yoga is addressed with Jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Changed in: cinder (Ubuntu Jammy) Status: Incomplete => In Progress ** Changed in: cloud-archive/bobcat Status: New => Fix Released ** Changed in: cloud-archive/antelope Status: New => Triaged ** Changed in: cloud-archive/yoga Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Uploaded to Jammy. This upload has been coordinated with the Openstack Engineering team (~james-page) for bugs 1987663, 1988942, and 1994521. Test PPA and build-time unit test summary in https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1987663/comments/16 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
@mfo @james-page Thanks all! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/bobcat Importance: Undecided Status: New ** Also affects: cloud-archive/antelope Importance: Undecided Status: New ** Also affects: cloud-archive/yoga Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Hey Seyeong, Dariusz, Thanks for the clarifications! Yes, this needs coordination with the Openstack Engineering team not only for the other changes they plan to combine in an upload, but also regarding the upstream acceptance situation for this in the different branches. Apparently, they still haven't confirmed that, so I have reached out to James (as I'm involved in one of the three bugs) to offer help and ask the question whether they are OK with these changes. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
My understanding is as follows: it has been rejected upstream for yoga, because it was too close to EOL. But according to [1] it has been merged upstream for later releases. IMO the presence in later release is a good justification to backport the fix to jammy. What's your take on this Mauricio? [1] https://review.opendev.org/c/openstack/cinder/+/882782 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
@mfo Thanks I had a discussion with dariusz and he mentioned it could be possible and he uploaded. After that, he found out below comment. https://bugs.launchpad.net/cinder/+bug/1988942/comments/23 Do I need to contact openstack team directly about this? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Seyeong, Dariusz (subscribing you as you're the uploader), Could you please confirm whether the Openstack Engineering team is OK with the proposed changes, and that they are not upstream? From comment #12 it seems unclear whether the situation could move forward, and the SRU template was updated in case it was; but there is no other comment indicating how things turned out, before the upload happened. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Patch removed: "lp2017748_focal_yoga.debdiff" https://bugs.launchpad.net/cinder/+bug/1994521/+attachment/5752220/+files/lp2017748_focal_yoga.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** 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. + 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
Hello @dgadomski, sorry for making confusion. For now, upstream review is in progress for zed, 2023.1 ( for yoga is rejected ) I wasn't sure if I can go forward with this situation so I didn't updated description yet. But do you think it is possible to SRU in this situation? Either way, I'll update description today for future work. Thanks a lot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Changed in: cinder (Ubuntu Jammy) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
hey Seyeong. Can you add the SRU template to the bug please? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Patch added: "lp2017748_focal_yoga.debdiff" https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1994521/+attachment/5752220/+files/lp2017748_focal_yoga.debdiff ** Also affects: cinder (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: cinder (Ubuntu Mantic) Importance: Undecided Status: New ** Changed in: cinder (Ubuntu Mantic) Status: New => Fix Released ** Changed in: cinder (Ubuntu Noble) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Patch added: "lp1994521_jammy.debdiff" https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1994521/+attachment/5752219/+files/lp1994521_jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1994521] Re: HPE3PAR: Failing to clone a volume having children
** Also affects: cinder (Ubuntu) Importance: Undecided Status: New ** Also affects: cinder (Ubuntu Jammy) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1994521 Title: HPE3PAR: Failing to clone a volume having children To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1994521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs