IBM / StorageScaleVagrant

Example scripts and configuration files to install and configure IBM Storage Scale in a Vagrant environment
Apache License 2.0
16 stars 19 forks source link

Missmatch kernel and kernel-headers version #3

Closed neikei closed 5 years ago

neikei commented 5 years ago

Many thanks for the great project! 👍

Failure description

Unfortunately I could not reproduce the installation completely. There seems to be a mismatch with the kernel and kernel-headers. Maybe this is caused by the VirtualBox guest additions.

kernel.x86_64                        3.10.0-957.1.3.el7         @koji-override-1
kernel-devel.x86_64                  3.10.0-957.1.3.el7         @updates
kernel-devel.x86_64                  3.10.0-957.5.1.el7         @updates
kernel-headers.x86_64                3.10.0-957.5.1.el7         @updates

Setup

Setup Version / Configuration
Host OS Windows 10
VirtualBox 6.0.4 r128413
Vagrant 2.2.3
Vagrant Plugins vagrant-hostmanager, vagrant-vbguest, vagrant-winnfsd

Workaround

sudo yum downgrade kernel-headers-3.10.0-957.1.3.el7 
# Start scripts /vagrant/scripts/script-05.sh && /vagrant/scripts/script-06.sh

Error log

...
    m1: [ INFO  ] Checking pre-requisites for portability layer.
    m1: [ INFO  ] Detailed error log: /usr/lpp/mmfs/5.0.2.2/installer/logs/INSTALL-02-02-2019_13:09:27.log
    m1: [ FATAL ] m1.example.com: Pre requisite package not found on m1.example.com (Pre requisite: kernel-headers-3.10.0-957.1.3.el7.x86_64). Ensure this is resolved before proceeding with the install toolkit.
    m1: [ FATAL ] Pre requisite check failed on one or more nodes
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
PS C:\Users\Niklas\Desktop\Projekte\SpectrumScaleVagrant_IBM\single> vagrant ssh
[vagrant@m1 ~]$ uname -a
Linux m1 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[vagrant@m1 ~]$ sudo yum install kernel-headers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.wiuwiu.de
 * extras: ftp.rz.uni-frankfurt.de
 * updates: mirror.wiuwiu.de
Package kernel-headers-3.10.0-957.5.1.el7.x86_64 already installed and latest version
Nothing to do
[vagrant@m1 ~]$ tail -n 15 /usr/lpp/mmfs/5.0.2.2/installer/logs/INSTALL-02-02-2019_13:09:27.log
2019-02-02 13:09:41,008 [ TRACE ] Thread Thread-4 for m1.example.com has finished.
2019-02-02 13:09:41,008 [ FATAL ] m1.example.com: Pre requisite package not found on m1.example.com (Pre requisite: kernel-headers-3.10.0-957.1.3.el7.x86_64). Ensure this is resolved before proceeding with the install toolkit.
2019-02-02 13:09:41,009 [ TRACE ] Stopping chef zero
2019-02-02 13:09:41,009 [ ERROR ] The following error was encountered:
Traceback (most recent call last):
  File "/usr/lpp/mmfs/5.0.2.2/installer/espylib/reporting.py", line 206, in log_to_file
    yield handler
  File "/usr/lpp/mmfs/5.0.2.2/installer/espylib/install.py", line 208, in _install
    setup.pre_check(config)
  File "/usr/lpp/mmfs/5.0.2.2/installer/espylib/setup/gpfs.py", line 629, in pre_check
    config.nodes_not_in_cluster
  File "/usr/lpp/mmfs/5.0.2.2/installer/espylib/systemfunctions.py", line 798, in parallel_task
    raise FriendlyError("Pre requisite check failed on one or more nodes")
FriendlyError: Pre requisite check failed on one or more nodes
2019-02-02 13:09:41,011 [ INFO  ] Detailed error log: /usr/lpp/mmfs/5.0.2.2/installer/logs/INSTALL-02-02-2019_13:09:27.log
[vagrant@m1 ~]$ sudo yum list installed | grep kernel
kernel.x86_64                        3.10.0-957.1.3.el7         @koji-override-1
kernel-devel.x86_64                  3.10.0-957.1.3.el7         @updates
kernel-devel.x86_64                  3.10.0-957.5.1.el7         @updates
kernel-headers.x86_64                3.10.0-957.5.1.el7         @updates
kernel-tools.x86_64                  3.10.0-957.1.3.el7         @koji-override-1
kernel-tools-libs.x86_64             3.10.0-957.1.3.el7         @koji-override-1
troppens commented 5 years ago

The fix you provided should resolve the issue. Thanks!