DC rehoming - Subcloud rehoming fail to update smapi attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Yuxing |
Bug Description
Brief Description
DC rehoming - Subcloud rehoming fail to update smapi attribute
Error:
TASK [rehome-
Friday 13 October 2023 19:43:50 +0000 (0:00:00.275) 0:02:57.373 ********
fatal: [subcloud1]: FAILED! =>
msg: '''dict object'' has no attribute ''smapi'''
-------
smapi does not exist in /var/opt/
root@controller
root@controller
Severity
<Critical: System/Feature is not usable after the defect>
Steps to Reproduce
Upgrade target SystemController
Verify is the target SystemController is able to run playbooks from inactive load
Import --inactive load (this is required to feed 21.12/playbook with 21.12 playbooks, such as rehome playbook)
run subcloud rehoming playbook
Expected Behavior
The subcloud running inactive load should be rehomed successfully
Actual Behavior
The subcloud fails to be rehomed
Reproducibility
100% reproducible
System Configuration
Dc
Load info (eg: 2022-03-
cat /etc/build.info
SW_VERSION="22.12"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
SRC_BUILD_
BUILD_BY="jenkins"
BUILD_NUMBER="50"
BUILD_HOST=
BUILD_DATE=
sysadmin@
Patch ID RR Release Patch State
=======
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_21.
WRCP_22.
WRCP_22.
WRCP_22.
Last Pass
new test scenario.
Timestamp/Logs
Alarms
no alarms
Test Activity
Feature Testing
Workaround
no workarounds
Changed in starlingx: | |
assignee: | nobody → Yuxing (yuxing) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distcloud |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/898508
Review: https:/