Support senlin-manage service list
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:
-
mitaka-3
- Started by
- Qiming Teng
- Completed by
- Qiming Teng
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add 'service' table in db
Addressed by: https:/
Add db api for service table
Addressed by: https:/
Add periodic task to report engine status
Addressed by: https:/
Add senlin-manage service list/clean for engine status