Red Hat Bugzilla – Bug 847515
Not all required kernel modules are loaded for the sanlock to run (create NFS Storage Pool will fail)
Last modified: 2016-04-26 10:05:57 EDT
Description of problem:
On rhev-hypervisor6-6.3-20120808.0.rhev31.el6_3, (vdsm-4.9.6-27.0.el6_3.x86_64) sanlock service is not running because not all required kernel modules are loaded. Create storage pool fails as a result.
[root@white-vdse ~]# /etc/init.d/wdmd start
Loading the softdog kernel module: FATAL: Could not open '/lib/modules/2.6.32-279.5.1.el6.x86_64/kernel/drivers/watchdog/softdog.ko': No such file or directory
Starting wdmd: [ OK ]
Error from vdsm.log:
Thread-276::INFO::2012-08-12 11:05:02,613::safelease::160::SANLock::(acquireHostId) Acquiring host id for domain 95e87338-e784-42e1-a0ec-25901ba7c336 (id: 250)
Thread-276::ERROR::2012-08-12 11:05:02,614::task::853::TaskManager.Task::(_setError) Task=`c2be8ab3-b760-4654-a291-c1f8b179741c`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 861, in _run
File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
File "/usr/share/vdsm/storage/hsm.py", line 788, in createStoragePool
File "/usr/share/vdsm/storage/sp.py", line 569, in create
File "/usr/share/vdsm/storage/sp.py", line 510, in _acquireTemporaryClusterLock
File "/usr/share/vdsm/storage/sd.py", line 415, in acquireHostId
File "/usr/share/vdsm/storage/safelease.py", line 175, in acquireHostId
AcquireHostIdFailure: Cannot acquire host id: ('95e87338-e784-42e1-a0ec-25901ba7c336', SanlockException(2, 'Sanlock lockspace add failure', 'No such file or directory'))
bug marked as test blocker as it fails many testcases in rhev-h rest api test.
Created attachment 603775 [details]
Created attachment 603777 [details]
whole 'watchdog' driver directory is missing:
[root@white-vdse ~]# ls /lib/modules/2.6.32-279.5.1.el6.x86_64/kernel/drivers/
ata cdrom cpufreq dma firmware infiniband message pci uio vhost
block char dca edac idle md net scsi usb virtio
Upstream is already fixed to include the watchdog directory
Patch is already included in 6.4 stream.
1. If set compatibility version to 3.0 when create data centers, connect NFS/iscsi/FC storage can successful.
2. If set compatibility version to 3.1, can reproduce the same issue.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.