Support senlin-manage service list

Registered by Ethan Lynn

This BP aims to add senlin engine status report. Since senlin support multi-engine and multi-host, but there's no way to check the status of these engines, this BP wil add command 'senlin-mange service list' for senlin.

Propose change:
1. Add db table to record engine status.
2. Add command senlin-mange service list to show senlin status.

the DB table for senlin engine will contain following columns:
ID : record id
engine_id: engine id
binary: for now we only have 'senlin-engine'
create_at:
update_at:
host: engine running host
topic: engine listening topic
disabled: disable this engine
disabled_reason: disabled reason

Blueprint information

Status:
Complete
Approver:
Qiming Teng
Priority:
Medium
Drafter:
Ethan Lynn
Direction:
Approved
Assignee:
Ethan Lynn
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-3
Started by
Qiming Teng
Completed by
Qiming Teng

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/267369
    Add 'service' table in db

Addressed by: https://review.openstack.org/267425
    Add db api for service table

Addressed by: https://review.openstack.org/270681
    Add periodic task to report engine status

Addressed by: https://review.openstack.org/270682
    Add senlin-manage service list/clean for engine status

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.