You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "vishesh92 (via GitHub)" <gi...@apache.org> on 2026/04/29 05:09:18 UTC
[I] Don't allow adding an existing host to another zone [cloudstack]
vishesh92 opened a new issue, #13080:
URL: https://github.com/apache/cloudstack/issues/13080
### 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 still running on this host and are displayed as such in the UI.
This shouldn't be allowed. We should fail the request to add host, if the host already exists in the database.
### versions
4.20 with KVM. Probably present since the beginning.
### The steps to reproduce the bug
1. Setup a host in Zone A
2. Add the existing host in Zone B
### What to do about it?
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Don't allow adding an existing KVM host to another zone [cloudstack]
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala closed issue #13080: Don't allow adding an existing KVM host to another zone
URL: https://github.com/apache/cloudstack/issues/13080
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Don't allow adding an existing KVM host to another zone [cloudstack]
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on issue #13080:
URL: https://github.com/apache/cloudstack/issues/13080#issuecomment-5313257551
fixed by https://github.com/apache/cloudstack/pull/13182
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org