[fuel-bootstrap] --include-kernel-module & --blacklist-kernel-module are not working

Bug #1526240 reported by Dmitry Kalashnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Aleksey Zvyagintsev

Bug Description

Steps to reproduce:
1. Build and activate bootstrap image:
  fuel-bootstrap build --ubuntu-release trusty --include-kernel-module core --blacklist-kernel-module fuse --package fuse --package sshfs --activate --notify-webui
2. Reboot any slave
3. SSH to slave with new bootstrap
4. Check lsmod | grep core & grep -r fuse /etc/modprobe.d/blacklist*

Expected result:
4. core is loaded and fuse is blacklisted

Actual result:
4. core is not loaded and fuse is not blacklisted

Dmitry Pyzhov (dpyzhov)
tags: added: team-telco
Revision history for this message
Aleksey Zvyagintsev (azvyagintsev) wrote :

Modification modules loading\unloading its tricky operation.
By default - each firmware package contain some postinstall scriptf wich perform:
1) Correct adding modules requirements in modprobe.d
2) Perform adding initrams modules and hooks
3) Perform rebuilding initramfs.

All this steps totally depends on firmware maintainer and we cant support all possible situations.

Conclusion:
1) --include-kernel-module & --blacklist-kernel-module will be remove from fuel-bootstrap tool scope
2) User still can add any customization to modules(by they own risk) with --script ${script} parameter

For example:
##
$ cat script
#!/bin/bash

echo "Adding user modification into bootstrap!"
echo '# add custom blacklist module, by bootstrap maintainer' >> /etc/modprobe.d/user_custom.conf
echo "blacklist fuse" >> /etc/modprobe.d/user_custom.conf
##

Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-specs (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/258544

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-agent (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/258624

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-specs (master)

Reviewed: https://review.openstack.org/258544
Committed: https://git.openstack.org/cgit/openstack/fuel-specs/commit/?id=0825396f41bf3614b04600d6f7b9d1749a648dac
Submitter: Jenkins
Branch: master

commit 0825396f41bf3614b04600d6f7b9d1749a648dac
Author: alexz <email address hidden>
Date: Wed Dec 16 16:43:02 2015 +0200

    [dynamically-build-bootstrap] Remove nonexistent options

    Change-Id: Ie87f8a44a9ab1de4eff06564d850276b6ab9578c
    Related-bug: #1526240

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-agent (master)

Reviewed: https://review.openstack.org/258624
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=082fcc56020aa91470896369e088a8decbfba03f
Submitter: Jenkins
Branch: master

commit 082fcc56020aa91470896369e088a8decbfba03f
Author: alexz <email address hidden>
Date: Wed Dec 16 18:43:27 2015 +0200

    [fuel-bootstrap] Remove nonexistent options

    Change-Id: Iec1936c438c8dd1a29492dd8352696d6be99b1fc
    Related-bug: #1526240

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.