[
https://issues.apache.org/jira/browse/CLOUDSTACK-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185620#comment-14185620
]
Prachi Damle commented on CLOUDSTACK-7785:
------------------------------------------
This happens because you have set the query parameter 'virtualmachineid' in
your listHosts API call
If a vm ID is set to listHosts API, it means you want to list hosts to migrate
this VM.
The error is thrown since VM live migration is not supported for the hypervisor
type this VM's template is using.
The error is expected in this case.
> [Automation] List Hosts Error doesnt seem to convey correct Information
> -----------------------------------------------------------------------
>
> Key: CLOUDSTACK-7785
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7785
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, Test
> Affects Versions: 4.5.0
> Reporter: Chandan Purushothama
> Assignee: Prachi Damle
> Fix For: 4.5.0
>
>
> List Host error message refers to VM migration. This is no migration
> attempted by the User in this case.
> ============
> Error Message:
> ============
> 2014-10-22 03:47:26,937 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-24:ctx-0cd84534) ===START=== 10.81.29.59 -- GET
> signature=RHlfobyCj348CWtNtcuBEIxUEVs%3D&apiKey=AhbmR9Wa-tf2pB-yTDUU0mAOyDQ7GlBXrou3XkWa8SDxFYtjz6PmDYJ23fr_wpW7BmjpMdpCNAGBsSLCsaOioA&command=listHosts&response=json&virtualmachineid=8a96202b-3ffd-466c-84aa-93c2adbdfef3
> 2014-10-22 03:47:26,950 DEBUG [c.c.s.ManagementServerImpl]
> (catalina-exec-24:ctx-0cd84534 ctx-34699c9a ctx-a1ead461) VM[User|i-47-18-QA]
> is not XenServer/VMware/KVM/OVM/Hyperv, cannot migrate this VM.
> 2014-10-22 03:47:26,950 INFO [c.c.a.ApiServer]
> (catalina-exec-24:ctx-0cd84534 ctx-34699c9a ctx-a1ead461) Unsupported
> Hypervisor Type for VM migration, we support XenServer/VMware/KVM/Ovm/Hyperv
> only
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)