Service hook
Most of the openStack services use oslo.service to launch their components including api and backends. It provides to launch the comonent with 1+ workers. Sometime cloud operators wants to do their actions before and after starting the components based on their needs . so this blueprint is filed to incorporate such features in oslo.service projects.
As the pre and post actions are dynamically available, its better to make them as configurable as below:
[oslo_service]
List of of pre-hook executed in sequence
pre-hook=<comman separated pyton module used as hooks>
List of of pre-hook executed in sequence
post-hook=<comman separated pyton module used as hooks>
And make sure, the hooks run between try... except .... to make sure this does not break the service startup/stop.
Blueprint information
- Status:
- Not started
- Approver:
- Joshua Harlow
- Priority:
- Undefined
- Drafter:
- Kanagaraj Manickam
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by