When dealing with a subcloud where Centos and SystemController have
already been upgraded to Debian, Horizon encounters difficulties
loading Host Inventory and Software Management pages. This issue
arises due to variations in host attributes between different
versions.
To address this, any expected but missing attributes will be
assigned default values before loading the page.
Additionally, adding a fix for issues with sphinx version for this package
Test Plan:
- Select the target subcloud with the previous version. Navigate to
Platform -> Host Inventory and confirm the successful loading of
the Host table.
- Select the target subcloud. Navigate to Platform -> Host Inventory
and confirm the ability to load the Edit Host modal and Host
details.
- Select the target subcloud. Navigate to Platform -> Software
Management and confirm the successful loading of patch details for
this host.
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 892575 /opendev. org/starlingx/ gui/commit/ 99ece544e54b503 0581c5ec0939c64 9fa2c163f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 99ece544e54b503 0581c5ec0939c64 9fa2c163f6
Author: fperez <email address hidden>
Date: Wed Aug 23 15:28:57 2023 -0300
Fix for Horizon inventory in subclouds upgrade
When dealing with a subcloud where Centos and SystemController have
already been upgraded to Debian, Horizon encounters difficulties
loading Host Inventory and Software Management pages. This issue
arises due to variations in host attributes between different
versions.
To address this, any expected but missing attributes will be
assigned default values before loading the page.
Additionally, adding a fix for issues with sphinx version for this package
Test Plan:
- Select the target subcloud with the previous version. Navigate to
Platform -> Host Inventory and confirm the successful loading of
the Host table.
- Select the target subcloud. Navigate to Platform -> Host Inventory
and confirm the ability to load the Edit Host modal and Host
details.
- Select the target subcloud. Navigate to Platform -> Software
Management and confirm the successful loading of patch details for
this host.
closes-bug: 2032838
Signed-off-by: fperez <email address hidden> 87d4c55f823d1da e793fe2df35
Change-Id: I671fcca81c14a7