Debian: kernel and initrd image patching are not synced

Bug #1995990 reported by Jessica Castelino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Jessica Castelino

Bug Description

Brief Description
---------------------------------------------------------------------------------------------
Kernel and initrd patching works today for an existing installed system.

The issue is that because the /var/pxeboot/rel-xx.xx and /var/www/pages/feed/rel-xx.xx dirs which contain the kernel/initrd images used to do system node installs are not provisioned by ostree automatically but rather by the kickstart, any kernel/initrd patch changes need to be synced to these directories before we allow any host re-installs or new installs so they get the patch current images.

Thus, after patching of a controller, we need a script to run which syncs the kernel/initrd images from /boot to the /var/pxeboot/rel-xx.xx and feed dir before we install new nodes or re-install any existing nodes so that they get the patch current kernel/initrd images.

Severity
---------------------------------------------------------------------------------------------
Minor

Steps to Reproduce
---------------------------------------------------------------------------------------------
Apply and install a kernel patch

Expected Behavior
---------------------------------------------------------------------------------------------
The kernel and intrd images should be synced to /boot to the /var/pxeboot/rel-xx.xx and feed dir before we install new nodes or re-install any existing nodes

Actual Behavior
---------------------------------------------------------------------------------------------
The kernel and intrd images are not synced to /boot to the /var/pxeboot/rel-xx.xx and feed dir before we install new nodes or re-install any existing nodes

Reproducibility
---------------------------------------------------------------------------------------------
100% reproducible

System Configuration
---------------------------------------------------------------------------------------------
All

Load info (eg: 2022-03-10_20-00-07)
---------------------------------------------------------------------------------------------
27th Oct, 2022

Last Pass
---------------------------------------------------------------------------------------------
New test scenario.

Timestamp/Logs
---------------------------------------------------------------------------------------------
N/A

Alarms
---------------------------------------------------------------------------------------------
N/A

Test Activity
---------------------------------------------------------------------------------------------
Developer Testing

Workaround
---------------------------------------------------------------------------------------------
Manually copy it

Changed in starlingx:
assignee: nobody → Jessica Castelino (jcasteli)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on update (master)

Change abandoned by "Jessica Castelino <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/update/+/864063
Reason: The script that patching was supposed to run as a part of this commit, is run during reboot (/etc/init.d/pxeboot_feed.sh). Since kernel patches are always RR, this script will run on host-unlock and we don't need additional changes within patch-agent for it.

Ghada Khalil (gkhalil)
tags: added: stx.debian stx.update
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.