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

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

Github user rashmidixit commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1889#discussion_r101275818
  
    --- Diff: 
api/src/org/apache/cloudstack/api/command/admin/host/ListHostsCmd.java ---
    @@ -206,7 +206,7 @@ public void execute() {
             } else {
                 Pair<List<? extends Host>, Integer> result;
                 Ternary<Pair<List<? extends Host>, Integer>, List<? extends 
Host>, Map<Host, Boolean>> hostsForMigration =
    -                _mgr.listHostsForMigrationOfVM(getVirtualMachineId(), 
this.getStartIndex(), this.getPageSizeVal());
    +                _mgr.listHostsForMigrationOfVM(getVirtualMachineId(), 
this.getStartIndex(), this.getPageSizeVal(), null);
    --- End diff --
    
    @koushik-das One of the changes in this commit was to add keyword as part 
of the listHostsForMigrationOfVM API. Earlier in this place the keyword was not 
getting passed down. Since it wasnt passed earlier, to keep this call the same, 
passing null as input. Hope this explains.


> Revamp the dropdown showing lists of hosts available for migration in a Zone
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9718
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9718
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: UI
>    Affects Versions: 4.7.0, 4.8.0, 4.9.0
>            Reporter: Rashmi Dixit
>            Assignee: Rashmi Dixit
>             Fix For: 4.10.0.0
>
>         Attachments: MigrateInstance-SeeHosts.PNG, 
> MigrateInstance-SeeHosts-Search.PNG
>
>
> There are a couple of issues:
> 1. When looking for the possible hosts for migration, not all are displayed.
> 2. If there is a large number of hosts, then the drop down showing is not 
> easy to use.
> To fix this, propose to change the view to a list view which will show the 
> hosts in a list view with radio button. Additionally have a search option 
> where the hostname can be searched in this list to make it more usable.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to