Simplex upgrade corrupts /etc/platform/platform.conf file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Yuxing |
Bug Description
Brief Description
-----------------
When an AIO-SX (simplex) upgrade is done, the /etc/platform/
[root@controller-0 log(keystone_
nodetype=controller
subfunction=
system_
security_
http_port=8080
INSTALL_
UUID=4fac1c66-
region_
sdn_enabled=no
region_config=yes
distributed_
system_mode=simplex
region_
sw_version=20.06
security_
vswitch_type=none
management_
region_config=True
security_
http_port=8080
region_
sdn_enabled=no
region_config=yes
distributed_
system_mode=simplex
region_
security_
vswitch_type=none
region_config=True
cluster_
oam_interface=eno1
Additionally, when this file is being updated (and during database migrations) the new sysinv-fpga-agent process is left running, which could cause problems if it accesses the file (or the database) before the data migration is complete.
Severity
--------
Major: We haven't seen any specific breakages yet, but there is the risk this is going to cause issues on an AIO-SX system that has been upgraded.
Steps to Reproduce
------------------
Upgrade an AIO-SX from one release to another (e.g. stx.4.0 to stx.5.0).
Expected Behavior
------------------
The /etc/platform/
Actual Behavior
----------------
The file ends up with duplicate entries. The sysinv-fpga-agent service is not stopped.
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX (One node system)
Branch/Pull Time/Commit
-------
Seen in stx.4.0 load.
Last Pass
---------
Never
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Feature Testing
Workaround
----------
None
tags: | added: stx.update |
Changed in starlingx: | |
assignee: | nobody → David Sullivan (dsullivanwr) |
Changed in starlingx: | |
assignee: | David Sullivan (dsullivanwr) → Yuxing (yuxing) |
stx.5.0 / medium - should be cleaned up as part of further upgrade framework support