René's URL Explorer Experiment


Title: Backup related upgrade failure from 4.20.1/4.20.2 to 4.21.0/4.22.0 · Issue #12769 · apache/cloudstack · GitHub

Open Graph Title: Backup related upgrade failure from 4.20.1/4.20.2 to 4.21.0/4.22.0 · Issue #12769 · apache/cloudstack

X Title: Backup related upgrade failure from 4.20.1/4.20.2 to 4.21.0/4.22.0 · Issue #12769 · apache/cloudstack

Description: problem When upgrading from either 4.20.1 or 4.20.2 to 4.21.0 or 4.22.0, upgrade could fail when backup framework is in use. An error like the following is seen, 2026-03-09 01:56:55,403 DEBUG [c.c.u.d.ScriptRunner] (main:[]) (logid:) -- ...

Open Graph Description: problem When upgrading from either 4.20.1 or 4.20.2 to 4.21.0 or 4.22.0, upgrade could fail when backup framework is in use. An error like the following is seen, 2026-03-09 01:56:55,403 DEBUG [c.c....

X Description: problem When upgrading from either 4.20.1 or 4.20.2 to 4.21.0 or 4.22.0, upgrade could fail when backup framework is in use. An error like the following is seen, 2026-03-09 01:56:55,403 DEBUG [c.c....

Opengraph URL: https://github.com/apache/cloudstack/issues/12769

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backup related upgrade failure from 4.20.1/4.20.2 to 4.21.0/4.22.0","articleBody":"### problem\n\nWhen upgrading from either 4.20.1 or 4.20.2 to 4.21.0 or 4.22.0, upgrade could fail when backup framework is in use.\nAn error like the following is seen,\n```\n2026-03-09 01:56:55,403 DEBUG [c.c.u.d.ScriptRunner] (main:[]) (logid:) -- Add diskOfferingId, deviceId, minIops and maxIops to backed_volumes in backups table\n2026-03-09 01:56:55,403 DEBUG [c.c.u.d.ScriptRunner] (main:[]) (logid:) UPDATE `cloud`.`backups` b INNER JOIN `cloud`.`vm_instance` vm ON b.vm_id = vm.id SET b.backed_volumes = (     SELECT CONCAT(\"[\",         GROUP_CONCAT(             CONCAT(                 \"{\\\"uuid\\\":\\\"\", v.uuid, \"\\\",\",                 \"\\\"type\\\":\\\"\", v.volume_type, \"\\\",\",                 \"\\\"size\\\":\", v.`size`, \",\",                 \"\\\"path\\\":\\\"\", IFNULL(v.path, 'null'), \"\\\",\",                 \"\\\"deviceId\\\":\", IFNULL(v.device_id, 'null'), \",\",                 \"\\\"diskOfferingId\\\":\\\"\", doff.uuid, \"\\\",\",                 \"\\\"minIops\\\":\", IFNULL(v.min_iops, 'null'), \",\",                 \"\\\"maxIops\\\":\", IFNULL(v.max_iops, 'null'),                 \"}\"             )             SEPARATOR \",\"         ),     \"]\")     FROM `cloud`.`volumes` v     LEFT JOIN `cloud`.`disk_offering` doff ON v.disk_offering_id = doff.id     WHERE v.instance_id = vm.id )\n2026-03-09 01:56:55,458 ERROR [c.c.u.d.ScriptRunner] (main:[]) (logid:) Error executing: UPDATE `cloud`.`backups` b INNER JOIN `cloud`.`vm_instance` vm ON b.vm_id = vm.id SET b.backed_volumes = (     SELECT CONCAT(\"[\",         GROUP_CONCAT(             CONCAT(                 \"{\\\"uuid\\\":\\\"\", v.uuid, \"\\\",\",                 \"\\\"type\\\":\\\"\", v.volume_type, \"\\\",\",                 \"\\\"size\\\":\", v.`size`, \",\",                 \"\\\"path\\\":\\\"\", IFNULL(v.path, 'null'), \"\\\",\",                 \"\\\"deviceId\\\":\", IFNULL(v.device_id, 'null'), \",\",                 \"\\\"diskOfferingId\\\":\\\"\", doff.uuid, \"\\\",\",                 \"\\\"minIops\\\":\", IFNULL(v.min_iops, 'null'), \",\",                 \"\\\"maxIops\\\":\", IFNULL(v.max_iops, 'null'),                 \"}\"             )             SEPARATOR \",\"         ),     \"]\")     FROM `cloud`.`volumes` v     LEFT JOIN `cloud`.`disk_offering` doff ON v.disk_offering_id = doff.id     WHERE v.instance_id = vm.id )\n2026-03-09 01:56:55,475 ERROR [c.c.u.d.ScriptRunner] (main:[]) (logid:) java.sql.SQLException: Row 19 was cut by GROUP_CONCAT()\n2026-03-09 01:56:55,495 ERROR [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) Unable to execute upgrade script java.sql.SQLException: Row 19 was cut by GROUP_CONCAT()\n        at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:186)\n        at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:88)\n```\n\nThis is due to the following DB changes in the 4.20.1to4.21.0 upgrade path,\nhttps://github.com/apache/cloudstack/blob/main/engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql#L686-L709\n\nThe error is due to the length limit for `group_concat_max_len` in MySQL and it could be seen if there are backups for VMs having multiple volumes (possible 3 or more).\n\nWorkaround is setting value for `group_concat_max_len`:\n`SET GLOBAL group_concat_max_len = 1000000;`\n\n### versions\n\nUpgrade 4.20.x to 4.21/4.22","author":{"url":"https://github.com/shwstppr","@type":"Person","name":"shwstppr"},"datePublished":"2026-03-09T11:24:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/12769/cloudstack/issues/12769"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1315d7ce-fcaa-1cd9-bccf-1f1a5bffbc5a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id95D4:6529:177875:21C923:6A4E64BB
html-safe-noncea93a634418d51211c6dc44abc76e6b5c7083ba2873dedc6aae311321af7b9a7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUQ0OjY1Mjk6MTc3ODc1OjIxQzkyMzo2QTRFNjRCQiIsInZpc2l0b3JfaWQiOiI5OTQ4OTg1OTU3MzQ3NzQ5NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2a448ce8d6ccc7cda5694ea53a1987581923caa09ca5d0ca3be8f279157acbf0
hovercard-subject-tagissue:4045015535
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/12769/issue_layout
twitter:imagehttps://opengraph.githubassets.com/837f468851d857bb2d2f5258688f0c6b507f209ea74ccedf8a1f8391ca4f7a98/apache/cloudstack/issues/12769
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/837f468851d857bb2d2f5258688f0c6b507f209ea74ccedf8a1f8391ca4f7a98/apache/cloudstack/issues/12769
og:image:altproblem When upgrading from either 4.20.1 or 4.20.2 to 4.21.0 or 4.22.0, upgrade could fail when backup framework is in use. An error like the following is seen, 2026-03-09 01:56:55,403 DEBUG [c.c....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshwstppr
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/12769#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12769
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12769
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/12769
Reloadhttps://github.com/apache/cloudstack/issues/12769
Reloadhttps://github.com/apache/cloudstack/issues/12769
Please reload this pagehttps://github.com/apache/cloudstack/issues/12769
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 265 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
#12777https://github.com/apache/cloudstack/pull/12777
Backup related upgrade failure from 4.20.1/4.20.2 to 4.21.0/4.22.0https://github.com/apache/cloudstack/issues/12769#top
#12777https://github.com/apache/cloudstack/pull/12777
https://github.com/abh1sar
4.22.1https://github.com/apache/cloudstack/milestone/44
https://github.com/shwstppr
shwstpprhttps://github.com/shwstppr
on Mar 9, 2026https://github.com/apache/cloudstack/issues/12769#issue-4045015535
https://github.com/apache/cloudstack/blob/main/engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql#L686-L709https://github.com/apache/cloudstack/blob/main/engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql#L686-L709
abh1sarhttps://github.com/abh1sar
Apache CloudStack 4.22.1https://github.com/orgs/apache/projects/565
4.22.1https://github.com/apache/cloudstack/milestone/44
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.