[Openstack] [Fuel] How do you prevent Fuel 8 from updating the kernel during OS provisioning

Alexander Gordeev agordeev at mirantis.com
Tue Jul 12 12:56:54 UTC 2016


Hi,

> How do you prevent Fuel 8 from updating the kernel during OS provisioning
of a slave node?

The most native solution will be providing of DKMS package for your driver,
so it gets automatically rebuild against the installed kernel version.

Once you've done with DKMS package, you'll need to create a repository with
your package and then specify this repository at the cluster settings with
the highest priority among any other.

If this isn't an option, you could proceed with manual intervention into
already build images.

Please be aware, that it's way too fragile and error prone process.

Those images are stored under /var/www/nailgun/targetimages directory. Two
images are always being produced, one for /boot and another one for /
filesystem.

In short, you should unpack the images, construct chroot environment (by
mounting them over loopback devices under specific order and proper
mounting points), install all your packages/downgrade kernel version in the
chroot. Unmount everything, repack images and recalculate md5 checksums in
yml file.

I'm up to DKMS package, it's a lot easier and much more maintainable
solution compared to a dozen of manual steps for modifying already build
images.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160712/d9ac07e8/attachment.html>


More information about the Openstack mailing list