Support an Alternative Backup Restore Procedure

This code change is to support system backup and restore
without reinstalling storage nodes.

The config_controller command is modified as follows:

  A new option is added to system restore command
  "config_controller --restore-system <name>" with default set
  to exclude-storage-reinstall.

  config_controller --restore-system <include-storage-reinstall |
      exclude-storage-reinstall> <name>

Add a new command "tidy_storage_post_restore" to be run after
the restore. It scans Cinder/Glance and rbd backend for any
discrepancy between the two and generates a user action log file.

This code change has been tested on a virtual box as well as
hardware lab.

Story: 2004184
Task: 27672
Change-Id: I5e64fde70b977ea4bc3a5927bcbd852a393caec2
Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
This commit is contained in:
Wei Zhou
2018-10-26 12:00:43 -04:00
parent 2b3da19436
commit 2b6f92da1b
14 changed files with 736 additions and 18 deletions

View File

@@ -1,2 +1,2 @@
SRC_DIR="cgts-client"
TIS_PATCH_VER=60
TIS_PATCH_VER=61