Horizon template generator fail to create a volume from image

Solution In Progress - Updated -

Environment

  • Red Hat OpenStack Platform 16.2, 17.1

Issue

Creation of a stack with volume from image by template generator in Horizon fails because boot_source is not known as a property.

Resolution

  1. After edit the stack, edit the template generated removing the line with the parameter boot_source in volume properties.

Root Cause

There is a bug in template generator that include the parameter and Heat not allows it. BZ2260507.

Diagnostic Steps

  1. Login in Horizon dashboard.

  2. Go to template generator in Orchestration.

  3. include a volume from a image.

  4. Looks at the YAML template generated.

...
properties: 
      name: test
      size: 10
      volume_type: "0000000-bf56-42df-0000-ab2a85cc7998"
      availability_zone: dc1
      boot_source: image
      image: "0000000-5780-4b19-0000-972f540c2279"
  1. Try to create the stack and a error message will appear in a pop-up, the same error appears in horizon log.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments