Title: DRS failed for cluster if have another cluster in zone · Issue #8629 · apache/cloudstack · GitHub
Open Graph Title: DRS failed for cluster if have another cluster in zone · Issue #8629 · apache/cloudstack
X Title: DRS failed for cluster if have another cluster in zone · Issue #8629 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME CLOUDSTACK VERSION CONFIGURATION OS / ENVIRONMENT SUMMARY We have zone1 where we have two clusters ex- cluster01 and cluster02 , Where cluster01 have 3 hypervisors with same h/w model and cluster02 ha...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME CLOUDSTACK VERSION CONFIGURATION OS / ENVIRONMENT SUMMARY We have zone1 where we have two clusters ex- cluster01 and cluster02 , Where cluster01 have 3 hypervis...
X Description: ISSUE TYPE Bug Report COMPONENT NAME CLOUDSTACK VERSION CONFIGURATION OS / ENVIRONMENT SUMMARY We have zone1 where we have two clusters ex- cluster01 and cluster02 , Where cluster01 have 3 hypervis...
Opengraph URL: https://github.com/apache/cloudstack/issues/8629
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DRS failed for cluster if have another cluster in zone","articleBody":"\u003c!--\r\nDRS failed for cluster if have another cluster in zone\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\ncloudstack 4.19 , KVM hypervisors with OEL9 ,\r\n--\u003e\r\n~~~\r\n\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\ncloudstack 4.19\r\n--\u003e\r\n\r\n~~~\r\n\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nConfigured 2 zones with 2 clusters in each zone.\r\n--\u003e\r\n\r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nOEL9\r\n--\u003e\r\n\r\n\r\n##### SUMMARY\r\nWe have zone1 where we have two clusters ex- cluster01 and cluster02 , \r\nWhere cluster01 have 3 hypervisors with same h/w model and cluster02 has one hypervisor with dfifferent h/w model. \r\nI have enabled drs setiings in globals setting and then disbaled it for cluster02 in cluster setting \"drs.automatic.enable -- false\" but enabled for cluster01 .\r\n\r\nIn the above scenario drs plan failed with below logs - \r\n\r\n2024-02-08 10:26:33,532 DEBUG [c.c.s.ManagementServerImpl] (VMSchedulerPollTask:ctx-0bba1590) (logid:f0f7966b) Hosts having capacity and suitable for migration: [Host {\"id\":25,\"name\":\"node-cluster01\",\"type\":\"Routing\",\"uuid\":\"5d145861-e4ad-4f94-a805-266711321d59\"}, Host {\"id\":40,\"name\":\"node-cluster02\",\"type\":\"Routing\",\"uuid\":\"66b47d2a-b047-452c-b5d3-65c160666b50\"}, Host {\"id\":48,\"name\":\"node-cluster01\",\"type\":\"Routing\",\"uuid\":\"da1be373-cd08-4ae1-948f-7592daabb3fc\"}]\r\n2024-02-08 10:26:33,535 ERROR [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-0bba1590) (logid:f0f7966b) Unable to generate DRS plans for cluster Cluster-Z01 [id=5366c5fb-0ed0-4caf-b2c7-93ebea15a717]\r\n\r\nIf i disable host from cluster02 our drs works as expected and migrated VMs based on load . But when we have both clusters and all nodes in cluster enabled its failed to generate plan. \r\n\r\nBelow are cluster level settings for reference from DB. \r\n621 | 1 | drs.automatic.enable | true |\r\n| 622 | 1 | drs.automatic.interval | 10 |\r\n| 623 | 1 | drs.imbalance | 0.4 |\r\n| 624 | 16 | drs.automatic.enable | false\r\n\r\n\r\n\r\nEven tried by keep it disabled in global settings and then enable it for just one cluster in cluster settings. \r\n\r\n\r\nAs our use case is where we have multiple clusters in same zone with different type of h/w. \r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nCan try be creating 2 clusters with differnet type of h/w. \r\n--\u003e\r\n\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- it should work for cluster if enabled for cluster and should not tried to include other cluster node in drs plan --\u003e\r\n\r\n~~~\r\n\r\n~~~\r\n\r\n\r\n~~~\r\n","author":{"url":"https://github.com/yashi4engg","@type":"Person","name":"yashi4engg"},"datePublished":"2024-02-08T16:17:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/8629/cloudstack/issues/8629"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:36f40c1d-b0c1-2310-eaa3-4550f3e15fd9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 960A:2CFC95:261EE26:33EC8E9:6A53A8FD |
| html-safe-nonce | 945d54abc8b0e5f5f9f14d4e8bd281b247017163113e14be41db96ab7e80ecc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBBOjJDRkM5NToyNjFFRTI2OjMzRUM4RTk6NkE1M0E4RkQiLCJ2aXNpdG9yX2lkIjoiMTA2MzE2ODg3Nzg5NjQ0MDI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4dc56ceb64739fb7b602c29919883cb8419c66840e548b06ebbae62ae73a63bc |
| hovercard-subject-tag | issue:2125575009 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/8629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ecfbe6991e23e837b53a9000945bb39302c09b5f514d7b25dc108575290da6d0/apache/cloudstack/issues/8629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecfbe6991e23e837b53a9000945bb39302c09b5f514d7b25dc108575290da6d0/apache/cloudstack/issues/8629 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME CLOUDSTACK VERSION CONFIGURATION OS / ENVIRONMENT SUMMARY We have zone1 where we have two clusters ex- cluster01 and cluster02 , Where cluster01 have 3 hypervis... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yashi4engg |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width