fd57cb4372
This patch adds periodic task `sync_bay_status` which will be used for syncing bay's status from heat stack, we will pull bays which status in [bay_status.CREATE_IN_PROGRESS, bay_status.UPDATE_IN_PROGRESS, bay_status.DELETE_IN_PROGRESS] which are all in a temporary status, and try to sync up the status with heat's stack. status changes will be like this: bay_status stack_status sync up bay_status to ---------- ------------ --------------------- CREATE_IN_PROGRESS CREATE_COMPLETE CREATE_COMPLETE UPDATE_IN_PROGRESS UPDATE_COMPLETE UPDATE_COMPLETE DELETE_IN_PROGRESS DELETE_COMPLETE DELETE_COMPLETE CREATE_IN_PROGRESS CREATE_FAILED CREATE_FAILED UPDATE_IN_PROGRESS UPDATE_FAILED UPDATE_FAILED DELETE_IN_PROGRESS DELETE_FAILED DELETE_FAILED CREATE_IN_PROGRESS Not Found CREATE_FAILED UPDATE_IN_PROGRESS Not Found UPDATE_FAILED DELETE_IN_PROGRESS Not Found destroy Partial-Implements: blueprint add-periodic-task Co-Authored-By: ShaoHe Feng <shaohe.feng@intel.com> Change-Id: Ie9cc4d3f03c7938a8d988010604da79c9b8a22fd |
||
---|---|---|
.. | ||
__init__.py | ||
test_periodic.py |