Bug 1371928

Summary: Cannot deploy Gluster host.
Product: Red Hat Gluster Storage Reporter: Andrei Stepanov <astepano>
Component: DocumentationAssignee: Anjana Suparna Sriram <asriram>
Status: CLOSED WONTFIX QA Contact: Rahul Hinduja <rhinduja>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: bugs, dcadzow, knarra, pzhukov, rhs-bugs, sankarshan, sasundar, storage-doc, storage-qa-internal, tjelinek, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-16 18:17:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ovirt-host-deploy-20160831143804-astepano-ws.brq.redhat.com-be5e94.log none

Description Andrei Stepanov 2016-08-31 12:45:16 UTC
Created attachment 1196358 [details]
ovirt-host-deploy-20160831143804-astepano-ws.brq.redhat.com-be5e94.log

Description of problem: Provisioning of gluster host fails.

ovirt-engine-4.0.3-0.1.el7ev.noarch


1. Log in admin portal
1. Create a new host in a gluster cluster.
2. Try to install gluster software


Installation fails with:

	
Host astepano-ws installation failed. Command returned failure code 1 during SSH session 'root.redhat.com'.
	
Installing Host astepano-ws. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20160831143804-astepano-ws.brq.redhat.com-be5e94.log'


Part of the log is:


2016-08-31 12:38:01 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Building transaction
2016-08-31 12:38:04 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum [u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-geo-replication >= 3.7.1', u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-server >= 3.7.1']
2016-08-31 12:38:04 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-AakWrgeItD/pythonlib/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/tmp/ovirt-AakWrgeItD/otopi-plugins/otopi/packagers/yumpackager.py", line 253, in _packages
    if self._miniyum.buildTransaction():
  File "/tmp/ovirt-AakWrgeItD/pythonlib/otopi/miniyum.py", line 919, in buildTransaction
    raise yum.Errors.YumBaseError(msg)
YumBaseError: [u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-geo-replication >= 3.7.1', u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-server >= 3.7.1']
2016-08-31 12:38:04 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': [u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-geo-replication >= 3.7.1', u'vdsm-gluster-4.18.11-1.el7ev.noarch requires glusterfs-server >= 3.7.1']
2016-08-31 12:38:04 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2016-08-31 12:38:04 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
Loaded plugins: product-id
2016-08-31 12:38:04 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/vdsm/vdsm.conf''
2016-08-31 12:38:04 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-08-31 12:38:04 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'True'
2016-08-31 12:38:04 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<class 'yum.Errors.YumBaseError'>, YumBaseError(), <traceback object at 0x2049a70>)]'
2016-08-31 12:38:04 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-08-31 12:38:04 INFO otopi.context context.runSequence:687 Stage: Pre-termination
2016-08-31 12:38:04 DEBUG otopi.context context.runSequence:691 STAGE pre-terminate

For full log see the attachment.

Comment 2 Andrei Stepanov 2016-08-31 16:44:06 UTC
Command:

subscription-manager repos --enable=rhel-7-server-rpms --enable=rh-gluster-3-for-rhel-7-server-rpms

Solves the issue


But, documentation at 

https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/installation-guide/

doesn't provide any information about requirements for gluster hosts provision.