Hi all, -1 (binding)
Reason: PR #14678 [1]. I have read the code, and Bernardo's report is correct. The 4.21 upgrade script fills object_store.allocated_size, a column in bytes, with the sum of bucket quotas, which are stored in GiB [2]. On delete, BucketApiServiceImpl subtracts quota * 2^30 from that value. The unsigned column would go negative, MySQL rejects the update, and the bucket cannot be deleted. Any environment that had buckets with quotas before upgrading to 4.21 or later is affected. Wei, you are right that this is not new in this RC and that an SQL workaround exists. I still think it belongs in 4.22.2.0: it breaks a basic operation on the upgrade path, the fix is ten lines of SQL, and it is ready today. I ask the release managers for an RC2 with #14678, and I will test it the same day. Best regards, [1]: https://github.com/apache/cloudstack/pull/14678 [2]: https://github.com/apache/cloudstack/blob/f8f3848321ae0791b472d1aeba7d0b057c83442f/engine/schema/src/main/resources/META-INF/db/schema-42040to42100.sql#L742-L749 Andrija Panić openvddk.com · v2kmigrate.com On Wed, Nov 11, 2026 at 7:18 PM Wei ZHOU <[email protected]> wrote: > Hi Bernardo, > > I understand that everyone wants their fixes included in the next release, > but with hundreds of fixes to consider, we need to prioritise them > carefully. In this particular case, given that the issue has been open for > over a year, affects a feature that is not frequently used, and has a > fairly simple workaround, I'm not sure it necessarily needs to be treated > as a blocker. That said, I'm happy to go along with the release managers' > decision. > > -Wei > > On Wed, Nov 11, 2026 at 2:28 PM Bernardo De Marco Gonçalves via dev < > [email protected]> wrote: > > > Hello, Wei, > > > > I consider it a blocker because it completely breaks S3 bucket deletion, > > which is a core and very common operation in bucket management. Besides, > > every environment using the ACS Object Storage integration that was > > upgraded from a version prior to 4.21 is affected. > > > > Best regards, > > Bernardo De Marco Gonçalves (bernardodemarco) > > > > > > Em qua., 11 de nov. de 2026 às 10:17, Wei ZHOU <[email protected]> > > escreveu: > > > > > Hi Bernardo, > > > > > > Can you explain why it is a blocker ? > > > > > > > > > -Wei > > > > > > > > > On Wed, Nov 11, 2026 at 2:12 PM Bernardo De Marco Gonçalves via dev < > > > [email protected]> wrote: > > > > > > > Hello, all, > > > > > > > > -1 > > > > > > > > Found a blocker that causes S3 bucket deletion to fail permanently in > > > > environments upgraded from versions prior to 4.21. I've opened PRs > > #14678 > > > > [1] and #14679 [2] to fix it. > > > > > > > > Best regards, > > > > Bernardo De Marco Gonçalves (bernardodemarco) > > > > > > > > [1]: https://github.com/apache/cloudstack/pull/14678 > > > > [2]: https://github.com/apache/cloudstack/pull/14679 > > > > > > > > Em ter., 10 de nov. de 2026 às 12:56, Vladimir Petrov < > > > > [email protected]> escreveu: > > > > > > > > > Hi All, > > > > > > > > > > I've created a 4.22.2.0 release, with the following artifacts up > for > > a > > > > > vote: > > > > > > > > > > Git Branch and Commit SH: > > > > > https://github.com/apache/cloudstack/tree/4.22.2.0-RC20261110T1423 > > > > > Commit: a349c8410573db2ba4274a5ffb4cecc56c4a1d14 > > > > > > > > > > Source release (checksums and signatures are available at the same > > > > > location): > > > > > https://dist.apache.org/repos/dist/dev/cloudstack/4.22.2.0/ > > > > > > > > > > PGP release keys (signed using > > > 0AACC57F50E92507CE56EAF81069CE2B2814AE6F): > > > > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS > > > > > > > > > > Vote will be open for 72 hours. > > > > > > > > > > For sanity in tallying the vote, can PMC members please be sure to > > > > > indicate "(binding)" with their vote? > > > > > > > > > > [ ] +1 approve > > > > > [ ] +0 no opinion > > > > > [ ] -1 disapprove (and reason why) > > > > > > > > > > For users' convenience, the packages from this release candidate > > (RC1) > > > > are > > > > > available here: > > > > > https://download.cloudstack.org/testing/4.22.2.0-RC1/ > > > > > > > > > > Best regards, > > > > > Vladimir Petrov > > > > > Vladimir Petrov > > > > > Staff QA Engineer > > > > > *s:* +44 203 603 0540 <+44%2020%203603%200540> > <+44%2020%203603%200540> > > <+44%2020%203603%200540> > > > <+44%2020%203603%200540> > > > > > *e:* [email protected] | * w: *www.shapeblue.com |* > > t:* > > > > > @shapeblue > > > > > *a:* 3 London Bridge Street, 3rd floor > > > > > < > > > > > > > > > > https://www.google.com/maps/search/3+London+Bridge+Street,++3rd+floor?entry=gmail&source=g > > > > >, > > > > > News Building, London, SE1 9SG, UK > > > > > <https://www.cloudstackcollab.org> > > > > > ------------------------------ > > > > > > > > > > Find out more about ShapeBlue and our range of CloudStack related > > > > services: > > > > > IaaS Cloud Design & Build > > > > > <http://shapeblue.com/iaas-cloud-design-and-build/> | CloudStack > > > > > Consulting <http://shapeblue.com/cloudstack-consultancy/> | > > CloudStack > > > > > Software Engineering > > > > > <http://shapeblue.com/cloudstack-software-engineering/> > > > > > CloudStack Infrastructure Support > > > > > <http://shapeblue.com/cloudstack-infrastructure-support/> | > > CloudStack > > > > > Bootcamp Training Courses < > http://shapeblue.com/cloudstack-training/ > > > > > > > > > > > > > Shape Blue Ltd is a company incorporated in England & Wales. > > ShapeBlue > > > is > > > > > a registered trademark. This email and any attachments to it may be > > > > > confidential and are intended solely for the use of the individual > to > > > > whom > > > > > it is addressed. Any views or opinions expressed are solely those > of > > > the > > > > > author and do not necessarily represent those of Shape Blue Ltd or > > > > related > > > > > companies. If you are not the intended recipient of this email, you > > > must > > > > > neither take any action based upon its contents, nor copy or show > it > > to > > > > > anyone. Please contact the sender if you believe you have received > > this > > > > > email in error. > > > > > > > > > > > > > > > > > > > > > > > > >
