----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/13911/ -----------------------------------------------------------
Review request for cloudstack and Devdeep Singh. Bugs: CLOUDSTACK-4572 Repository: cloudstack-git Description ------- Create multi cluster setup. Tag host in one cluster with host tag t1. Create a service offering using the host tag t1 Deploy a vm using the tagged service offering. Even if tagged/untagged hosts are available across different clusters the api does not list correct hosts for migration for the deployed vm. Expected behavior: The api should return the list of suitable/unsuitable hosts Added fix that creates a deep copy of the the variable allHosts and prevents faulty host list return. Diffs ----- server/src/com/cloud/server/ManagementServerImpl.java 3341c05 Diff: https://reviews.apache.org/r/13911/diff/ Testing ------- UI/API displays the correct host list now. Thanks, Saksham Srivastava