Pseudo parameters should be tied to template versions

Bug #1461745 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Triaged
Medium
Unassigned

Bug Description

So we can manage adding pseudo-parameters over time, they should be bound to template versions.

Changed in heat:
status: New → Triaged
importance: Undecided → Medium
Changed in heat:
assignee: nobody → pradeep kumar singh (pradeep-singh-u)
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :

Hi Steve,

Can you please guide me briefly how to fix the issue?

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

There needs to be a subclass of HOTParameters called HOTParameters20130523
http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/hot/parameters.py#n112

All current 4 pseudo-parameters should be put in this class.

HOTemplate20130523 needs to return a HOTParameters20130523:
http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/hot/template.py#n198

From then on, whenever we add a pseudo-parameter, we subclass HOTParameters20130523 and add it there.

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/188660

Changed in heat:
status: Triaged → In Progress
Changed in heat:
status: In Progress → Triaged
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/188660
Reason: No response to feedback for a year

Zane Bitter (zaneb)
Changed in heat:
assignee: Pradeep Kumar Singh (pradeep-singh-u) → nobody
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.