Hide Forgot
Description of problem: I am making a test setup with RHEL6.7 and oVirt 3.5. oVirt engine setup is done but I am unable to add a RHEL 6.7 host to oVirt engine due to the missing packages in 3.5 repo. Here is the error message in host deploy logs: ---- 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2016-02-02 06:00:31 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:97 Yum [u'vdsm-4.16.30-0.el6.x86_64 requires sanlock-python', u'vdsm-4.16.30-0.el6.x86_64 requires sanlock >= 2.8', u'vdsm-4.16.30-0.el6.x86_64 requires libvirt-lock-sanlock'] ---- Version-Release number of selected component (if applicable): oVirt 3.5 RHEL 6.7 # rpm -qi ovirt-release35-006-1.noarch Name : ovirt-release35 Relocations: (not relocatable) Version : 006 Vendor: (none) Release : 1 Build Date: Tue 10 Nov 2015 01:13:56 PM IST Install Date: Tue 02 Feb 2016 06:08:17 AM IST Build Host: fc21-vm11.phx.ovirt.org Group : System Environment/Base Source RPM: ovirt-release35-006-1.src.rpm Size : 7398 License: ASL 2.0 Signature : RSA/SHA1, Tue 10 Nov 2015 03:11:56 PM IST, Key ID ab8c4f9dfe590cb7 URL : http://www.ovirt.org Summary : oVirt repository configuration Description : This package contains the yum configuration for oVirt repositories How reproducible: 100% reproducible Steps to Reproduce: 1. Use ovirt-release35-006-1.noarch package on RHEL6.7 host and try to add it to oVirt manager, installation will fail with below message: ===== 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2016-02-02 06:00:31 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:97 Yum [u'vdsm-4.16.30-0.el6.x86_64 requires sanlock-python', u'vdsm-4.16.30-0.el6.x86_64 requires sanlock >= 2.8', u'vdsm-4.16.30-0.el6.x86_64 requires libvirt-lock-sanlock'] 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2016-02-02 06:00:31 DEBUG otopi.context context._executeMethod:152 method exception 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND Traceback (most recent call last): 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-cpIZM7bMzK/pythonlib/otopi/context.py", line 142, in _executeMethod 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND method['method']() 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-cpIZM7bMzK/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND if self._miniyum.buildTransaction(): 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-cpIZM7bMzK/pythonlib/otopi/miniyum.py", line 917, in buildTransaction 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND raise yum.Errors.YumBaseError(msg) 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND YumBaseError: [u'vdsm-4.16.30-0.el6.x86_64 requires sanlock-python', u'vdsm-4.16.30-0.el6.x86_64 requires sanlock >= 2.8', u'vdsm-4.16.30-0.el6.x86_64 requires libvirt-lock-sanlock'] 2016-02-02 06:00:31 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2016-02-02 06:00:31 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Package installation': [u'vdsm-4.16.30-0.el6.x86_64 requires sanlock-python', u'vdsm-4.16.30-0.el6.x86_64 requires sanlock >= 2.8', u'vdsm-4.16.30-0.el6.x86_64 requires libvirt-lock-sanlock'] ======== Actual results: Failed to add host to oVirt Engine Expected results: Should be able to add RHEL based host to oVirt engine without any package issue
Just trying to check if the package is available or not in ovirt 3.5 repo and getting the same error as above: ====== Error: Package: vdsm-4.16.30-0.el6.x86_64 (ovirt-3.5) Requires: libvirt-lock-sanlock Error: Package: vdsm-4.16.30-0.el6.x86_64 (ovirt-3.5) Requires: sanlock >= 2.8 Error: Package: vdsm-4.16.30-0.el6.x86_64 (ovirt-3.5) Requires: sanlock-python You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest ====== Now sure how it missed in the ovirt 3.5 repo. Thanks, Uday
This seems like a releng issues. Putting on Joey to examine.
Can you please provide the output of: "yum repolist enabled" ?
If you're using upstream packages you'll need to enabled to optional channel in RHEL to get the sanlock related packages.
(In reply to Joey Boggs from comment #4) > If you're using upstream packages you'll need to enabled to optional channel > in RHEL to get the sanlock related packages. Closing as not a bug. Please reopen if even enabling optional channel you can't find sanlock.