singleton template

Bug #1247199 reported by Kevin Fox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Triaged
Wishlist
Unassigned

Bug Description

Some stacks benefit from sharing resources. Like security groups.

The user can manually launch the shared stack, then pass the output to each individual stack at launch time.

Alternately, the user can make the individual stack a nested stack of the shared stack, and update it to include more individual stacks as needed, but editing json is much more technically difficult then hitting a few buttons and filling out a few text boxes in dashboard to start a new individual stack.

To be more user friendly, it would be nice to just launch the individual stack and have it create the shared singleton stack if it doesn't already exist, and share the existing singleton if it does. Even nicer would be for it to reference count the singleton and delete it only when the last stack deletes.

In the individual template, it would list the singleton template just like a nested stack, and give is a singleton name. The name would be unique per tenant. You could then use Fn::GetAtt on the singleton to get references and use them in your stack as normal.

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

This is a feature, could you please raise it as a blueprint?

Changed in heat:
status: New → Invalid
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

We have Wishlist importance for feature requests too.

I feel like blueprints are things with a plan, where as bugs with problem statements can be left open with Wishlist status until somebody properly designs a solution.

Changed in heat:
status: Invalid → Triaged
importance: Undecided → Wishlist
Revision history for this message
Angus Salkeld (asalkeld) wrote :

This is a very cool idea, our current loadbalancer and dbinstance provider templates could use this (per tenant) and
I could imagine many other similar types of provider templates could too. Although I wonder if you would call this
 an "on demand service" then?

Revision history for this message
Angus Salkeld (asalkeld) wrote :

This is partly implemented as: https://review.openstack.org/134848 (external_references).

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.