Current trove/heat integration needs to be improved so that a stack reference gets an identity in trove ecosystem

Registered by yogesh-mehra on 2013-10-29

Taking Trove and Heat integration to take a level further, the idea is to get heat-stack an identity in the trove ecosystem. If there are multiple nodes getting created based on a multi-node template provisioned for a particular service type in trove, the framework becomes slightly hazy with the following items still to be decided and worked upon:

1. Does the guest agent run on each of the nodes?
2. Do all the nodes get registered in trove db and if resin what structure/schema?
3. How does the hierarchy of instance->nodes get represented in trove and does having the heat stack-id inclusion there makes sense?

This is the second step in the heat integration which should lead to the third step of designing clustering/replication amongst the nodes in a articular instance.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Not
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon next
Completed by
Amrith Kumar on 2016-10-12

Related branches

Sprints

Whiteboard

I suppose that this part of heat integration relays on Trove clustering. -- dmakogon
Even for single instances we need to have heat stacks tracked somehow - hub_cap
This is decoupled from clustering/replication and makes sense even with the current single instance implementation, agree with hub_cap - yogesh

[denis_makogon]
Task #0 - Save stack_id (High priority). https://blueprints.launchpad.net/trove/+spec/stack-id
Task #1 - Handle stack(resources) delete. [https://bugs.launchpad.net/trove/+bug/1269013]
Task #2 - Update stack.
Task #2.1 - Resize instance via stack_update.
Task #2.2 - Resize volume via stack_update.
Task #2.3 - Update security group via stack_update.

Depends on:
- https://blueprints.launchpad.net/heat/+spec/update-cinder-volume
- https://blueprints.launchpad.net/heat/+spec/handle-update-for-security-groups

[/denis_makogon]

Gerrit topic: https://review.openstack.org/#q,topic:bp/heat-firstclass-citizen-in-trove,n,z

Addressed by: https://review.openstack.org/67873
    Add stack_id for future usage

Addressed by: https://review.openstack.org/70355
    Update delete method for heat flow

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.