StarlingX Integration and packaging
Go to file
Eric MacDonald 4217f4ba6d Add setBootOveride config support to redfishtool
The recent upgrade of redfishtool from 1.1.5 to 1.1.8 introduced
a change that added a BootSourceOverrideMode key:value pair to the
payload of the 'setBootOverride Once <target>' patch request.

An issue was found were some or all servers from a manufacturer
exhibit undesirable behavior when the 'setBootOverride Once <target>'
patch request payload includes a BootSourceOverrideMode key:value pair.

The undesirable behavior ranges from outright command failure or
triggers the BMC to run a time consuming BIOS reconfiguraiton job
followed by an extra reboot.

This update remedies that by introducing a configuration file and
source code patch to the opensource redfishtool package and uses the
contents of the new configuraiton file and patch to change the
behavior of the setBootOverride command handling for select servers.

The configuration file contains a setBootOverride_overrides
section with two BootSourceOverrideMode exclude string lists,
one of server models and one of server manufacturers.

[setBootOverride_overrides]
   exclude_BootSourceOverrideMode_Models = "<model>", "<model>"
   exclude_BootSourceOverrideMode_Manufacturers = "<manufacturer>"

This update allows the new configuration file to be populated with
server model or manufacturer names that should exclude (not include)
the BootSourceOverrideMode as part of the payload thereby avoiding
the undesirable behavior.

If current server is found in either the models or manufacturers lists
then it is excluded from getting the BootSourceOverrideMode key:value
pair added to the 'setBootOverride Once <target>' patch request.

Test Plan:

PASS: Verify build and install of patched opensource redfishtool pkg
PASS: Verify install of AIO SX/AIO DX
PASS: - with/without excluded servers
PASS: - IPV4 and IPV6
PASS: Verify DC system install with HPE servers
PASS: Verify handling defaults to no exclusions if
PASS: - the new config file is missing
PASS: - the setBootOverride_overrides section is missing
PASS: - both exclude_BootSourceOverrideMode lists are missing
PASS: Verify handling when exclude_BootSourceOverrideMode lists
PASS: - are missing or empty.
PASS: - contain a badly formatted string like a missing a quote
PASS: Verify handling if a server provides an empty
PASS: - model string
PASS: - manufacturer string
PASS: Verify newly added debug logging (level 4 with -vvvv)
PASS: Verify HPE server setBootOverride Once Pxe works

Closes-Bug: 2091879
Change-Id: Idcee7be6edc62438fe29a9e8ce031ee94328e508
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2024-12-17 16:49:35 +00:00
base Debian: dnsmasq: fix multiple CVEs 2024-12-10 10:15:32 +08:00
bmc Add setBootOveride config support to redfishtool 2024-12-17 16:49:35 +00:00
centos-debian-compat Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
ceph/ceph Fix file descriptor inheritance in ceph.sh script 2024-12-04 17:13:32 +00:00
config Dynamize Postgres Auth Method Definition 2024-09-26 20:04:41 +02:00
database/mariadb/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Fix tox-docs failing sphinx 2023-08-29 16:52:04 -03:00
docker/python-docker/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
filesystem Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
golang-github-dev fix golang-github-golang-jwt-jwt-dev url 2024-01-31 10:39:34 -05:00
gpu/gpu-operator Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
grub Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
kata-containers/debian Changing Kata-container files path. 2024-10-28 15:58:45 -03:00
kubernetes Merge "Test kube-api server availability for longer time" 2024-12-03 21:56:41 +00:00
ldap Merge "Change ldapsetpasswd error message" 2024-06-03 16:24:57 +00:00
networking Correct support for gateway address checking in dual-stack 2024-09-09 10:30:31 -03:00
ostree install: Make sure the default driver is the in-tree drivers 2024-11-28 05:48:49 +00:00
python Debian: python3.9: fix multiple CVEs 2024-12-10 13:14:27 +08:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
security Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
storage-drivers/trident-installer/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
tools Update parse_schedtop to accomodate fields: D, bmax, cgroup 2024-11-19 14:00:32 -05:00
virt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.pylintrc tox: fixed warnings 2023-09-06 17:54:55 -03:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Zuul: Move jobs to debian-bullseye node 2024-12-03 18:11:56 +00:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Add kubernetes 1.30.6 package 2024-11-25 20:47:01 -05:00
debian_pkg_dirs Add kubernetes 1.30.6 package 2024-11-25 20:47:01 -05:00
debian_stable_docker_images.inc Disable n3000 container build 2024-07-03 10:43:52 -04:00
distroless_stable_docker_images.inc Remove Armada related packages from stx build 2023-09-27 18:58:13 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00
tox.ini Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00

integ

StarlingX Integration