AIO-SX Subcloud Rehoming in parallel - Exception when installing system_root_ca_cert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Marcelo de Castro Loebens |
Bug Description
Brief Description
-----------------
AIO-SX subcloud rehoming in parallel (10 subclouds simultaneously) is failing due to an exception in the playbook when trying to install system_root_ca_cert certificate as a Trusted CA certificate.
Severity
--------
Major.
Steps to Reproduce
------------------
- Deploy/Manage 10 AIO-SX subclouds
- Unamange/Check dates/Check subclouds are free of alarms
- From another SystemController, migrate/rehome 10 subclouds in parallel
Expected Behavior
------------------
Subclouds migrated to the new System Controller.
Actual Behavior
----------------
Some subclouds may fail when trying to install system_
Reproducibility
---------------
Intermittent (~20% of subclouds in 10 parallel rehoming)
System Configuration
-------
2 DX SystemControllers + 10 SX subclouds
Branch/Pull Time/Commit
-------
master
Last Pass
---------
NA
Timestamp/Logs
--------------
TASK [common/
Thursday 13 July 2023 10:25:03 +0000 (0:00:00.017) 0:01:33.929 *********
FAILED - RETRYING: Install system_root_ca_cert certificate as a Trusted CA certificate (3 retries left).
FAILED - RETRYING: Install system_root_ca_cert certificate as a Trusted CA certificate (2 retries left).
FAILED - RETRYING: Install system_root_ca_cert certificate as a Trusted CA certificate (1 retries left).
fatal: [subcloud2001]: FAILED! => changed=true
attempts: 3
cmd: source /etc/platform/
delta: '0:01:56.588025'
end: '2023-07-13 10:41:03.562522'
msg: non-zero return code
rc: 1
start: '2023-07-13 10:39:06.974497'
stderr: 'Certificate /tmp/ca_
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>PLAY RECAP *******
subcloud2001 : ok=55 changed=33 unreachable=0 failed=1 skipped=43 rescued=0 ignored=0
Test Activity
-------------
Feature Testing (https:/
Workaround
----------
NA
Changed in starlingx: | |
status: | New → In Progress |
assignee: | nobody → Marcelo de Castro Loebens (mdecastr) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distcloud |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/890438
Review: https:/