Heat Stack Plugin

Registered by Travis Tripp

Summary
=======

Provide searching of Heat deployed stacks.

Problem Statement
===============
Templates (deployed stacks), can get very complex with nested templates. Searching them is difficult.

Unfortunately, notifications don't contain the actual template so we'd need to request it from the API.

Description
=========

Contact: Heat (<email address hidden>)

Heat provides a stack API for initial indexing and also provides notifications that can be subscribed to.

See https://wiki.openstack.org/wiki/SystemUsageData#orchestration.stack..7Bcreate.2Cupdate.2Cdelete.2Csuspend.2Cresume.7D..7Bstart.2Cerror.2Cend.7D:

Requirements Update Required
========================
python-heatclient

Blocked (or awaiting decision) on https://bugs.launchpad.net/heat/+bug/1466694; not possible to query the API for another user's stacks but the notifications are missing several useful fields.

Blueprint information

Status:
Started
Approver:
None
Priority:
High
Drafter:
Travis Tripp
Direction:
Approved
Assignee:
Steve McLellan
Definition:
Discussion
Series goal:
Accepted for ocata
Implementation:
Blocked
Milestone target:
None
Started by
Steve McLellan

Related branches

Sprints

Whiteboard

Note that the actual stack template/parameters is not included with notifications; this might be a topic for the summit.

STACK CREATE:

{"event_type": "orchestration.stack.create.start", "payload": {"state_reason": "Stack CREATE started", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56.378444", "state": "CREATE_IN_PROGRESS"}, <STRIPPED CONTEXT DATA OUT>....}

"event_type": "orchestration.stack.create.end", "payload": {"state_reason": "Stack CREATE completed successfully", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56.378444", "state": "CREATE_COMPLETE"}, <STRIPPED CONTEXT DATA>.. }

STACK UPDATE:

{"event_type": "orchestration.stack.update.start", "payload": {"state_reason": "Stack UPDATE started", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56", "state": "UPDATE_IN_PROGRESS"}.... }

{"event_type": "orchestration.stack.update.end", "payload": {"state_reason": "Stack UPDATE completed successfully", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56", "state": "UPDATE_COMPLETE"}, ... }

STACK DELETE

{"event_type": "orchestration.stack.delete.start", "payload": {"state_reason": "Stack DELETE started", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56", "state": "DELETE_IN_PROGRESS"}, .... }

{"event_type": "orchestration.stack.delete.end", "payload": {"state_reason": "Stack DELETE completed successfully", "user_id": null, "stack_identity": "2b9fe9c1-3044-4cc9-83da-28192b42acbe", "stack_name": "test-stack", "tenant_id": "501e7e3f3f204a088c4c8a2e98ca734a", "create_at": "2016-02-29T22:15:56", "state": "DELETE_COMPLETE"}, .... }

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.