Using IBM Cloud Orchestrator Admin UI (Horizon) to deploy heat stack with 4 or more cinder volumes to VMware vCenter v5.5 U2 failed.
The status on UI is:
Create Failed: CREATE aborted
The VMware vCenter task shows error:
Status: Invalid configuration for device '0'.
Answer by Steven Su (895) | Jul 07, 2016 at 01:18 AM
Cause: There are occasions that the VM database and the VMX are out of synch due to multiple operations on vCenter at the same time.
Resolution: To add dependency on volume attachment steps so they will be executed one by one.
See below example.
Change the volume definition part in heat stack from:
steven-stack-test_u1:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u1_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u1}
type: OS::Cinder::VolumeAttachment
steven-stack-test_u2:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u2_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u2}
type: OS::Cinder::VolumeAttachment
steven-stack-test_u3:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u3_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u3}
type: OS::Cinder::VolumeAttachment
To:
steven-stack-test_u1:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u1_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u1}
type: OS::Cinder::VolumeAttachment
steven-stack-test_u2:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u2_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u2}
type: OS::Cinder::VolumeAttachment
depends_on: steven-stack-test_u1_attachment
steven-stack-test_u3:
properties: {size: 1}
type: OS::Cinder::Volume
steven-stack-test_u3_attachment:
properties:
instance_uuid: {get_resource: steven-stack-test}
volume_id: {get_resource: steven-stack-test_u3}
type: OS::Cinder::VolumeAttachment
depends_on: steven-stack-test_u2_attachment
Failed to deploy VM involves objects using double-bytes name 1 Answer
ICO Fixpack 4 doesn't update ceilometer rpms on ICO Managed from servers 1 Answer
How to replace self-signed certificate in ICO v2.5? 1 Answer
Why does my vmware compute cluster keep going to XXX status? 1 Answer
Deploy VM in ICO v2401 after changing project results in "unexpected response: 40" 1 Answer