[node-patches] Change in ovirt-node[master]: update: Make sure to use the right kernel modules

fabiand at redhat.com fabiand at redhat.com
Thu Oct 22 17:55:44 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: update: Make sure to use the right kernel modules
......................................................................


update: Make sure to use the right kernel modules

The initramfs rebuild suffered from the fact that in the Engine upgrade flow, the running
kernel and the modules available in /lib/modules did not match the updated kernel version,
this is because the new rootfs would only become effective on the next boot.
This is a problem because dracut has assumptions.

This patch does some tricks - mainly mounting /lib/modules and /boot into the right
places - to enable dracut to work nicely.

Change-Id: Ie893e722e24b1dd2e8e41970e16091d83c65dad8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1270228
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M ovirt-node.spec.in
R scripts/ovirt-node-rebuild-initramfs
M src/ovirt/node/utils/system.py
M src/ovirtnode/install.py
4 files changed, 119 insertions(+), 21 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/47614
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie893e722e24b1dd2e8e41970e16091d83c65dad8
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list