Title: Don't allow adding an existing KVM host to another zone · Issue #13080 · apache/cloudstack · GitHub
Open Graph Title: Don't allow adding an existing KVM host to another zone · Issue #13080 · apache/cloudstack
X Title: Don't allow adding an existing KVM host to another zone · Issue #13080 · apache/cloudstack
Description: problem Adding an existing KVM host in zone A to another Zone B is currently allowed. When it is added, the zone for the host changes and the zone is updated for the host. The host goes into the Alert. The existing VMs on Zone A are stil...
Open Graph Description: problem Adding an existing KVM host in zone A to another Zone B is currently allowed. When it is added, the zone for the host changes and the zone is updated for the host. The host goes into the Al...
X Description: problem Adding an existing KVM host in zone A to another Zone B is currently allowed. When it is added, the zone for the host changes and the zone is updated for the host. The host goes into the Al...
Opengraph URL: https://github.com/apache/cloudstack/issues/13080
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Don't allow adding an existing KVM host to another zone","articleBody":"### problem\n\nAdding an existing KVM host in zone A to another Zone B is currently allowed.\nWhen it is added, the zone for the host changes and the zone is updated for the host. The host goes into the Alert.\nThe existing VMs on Zone A are still running on this host and are displayed as such in the UI.\n\nThis shouldn't be allowed. We should fail the request to add host, if the host already exists in the database.\n\n### versions\n\n4.20 with KVM. Probably present since the beginning.\n\n### The steps to reproduce the bug\n\n1. Setup a host in Zone A\n2. Add the existing host in Zone B\n\n### What to do about it?\n\n Before adding a host, we should validate if the host already exists in the database with same hostname or IP address and throw an error.","author":{"url":"https://github.com/vishesh92","@type":"Person","name":"vishesh92"},"datePublished":"2026-04-29T05:09:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/13080/cloudstack/issues/13080"}
| 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:13184928-ec4e-2bf3-f3d6-f20ac418ebf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C816:1368EB:3DEA069:55D93CC:6A4F52E8 |
| html-safe-nonce | 5ed5144f242b3c3345b115c33e89a303775d9b383d4035a4392e787bb9de0b58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODE2OjEzNjhFQjozREVBMDY5OjU1RDkzQ0M6NkE0RjUyRTgiLCJ2aXNpdG9yX2lkIjoiOTEzMzE0MjMwNDgyNzA2OTE2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c2280e9f75b23e05041bacf6b35f5804fe210e485bb87e37712e5d549af1b0b |
| hovercard-subject-tag | issue:4348052541 |
| 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/13080/issue_layout |
| twitter:image | https://opengraph.githubassets.com/93484ffcae0705d457bb8156554a1d876ac281ff6e6e654ff41214153ea9d34d/apache/cloudstack/issues/13080 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/93484ffcae0705d457bb8156554a1d876ac281ff6e6e654ff41214153ea9d34d/apache/cloudstack/issues/13080 |
| og:image:alt | problem Adding an existing KVM host in zone A to another Zone B is currently allowed. When it is added, the zone for the host changes and the zone is updated for the host. The host goes into the Al... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vishesh92 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width