Restoring backup on upgraded system controller fails due to non ssl_ca installed as ssl_ca
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
In Progress
|
Undecided
|
Reinildes Oliveira |
Bug Description
Load Info
-------
stx 7
System Config
Distributed Cloud
Description of failure
-------
System controller was upgraded from stx 6 to stx 7 and backup was taken after upgrade. When the system controller was wiped and being re-deployed using the backup, it fails due to non ssl_ca being installed as ssl_ca previously.
Timestamp when failure occurred
2/21 @18:03:17
Steps to reproduce this issue
-------
1. Upgrade system controller from stx 6 to stx 7
2. Create backup after upgrade and save it on local machine
ansible-playbook /usr/share/
4. Wipe the system controller were wiped and install controller-0.
5. After installation, get the backup on controller-0 and initiate a restore but restore fails
ansible-playbook /usr/share/
-e "on_box_data=true
initial_
ansible_
backup_
restore_
***Error***
Timeout waiting for ssl_ca certificate install: /tmp/ca-cert.pem Err_code= failed_ssl_cert WARNING: Some certificates were not installed. Cannot install non-CA type certificate as SSL CA certificate
Reproducibility
-------
Issue intermittent (Frequency of occurrence) or 100% Reproducible?
Issue was reproduced
Impact on users
-------
Major, it breaks BnR
Logs
-------
2024-02-
initial_
ansible_
backup_
restore_
TASK [bootstrap/
Wednesday 21 February 2024 18:03:17 +0000 (0:00:04.797) 0:19:59.637 ****
fatal: [localhost]: FAILED! => changed=false
elapsed: 360
msg: |-
Timeout waiting for ssl_ca certificate install: /tmp/ca-cert.pem Err_code= failed_ssl_cert WARNING: Some certificates were not installed.
Cannot install non-CA type certificate as SSL CA certificate
Changed in starlingx: | |
assignee: | nobody → Reinildes Oliveira (rjosemat) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/910894
Review: https:/