[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565893#comment-14565893
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8484:
--------------------------------------------

GitHub user sudhansu7 opened a pull request:

    https://github.com/apache/cloudstack/pull/335

    BUG-ID: CLOUDSTACK-8484 - Hosts without tag are not listed while list…

    …ing the hosts for migration for instance with tag
    
    While preparing the suitable hosts we are accidentally removing the 
incompatible (host does not have host tag) hosts from other host list(incorrect 
use of List.retainAll).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudhansu7/cloudstack CLOUDSTACK-8484

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/335.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #335
    
----
commit fac22e3ffc3026362f77d0fc9ef36a2e7b37483d
Author: Sudhansu <[email protected]>
Date:   2015-03-12T12:28:31Z

    BUG-ID: CLOUDSTACK-8484 - Hosts without tag are not listed while listing 
the hosts for migration for instance with tag
    
    While preparing the suitable hosts we are accidentally removing the 
incompatible (host does not have host tag) hosts from otherhost list(incorrect 
use of List.retainAll).

----


> Hosts without tag are not listed while listing the hosts for migration for 
> instance with tag
> --------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8484
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8484
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Sudhansu Sahu
>
> Hosts without tag are not listed while listing the hosts for migration for 
> instance with tag.
> Ideally system should list all available hosts with "not suitable" suffix. 
> Steps to reproduce:
> 1) Create a compute offering with a host tag eg: 'tag-1'
> 2) Tag a host in your cluster as 'tag-1'
> 3) Deploy an instance using this offering.
> 4) Instance will get deployed to the tagged host
> 5) Try listing the hosts for migration,it would return no host is available 
> for migration.
> 6) Tag other hosts with 'tag-1' and they would start appearing in the list. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to