Bug 1371928 - Cannot deploy Gluster host.
Summary: Cannot deploy Gluster host.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: Documentation
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Anjana Suparna Sriram
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 12:45 UTC by Andrei Stepanov
Modified: 2018-04-16 18:17 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 18:17:12 UTC
Target Upstream Version:


Attachments (Terms of Use)
ovirt-host-deploy-20160831143804-astepano-ws.brq.redhat.com-be5e94.log (226.14 KB, text/plain)
2016-08-31 12:45 UTC, Andrei Stepanov
no flags Details

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.


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