Backup and restore operation fails on a subcloud that was migrated to a non-primary site
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Gustavo Herzmann |
Bug Description
Brief Description
-----------------
During geo-redundancy feature testing, when attempting to run backup and restore on a subcloud that was migrated to the non-primary site, the restore operation fails due to a missing install values.
Severity
--------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
------------------
1) Perform subcloud-peer-group migration from site1 to site2
2) Create the backup for the subclouds through below command:
dcmanager subcloud-backup create --subcloud subcloud3 --sysadmin-password Li69nux*
3) Restore a subcloud, including remote installation, from system backup data in central storage:
[sysadmin@
The server could not comply with the request since it is either malformed or otherwise incorrect. The restore operation was requested with_install, but the following subcloud(s) does not contain install values: subcloud3
ERROR (app) Unable to restore subcloud backup
Expected Behavior
------------------
Subcloud Restore should be successful
Actual Behavior
----------------
Subcloud restoration is failing
Reproducibility
---------------
100% reproducible
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
Master (2023-01-16)
Last Pass
---------
This is the first time attempting this test
Timestamp/Logs
--------------
[sysadmin@
The server could not comply with the request since it is either malformed or otherwise incorrect. The restore operation was requested with_install, but the following subcloud(s) does not contain install values: subcloud3
ERROR (app) Unable to restore subcloud backup
Test Activity
-------------
Feature Testing
Workaround
----------
Use the following command to update the subcloud with the install values, populating the data_install field, and then attempting to restore with --with-install again:
dcmanager subcloud update --install-values <install_
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distcloud stx.update |
Changed in starlingx: | |
assignee: | nobody → Gustavo Herzmann (gherzman) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/905973
Review: https:/