distcloud/distributedcloud/centos
Tee Ngo 7f156476f9 Prevent unlimited growth of dcorch database
In this commit:
  - completed orch request is soft deleted right away.
  - failed orch requests that have not been soft deleted
    are soft deleted at the end of the next audit cycle.
  - prior to a sync run, if the managed subcloud has any
    queued, in-progress, and/or failed requests, its
    sync status will be set to out-of-sync.
  - a cron job that runs 20 minutes in the first hour
    daily (another commit in stx-puppet repo) will purge
    all soft deleted orch requests that are 3 days old,
    their orch jobs and resources.

Tests:
  - Identity and platform config changes with and
    without proxy.
  - Database inspection after config changes and after
    soak.
  - Purge of large number of orch requests, orch jobs
    and resources.

Story: 2007267
Task: 39044
Change-Id: If5c75b9af3e1e20c010308919cb6be8f11575546
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2020-04-30 10:55:12 -04:00
..
files Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
build_srpm.data Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
distributedcloud.spec Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
stx-keystone-api-proxy.dev_docker_image OpenStack-Keystone Proxy Containerization 2019-11-04 14:36:50 -05:00
stx-keystone-api-proxy.stable_docker_image Update keystone-api-proxy container dependencies 2019-11-04 14:36:50 -05:00