HEAT template with OS::Cinder::Quota failing

Bug #1837958 reported by Devendra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Heat Translator
Invalid
Undecided
Manimala Tangudu

Bug Description

I am using the below HEAT template for Project and Quota creation in 1 template.

And marking the Cinder quota resource dependent on Project resource it still fails with below message:-

"Property error: : resources.Dev_Test_1_Cinder_quota.properties.project: : Error validating value 'Dev_Test_1': The KeystoneProject (Dev_Test_1) could not be found."

Heat Template:-
heat_template_version: newton

description: HEAT template to create different roles in OpenStack

resources:
  Dev_Test_1_Cinder_quota:
    type: OS::Cinder::Quota
    depends_on: Dev
    properties:
      project: "Dev_Test_1"
      volumes: 20
      gigabytes: 200
      snapshots: 20

  Dev:
    type: OS::Keystone::Project
    properties:
      name: Dev_Test_1
      description: "Dev 1 tenancy"
      domain: default
      enabled: True

Tags: cinder heat
Revision history for this message
Manimala Tangudu (ztngman) wrote :

Template worked fine when {get_resource: } function is used to provide the project name, in Pike release.

Following is the template used:

heat_template_version: '2016-10-14'

description: HEAT template to create different roles in OpenStack

resources:

  Dev:
    type: OS::Keystone::Project
    properties:
      description: "Dev 1 tenancy"
      name: Dev_Test_1
      domain: default
      enabled: True

  Dev_Test_1_Cinder_quota:
    type: OS::Cinder::Quota
    properties:
      project: {get_resource: Dev}
      volumes: 20
      gigabytes: 200
      snapshots: 20

Could you please try with the above template and let us know if you still face the same issue so that i could change the status of the bug.

Revision history for this message
Manimala Tangudu (ztngman) wrote :

It is a configuration issue. Can refer to the bug 1837830.

Changed in heat-translator:
status: New → Incomplete
status: Incomplete → Invalid
Changed in heat-translator:
assignee: nobody → Manimala Tangudu (ztngman)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.