Name vs ID bug in doc of get_attr

Bug #1381127 reported by Mike Spreitzer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Angus Salkeld

Bug Description

The schema doc says it takes the ID of a resource --- but that is not true. It needs to be given the resource's name, NOT its ID.

summary: - Name vs ID bug in doc of get_attr and HARestarter
+ Name vs ID bug in doc of get_attr
description: updated
Revision history for this message
Qiming Teng (tengqim) wrote :

From the description, I cannot understand whether it is referring to the HARestarter resource specifically, or in general the 'get_attr' function.

Changed in heat:
status: New → Incomplete
Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

The template guide defines "resource id" to be what I was calling the resource name.

Changed in heat:
status: Incomplete → Invalid
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

I would like the template guide to switch to <resource name>, so a change can be submitted for this which assumes the <resource name> change will happen

Changed in heat:
status: Invalid → Triaged
importance: Undecided → Low
Angus Salkeld (asalkeld)
Changed in heat:
assignee: nobody → Angus Salkeld (asalkeld)
milestone: none → kilo-1
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/131008

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/131008
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=55d70ce8b82bce90615bb67beeb10351ea0fe713
Submitter: Jenkins
Branch: master

commit 55d70ce8b82bce90615bb67beeb10351ea0fe713
Author: Angus Salkeld <email address hidden>
Date: Mon Oct 27 10:10:37 2014 +1000

    Fix the get_attr docs in the hot_spec

    The current description is "resource ID" and this should read
    "resource name".

    Change-Id: I0d37f3484e603838c2e11b8984c91c94c793d6c1
    Closes-bug: #1381127

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-1 → 2015.1.0
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.