Create a heat-manage tool similar to nova-manage etc

Registered by Steven Hardy

Currently we have several scripts doing things like populating our DB etc, whereas other openstack projects have a "mange" tool, which allows configuration of the service (e.g nova-manage, glance-manage, keystone-mange etc)

We should create a new tool encapsulating out existing configuration logic - also this will make it easier to support things like non-local databases, and replace development-orientated scripts like heat-db-setup

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Angus Salkeld
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Angus Salkeld
Completed by
Angus Salkeld

Related branches

Whiteboard

The heat.db.sync script added in https://github.com/openstack/heat/commit/16cd2030aaa86cb040d028a1038daf07e54b19ee now does the db-sync part. To turn this script into heat-manage, we just need to add support for different commands ("db sync" and "db version" are the two DB-related commands in nova-manage... other projects use an underscore, and we should follow suit).

Gerrit topic: https://review.openstack.org/#q,topic:bp/heat-manage,n,z

Addressed by: https://review.openstack.org/30578
    Update the oslo code before importing a new module

Addressed by: https://review.openstack.org/30579
    Bring in oslo.cliutils for heat-manage

Addressed by: https://review.openstack.org/30580
    Add a basic heat-manage

Gerrit topic: https://review.openstack.org/#q,topic:heat-manage,n,z

Addressed by: https://review.openstack.org/414525
    Sanitize newly added heat-manage command

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.