RandomString pre-create value (None) causes validation failures

Bug #1489396 reported by Drago
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
In Progress
Undecided
Drago

Bug Description

When trying to create a stack, this template will fail validation:

heat_template_version: 2015-04-30
resources:
  random:
    type: OS::Heat::RandomString

  random2:
    type: OS::Heat::RandomString
    properties:
      salt: { digest: ['md5', { get_attr: [random, value] }] }
      #salt: { digest: ['md5', { get_resource: random }] }

However, when get_attr is exchanged for get_resource (commented line in above template), the stack will create fine.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/217633

Changed in heat:
assignee: nobody → Drago (drago-rosson)
status: New → In Progress
Revision history for this message
Rabi Mishra (rabi) wrote :

I think this is a bigger problem than something specific to random_string. As get_attr returns None. Properties using them with some function, fail the validation.

Probably, this is is similar to bug https://bugs.launchpad.net/bugs/1489058.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Zane Bitter (<email address hidden>) on branch: master
Review: https://review.openstack.org/217633

Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
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.