cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Weller <swel...@ena.com>
Subject RE: API migrateVirtualMachine does not respect affinity group assignment
Date Wed, 09 Nov 2016 01:47:59 GMT
Can you open a jira issue on this?

Simon Weller/ENA
(615) 312-6068

-----Original Message-----
From: Yiping Zhang [yzhang@marketo.com]
Received: Tuesday, 08 Nov 2016, 8:03PM
To: users@cloudstack.apache.org [users@cloudstack.apache.org]
Subject: API migrateVirtualMachine does not respect affinity group assignment

Hi,

It seems that the API migrateVirtualMachine does not respect instance’s affinity group assignment.
 Is this intentional?

To reproduce:

Assigning two VM instances running on different hosts, say v1 running on h1 and v2 running
on h2, to the same affinity group.  In GUI, it won’t let you migrate v1 and v2 to the same
host, but if you use cloudmonkey,  you are able to move both instances to h1 or h2 with migrateVirtualMachine
API call.

IMHO, the API call should return with an error message that the migration is prohibited by
affinity group assignment. However, if the current behavior is desirable in some situations,
then a parameter like ignore-affinity-group=true should be passed to the API call (or vice
versa, depending on which behavior is chosen as the default)

Yiping

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message