4.12 Beta and Azure VM

Hello,

when i try to instantiate a TEMPLATE on Azure using opennebula sunstone, we got the error below

BadRequest : The affinity group name is empty or was not specified.e[0me[0m

we use the local

  • GEM Azure (0.6.4)
  • cloud (0.0.1)

Regards,

M

Hi,

Could you send us the template you are trying to instantiate? or at least the keys inside the PUBLIC_CLOUD section of the template (onetemplate show -x)

Cheers

Hi,

i found the problem, there is no information about AFFINITY_GROUP on OpenNebula sunstone.
in the advanced mode, when i insert the “AFFINITY_GROUP = xxxxxx”, the VM is deploy on Azure, BUT you do not have to insert the “Location” or the “Virtual Network Name” in the Hybrid tab

take a look of onetemplate show x
<PUBLIC_CLOUD>
<AFFINITY_GROUP></AFFINITY_GROUP>

<INSTANCE_TYPE></INSTANCE_TYPE>

<STORAGE_ACCOUNT></STORAGE_ACCOUNT>

<VM_PASSWORD></VM_PASSWORD>
<VM_USER></VM_USER>
</PUBLIC_CLOUD>
<SCHED_REQUIREMENTS></SCHED_REQUIREMENTS>
<SUNSTONE_CAPACITY_SELECT></SUNSTONE_CAPACITY_SELECT>
<SUNSTONE_NETWORK_SELECT></SUNSTONE_NETWORK_SELECT>
**

regards

Thank you for your feedback we will include this attribute for the next release
http://dev.opennebula.org/issues/3675