Subcloud Backup operation failed - backup_user_local_registry and backup_registry_filesystem always set to TRUE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thiago Paiva Brito |
Bug Description
*+Brief Description+*
Subcloud backup operation failed, because of two variables backup_
I get following error when I execute subcloud backup:
{code:java}
dcmanager subcloud-backup create subcloud6
dcmanager subcloud-backup create --subcloud subcloud6 --backup-values test_overrides.yml
cat test_overrides.yml
backup_
backup_
sudo cat /var/opt/
---
central_backup_dir: "/opt/dc-
backup_
ansible_ssh_pass: "<password>"
backup_
admin_password: "<password>"
ansible_
local: false {code}
{code:java}
stdout: |2-
PLAY [all] *******
TASK [backup/
Tuesday 13 September 2022 20:53:45 +0000 (0:00:00.066) 0:00:00.066 *****
fatal: [localhost]: FAILED! =>
msg: |-
The conditional check 'backup_
' failed. The error was: template error while templating string: no test named 'true'. String: {% if backup_
%} True {% else %} False {% endif %}
The error appears to have been in '/usr/share/
be elsewhere in the file depending on the exact syntax problem.
{code}
*+Severity+*
Provide the severity of the defect.
Critical: Unable to backup subcloud
*+Steps to Reproduce+*
dcmanager subcloud-backup create subcloud6
*+Expected Behavior+*
Backup operation successful
*+Actual Behavior+*
Backup operation failed
*+Reproducibility+*
Reproducible
*+System Configuration+*
DC system with subcloud
*+Load info (eg: 2022-03-
DEV LOAD
*+Last Pass+*
New feature
*+Timestamp/Logs+*
*+Alarms+*
{code:java}
dcmanager subcloud list
+----+-
| id | name | management | availability | deploy status | sync | backup status | backup datetime |
+----+-
| 1 | subcloud6 | managed | online | complete | in-sync | failed | None |
| 2 | subcloud8 | managed | online | complete | in-sync | None | None |
+----+-
[sysadmin@
+------
| Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 280.003 | Subcloud Backup Failure (subcloud=
| | | | | 1:55:17. |
| | | | | 022415 |
| | | | | |
| 200.006 | compute-0 'sm-eru' process has failed. Auto recovery in progress. | host=compute-0. | minor | 2022-09-13T1 |
| | | process=sm-eru | | 7:32:48. |
| | | | | 075530 |
| | | | | |
+------
{code}
*+Test Activity+*
Feature Testing
*+Workaround+*
No workaround
Changed in starlingx: | |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.distcloud stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/857764
Review: https:/