Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Heat stack fails with CREATE_FAILED

We've got several Icehouse openstack environments and have been using Heat for orchestration. We're running on Oracle Linux.

Our latest environment was built just like the others, but I'm having some problems with Heat and specifically launching orchestrations that have instances which boot on a volume.

I created a very simple template, which works on all of the sites except the latest.

heat_template_version: 2013-05-23

resources:
  server:
    type: OS::Nova::Server
    properties:
      name: boot_from_vol
      flavor: 16GB_4CPU_COMMON
      block_device_mapping: [{"device_name": xvda, "snapshot_id": 5f3059a0-03a8-45c1-8e31-92a35ea47452 }]
      networks: 
         - network: 7cac222f-e8e6-47c8-bf8d-e87fcc07be82

The stack always transitions to CREATE_FAILED status.

| stack_status_reason  | Resource CREATE failed: BadRequest: Block Device
|                      | Mapping is Invalid: Boot sequence for the instance and
|                      | image/block device mapping combination is not valid.
|                      | (HTTP 400) (Request-ID: req-2c6048cd-81f8-415d-86df-
|                      | efdf0c202dcb)

I've tailed the logs and looked for any additional errors, but this is the only one. It appears in both the nova api.log and the heat heat-engine.log.

I've checked that the config files appear to have all the same settings and the services across the sites have the same patches, but I've obviously missed something... anyone know what is causing this error?

Heat stack fails with CREATE_FAILEDbecause "Block Device Mapping is Invalid"

We've got several Icehouse openstack environments and have been using Heat for orchestration. We're running on Oracle Linux.

Our latest environment was built just like the others, but I'm having some problems with Heat and specifically launching orchestrations that have instances which boot on a volume.

I created a very simple template, which works on all of the sites except the latest.

heat_template_version: 2013-05-23

resources:
  server:
    type: OS::Nova::Server
    properties:
      name: boot_from_vol
      flavor: 16GB_4CPU_COMMON
      block_device_mapping: [{"device_name": xvda, "snapshot_id": 5f3059a0-03a8-45c1-8e31-92a35ea47452 }]
      networks: 
         - network: 7cac222f-e8e6-47c8-bf8d-e87fcc07be82

The stack always transitions to CREATE_FAILED status.

| stack_status_reason  | Resource CREATE failed: BadRequest: Block Device
|                      | Mapping is Invalid: Boot sequence for the instance and
|                      | image/block device mapping combination is not valid.
|                      | (HTTP 400) (Request-ID: req-2c6048cd-81f8-415d-86df-
|                      | efdf0c202dcb)

I've tailed the logs and looked for any additional errors, but this is the only one. It appears in both the nova api.log and the heat heat-engine.log.

I've checked that the config files appear to have all the same settings and the services across the sites have the same patches, but I've obviously missed something... anyone know what is causing this error?