Subcloud backup fails to transfer backup file to SystemController
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Victor Romano |
Bug Description
Brief Description
-----------------
If a subcloud is installed with the same hostname as a previous one that was backup remotely using the System Controller, the backup of this new subcloud will fail.
Severity
--------
Minor
Steps to Reproduce
------------------
- Backup subcloud with System Controller
- Delete this subcloud and add another one with the same name
- Backup new subcloud
Expected Behavior
------------------
Backup is successful
Actual Behavior
----------------
Backup fails
Reproducibility
---------------
100% reproducible
System Configuration
-------
DC with any number of subclouds
Branch/Pull Time/Commit
-------
NA
Last Pass
---------
NA
Timestamp/Logs
--------------
subcloudN_
TASK [subcloud-
Saturday 04 March 2023 16:30:21 +0000 (0:00:00.018) 0:04:05.610 ********
FAILED - RETRYING: Transfer platform backup of subcloud1 to the system controller (3 retries left).
FAILED - RETRYING: Transfer platform backup of subcloud1 to the system controller (2 retries left).
FAILED - RETRYING: Transfer platform backup of subcloud1 to the system controller (1 retries left).
fatal: [subcloud1]: FAILED! => changed=true
attempts: 3
censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified for this result'
Test Activity
-------------
BnR test
Workaround
----------
Clear host key from the root known_hosts, replacing "subcloudN" for the hostname of the subcloud, like "subcloud1":
ssh-keygen -f "/root/
Changed in starlingx: | |
assignee: | nobody → Victor Romano (vgluzrom) |
tags: | added: stx.9.0 stx.con |
tags: |
added: stx.config removed: stx.con |
Changed in starlingx: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/877428
Review: https:/