When performing the BnR procedure with the wipe_ceph_osds
flag and the rook-ceph backend configured, an error was
given when removing the app.
This happened because a restore in progress check in the
DB was done in the app's lifecycle and false was always
returned, as the insert had not yet been performed before
this task.
To fix this, the database query has been replaced by
checking the '/etc/platform/.restore_in_progress' flag.
Test Plan:
- PASS: Build rook-ceph app
- PASS: optimized AIO-SX B&R with wipe_ceph_osds flag
- PASS: legacy STD + DX B&R with wipe_ceph_osds flag
Partial-Bug: 2086473
Change-Id: Ica3befe51ff08a53eb1b33af12e96fa4358e6c0f
Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
This project contains StarlingX Kubernetes application specific
python plugins for the rook ceph application. These plugins are required
to integrate the application into the StarlingX application framework
and to support the various StarlingX deployments.