Bug 1059254 - Add host fails - Modules sanlock are not configured
Summary: Add host fails - Modules sanlock are not configured
Keywords:
Status: CLOSED DUPLICATE of bug 1057225
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.4
Hardware: x86_64
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-29 13:52 UTC by Meni Yakove
Modified: 2014-09-28 06:36 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-29 13:54:37 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
host-deploy log (468.38 KB, text/x-log)
2014-01-29 13:52 UTC, Meni Yakove
no flags Details

Description Meni Yakove 2014-01-29 13:52:40 UTC
Created attachment 857080 [details]
host-deploy log

Description of problem:
Add host on DataCenter 3.4 fails with error:


2014-01-29 15:46:02 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:441 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout:
Starting multipathd daemon: [  OK  ]
Starting rpcbind: [  OK  ]
Starting wdmd: [  OK  ]
Starting sanlock: [  OK  ]
supervdsm start[  OK  ]
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running run_init_hooks
vdsm: Running gencerts
vdsm: Running check_is_configured
libvirt is already configured for vdsm
sanlock service requires restart
Modules sanlock are not configured
 vdsm: stopped during execute check_is_configured task (task returned with error code 1).
vdsm start[FAILED]

2014-01-29 15:46:02 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr:
initctl: Job is already running: libvirtd
Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 145, in <module>
    sys.exit(main())
  File "/usr/bin/vdsm-tool", line 142, in main
    return tool_command[cmd]["command"](*args[1:])
  File "/usr/lib64/python2.6/site-packages/vdsm/tool/configurator.py", line 261, in isconfigured
    raise RuntimeError(msg)
RuntimeError: 

One of the modules is not configured to work with VDSM.
To configure the module use the following:
'vdsm-tool configure [module_name]'.

If all modules are not configured try to use:
'vdsm-tool configure --force'
(The force flag will stop the module's service and start it
afterwards automatically to load the new configuration.)


2014-01-29 15:46:02 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-Zj3IreHdPQ/pythonlib/otopi/context.py", line 142, in _executeMethod
method['method']()
  File "/tmp/ovirt-Zj3IreHdPQ/otopi-plugins/ovirt-host-deploy/vdsm/packages.py", line 219, in _start
    self.services.state('vdsmd', True)
  File "/tmp/ovirt-Zj3IreHdPQ/otopi-plugins/otopi/services/rhel.py", line 188, in state
    'start' if state else 'stop'
  File "/tmp/ovirt-Zj3IreHdPQ/otopi-plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand
    raiseOnError=raiseOnError
  File "/tmp/ovirt-Zj3IreHdPQ/pythonlib/otopi/plugin.py", line 451, in execute
    command=args[0],
RuntimeError: Command '/sbin/service' failed to execute
2014-01-29 15:46:02 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute

Version-Release number of selected component (if applicable):
ovirt-host-deploy-1.2.0-0.0.master.20131217.git47e8a5d.el6.noarch
ovirt-engine-3.4.0-0.5.beta1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Add host to DataCenter 3.4

Actual results:
Fails

Expected results:
Should succeed.

Additional info:

Comment 1 Alon Bar-Lev 2014-01-29 13:54:37 UTC
please search first... :)

*** This bug has been marked as a duplicate of bug 1057225 ***


Note You need to log in before you can comment on or make changes to this bug.