René's URL Explorer Experiment


Title: Userdispersing algorithm does not consider VMs in starting state · Issue #11606 · apache/cloudstack · GitHub

Open Graph Title: Userdispersing algorithm does not consider VMs in starting state · Issue #11606 · apache/cloudstack

X Title: Userdispersing algorithm does not consider VMs in starting state · Issue #11606 · apache/cloudstack

Description: problem I tried to use userdispersing algorithm for volumes and VMs, still I've got numerous VMs starting on the same host. See #11412 In the end it was confirmed that algorithm considers just running VMs. As VM start takes time, and VMs...

Open Graph Description: problem I tried to use userdispersing algorithm for volumes and VMs, still I've got numerous VMs starting on the same host. See #11412 In the end it was confirmed that algorithm considers just runn...

X Description: problem I tried to use userdispersing algorithm for volumes and VMs, still I've got numerous VMs starting on the same host. See #11412 In the end it was confirmed that algorithm considers just ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Userdispersing algorithm does not consider VMs in starting state","articleBody":"### problem\n\nI tried to use userdispersing algorithm for volumes and VMs, still I've got numerous VMs starting on the same host. See https://github.com/apache/cloudstack/discussions/11412\nIn the end it was confirmed that algorithm considers just running VMs.\nAs VM start takes time, and VMs are started in packs (Jenkins jcloud plugin), all VMs are placed to the same host. Finally I had to switch to random algo that do dispersing a lot better (though not ideal)\nI believe  that as soon as VM is assigned for start on a host (still in Starting state), it should be already considered by userdispersing algorithm.\n\n### versions\n\nCloudStack 4.21.0.0, though I had the same issue with 4.20\nKVM\nlocal fat volumes\n\n### The steps to reproduce the bug\n\n1. Confiugre CS to use userdispersing algorithm (volumes and VMs)\n2. Start several VMs via api without waiting for response that VM was started, e.g.\n```\nfor i in {01..10}; do cloudstack deployVirtualMachine serviceofferingid=XXX templateid=YYY zoneid=ZZZ name=test-${i} \u0026 done\n```\nin my env all VMs start on the same host, even if I add some delay to the loop, unless the delay is enough to fully start VM\n\n### What to do about it?\n\nAlgorithm should query both Running and Starting VMs and use that data to decide the next VM placement","author":{"url":"https://github.com/akrasnov-drv","@type":"Person","name":"akrasnov-drv"},"datePublished":"2025-09-10T15:16:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/11606/cloudstack/issues/11606"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:de050c72-6077-c909-a4ff-d444a171d566
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB1AC:25572C:3396EE1:4672967:6A4F09EC
html-safe-nonce17c0527fb090afd2248d239e5c71181e61d3ce2d977e0bb049bad679ee1c7ecc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUFDOjI1NTcyQzozMzk2RUUxOjQ2NzI5Njc6NkE0RjA5RUMiLCJ2aXNpdG9yX2lkIjoiOTEwODg1NDk4MjAyNzcwODkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca1687b50e9b6a6183d07dbccc30570662fc8d7e808766af97940d8e8a1285aa9
hovercard-subject-tagissue:3402889052
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/11606/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7c2c5130616975831925eba918192965213e1b7f9647ca64c47a9802dea8ec2f/apache/cloudstack/issues/11606
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7c2c5130616975831925eba918192965213e1b7f9647ca64c47a9802dea8ec2f/apache/cloudstack/issues/11606
og:image:altproblem I tried to use userdispersing algorithm for volumes and VMs, still I've got numerous VMs starting on the same host. See #11412 In the end it was confirmed that algorithm considers just runn...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakrasnov-drv
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/11606#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F11606
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%2F11606
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/11606
Reloadhttps://github.com/apache/cloudstack/issues/11606
Reloadhttps://github.com/apache/cloudstack/issues/11606
Please reload this pagehttps://github.com/apache/cloudstack/issues/11606
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 266 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
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
#11751https://github.com/apache/cloudstack/pull/11751
Userdispersing algorithm does not consider VMs in starting statehttps://github.com/apache/cloudstack/issues/11606#top
#11751https://github.com/apache/cloudstack/pull/11751
https://github.com/sudo87
4.20.2https://github.com/apache/cloudstack/milestone/39
https://github.com/akrasnov-drv
akrasnov-drvhttps://github.com/akrasnov-drv
on Sep 10, 2025https://github.com/apache/cloudstack/issues/11606#issue-3402889052
#11412https://github.com/apache/cloudstack/discussions/11412
sudo87https://github.com/sudo87
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
4.20.2https://github.com/apache/cloudstack/milestone/39
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.