René's URL Explorer Experiment


Title: Maintenance mode: Add host to deployment planner avoid list to fix local storage migration by BartJM · Pull Request #9892 · apache/cloudstack · GitHub

Open Graph Title: Maintenance mode: Add host to deployment planner avoid list to fix local storage migration by BartJM · Pull Request #9892 · apache/cloudstack

X Title: Maintenance mode: Add host to deployment planner avoid list to fix local storage migration by BartJM · Pull Request #9892 · apache/cloudstack

Description: Description This PR adds the host preparing for maintenance to the avoid list for the deployment planner. Without adding the host to the avoid list the deployment planner will return the host preparing for maintenance when a vm has a local storage root disk and has the host preparing for maintenance as the last host. Steps to reproduce Create vm with local storage Set host with the vm in maintenance Actual behaviour (qa6-4.19-upstream-54bd5b60-kvm-host1) Failed to prepare host for maintenance due to: Migration of the vm VM instance {"id":13,"instanceName":"i-2-13-VM","type":"User","uuid":"209d346b-b2e7-485f-a889-8462dd0078cc"}from host Host {"id":1,"name":"qa6-4.19-upstream-54bd5b60-kvm-host1","type":"Routing","uuid":"224ca458-90e6-4efb-8532-e5efc83df9f4"} to destination host Host {"id":1,"name":"qa6-4.19-upstream-54bd5b60-kvm-host1","type":"Routing","uuid":"224ca458-90e6-4efb-8532-e5efc83df9f4"} doesn't involve migrating the volumes. Expected Local storage vm live migrated to another host. Types of changes Breaking change (fix or feature that would cause existing functionality to change) New feature (non-breaking change which adds functionality) Bug fix (non-breaking change which fixes an issue) Enhancement (improves an existing feature and functionality) Cleanup (Code refactoring and cleanup, that may add test cases) build/CI test (unit or integration test code) Feature/Enhancement Scale or Bug Severity Feature/Enhancement Scale Major Minor Bug Severity BLOCKER Critical Major Minor Trivial Screenshots (if appropriate): How Has This Been Tested? Centos8 mbx env with host.maintenance.local.storage.strategy set to Migration. Tested maintenance mode on a host with Local storage vm HA vm Local storage vm with ha data disk ha vm with ha datadisk Local storage vm with local data disk ha vm with local datadisk 5 and 6 result in an ErrorInMaintenance due to dest being null. Similar as described in #9887. Without this patch these would still fail with the same error as described in actual behavior. After creation of a ha vm with ha data disk maintenance was not possible. After manual migration to another host and back, migration did complete. Migration without selecting host also gave a no destination found error and also occurred without this patch so is unrelated. How did you try to break this feature and the system with this change?

Open Graph Description: Description This PR adds the host preparing for maintenance to the avoid list for the deployment planner. Without adding the host to the avoid list the deployment planner will return the host prepa...

X Description: Description This PR adds the host preparing for maintenance to the avoid list for the deployment planner. Without adding the host to the avoid list the deployment planner will return the host prepa...

Opengraph URL: https://github.com/apache/cloudstack/pull/9892

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0259ed64-4d52-ea11-32ca-521ec002c785
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98EA:364D1D:1379DBA:1C7F3A4:6A56282E
html-safe-nonce51a5d10b71e271608ac0f35f427d853895d631f2570eee02e40ffe8791e80c6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEVBOjM2NEQxRDoxMzc5REJBOjFDN0YzQTQ6NkE1NjI4MkUiLCJ2aXNpdG9yX2lkIjoiMjU1MTcxMDIzNDkyMzM3ODczNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc9d0c534c7d10c2aaf4c8095fa77be226e223706008917b5313054a72ab8bfe8
hovercard-subject-tagpull_request:2163115169
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/apache/cloudstack/pull/9892/files
twitter:imagehttps://avatars.githubusercontent.com/u/16014786?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16014786?s=400&v=4
og:image:altDescription This PR adds the host preparing for maintenance to the avoid list for the deployment planner. Without adding the host to the avoid list the deployment planner will return the host prepa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b
turbo-cache-controlno-preview
diff-viewunified
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-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release160a6fceec0fef718a0c3ac46f2d71ae9d5c0ff5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/pull/9892/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F9892%2Ffiles
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%2Fpull%2F9892%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/pull/9892/files
Reloadhttps://github.com/apache/cloudstack/pull/9892/files
Reloadhttps://github.com/apache/cloudstack/pull/9892/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/9892/files
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 544 https://github.com/apache/cloudstack/issues
Pull requests 258 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
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Fcloudstack%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Fcloudstack%2Fissues%2Fnew%2Fchoose
DaanHooglandhttps://github.com/DaanHoogland
apache:4.20https://github.com/apache/cloudstack/tree/4.20
CLDIN:maintenance-modehttps://github.com/CLDIN/cloudstack/tree/maintenance-mode
Conversation 15 https://github.com/apache/cloudstack/pull/9892
Commits 1 https://github.com/apache/cloudstack/pull/9892/commits
Checks 0 https://github.com/apache/cloudstack/pull/9892/checks
Files changed https://github.com/apache/cloudstack/pull/9892/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/9892/files
Maintenance mode: Add host to deployment planner avoid list to fix local storage migration https://github.com/apache/cloudstack/pull/9892/files#top
Show all changes 1 commit https://github.com/apache/cloudstack/pull/9892/files
c460198 Maintenance mode: Add host to deployment planner avoid list to fix lo… BartJM Oct 29, 2024 https://github.com/apache/cloudstack/pull/9892/commits/c46019875948de65ec1944fb9d7d2a04207fb9f5
Clear filters https://github.com/apache/cloudstack/pull/9892/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/9892/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/9892/files
server/src/main/java/com/cloud/resource/ResourceManagerImpl.javahttps://github.com/apache/cloudstack/pull/9892/files#diff-53828c5da95987cee80f1d74ff536a291add64546dd42bd3372998675f89897e
View file https://github.com/CLDIN/cloudstack/blob/c46019875948de65ec1944fb9d7d2a04207fb9f5/server/src/main/java/com/cloud/resource/ResourceManagerImpl.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/cloudstack/pull/9892/{{ revealButtonHref }}
https://github.com/apache/cloudstack/pull/9892/files#diff-53828c5da95987cee80f1d74ff536a291add64546dd42bd3372998675f89897e
https://github.com/apache/cloudstack/pull/9892/files#diff-53828c5da95987cee80f1d74ff536a291add64546dd42bd3372998675f89897e
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.