Dc load-import: load-import --inactive does not feed controller-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Lindley Werner Soares Vieira |
Bug Description
Dc load-import: load-import --inactive does not feed controller-1
[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_22.
WRCP_22.
WRCP_22.
WRCP_22.
[sysadmin@
+----+-
| id | state | software_version |
+----+-
| 1 | active | 22.12 |
| 16 | inactive | 21.12 |
+----+-
[sysadmin@
rel-22.12
Note:
In the command lines above we can see that controller-1 has 21.12 playbooks, 21.12 deploy files BUT it does not have the FEED dir.
This impacts subcloud prestage to previous release using controller-1 as the active controller
Severity
<Minor: System/Feature is usable with minor issue>
Note: The workaround is to use controller-0 to run subcloud prestage
Steps to Reproduce
deploy systemcontroller with 22.12P4
import inactive load (We must use controller-0 for this step)
swact to controller-1
check feed directory
Expected Behavior
The feed directory should also be available on controller-1 side
Actual Behavior
The feed directory is not available on controller-1 side
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=
sw-patch query
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_22.
WRCP_22.
WRCP_22.
WRCP_22.
patch4 from Nov 14th
Last Pass
new test scenario.
Timestamp/Logs
no logs collected. Let me know if collecting logs is usufull
Alarms
no alarms
Test Activity
Regression Testing
Workaround
Use controller-0 for prestage to previous release operation
Changed in starlingx: | |
assignee: | nobody → Lindley Werner Soares Vieira (lindley-vieira) |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.distcloud |
Reviewed: https:/ /review. opendev. org/c/starlingx /update/ +/902336 /opendev. org/starlingx/ update/ commit/ c8a7941a21688e5 441163636ca77ea d194bec1d4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c8a7941a21688e5 441163636ca77ea d194bec1d4
Author: Lindley Werner <email address hidden>
Date: Thu Nov 30 19:22:45 2023 -0300
Fix: load-import not feed controller-1
When doing load-import operation, the /var/www/ pages/feed/ files must
be replicated in both controllers. The files were being created in
controller-0, but they were not copied to controller-1.
This fix added a way to get all the folders from one controller to c197015e636e03d e1bc96de28b
another and sync them with ostree the explanation is in the following
commit: I42c274079631a3
Test-plan:
PASS: After a load-import, the inactive controller should have the
feed repo created.
Closes-bug: 2045321
Change-Id: I260951461d2c19 550e9f57ad7ab9e c66a25de5bb
Signed-off-by: Lindley Werner <email address hidden>