Bug 1712798 - Improvements on Gluster Deployment in RHHI
Summary: Improvements on Gluster Deployment in RHHI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.4.z Async Update
Assignee: Sachidananda Urs
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1713929 (view as bug list)
Depends On:
Blocks: 1696810 1720334 1721475
TreeView+ depends on / blocked
 
Reported: 2019-05-22 09:25 UTC by bipin
Modified: 2019-10-03 07:58 UTC (History)
8 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-2, gluster-ansible-features-1.0.5-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1721475 (view as bug list)
Environment:
Last Closed: 2019-10-03 07:58:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2557 0 None None None 2019-10-03 07:58:34 UTC

Description bipin 2019-05-22 09:25:40 UTC
Description of problem:
======================
Raising the bug to improve the Gluster Deployment time taken in RHHI. We can remove few checks which might not be actually required.

Version-Release number of selected component (if applicable):
============================================================

How reproducible:
================


Steps to Reproduce:
==================
1.
2.
3.

Actual results:
==============

Expected results:
================


Additional info:
================

Comment 2 Sahina Bose 2019-05-22 09:36:53 UTC
(In reply to bipin from comment #0)
> Description of problem:
> ======================
> Raising the bug to improve the Gluster Deployment time taken in RHHI. We can
> remove few checks which might not be actually required.
>

Can you be specific on the checks to be removed?

Comment 5 SATHEESARAN 2019-05-27 09:41:04 UTC
Let's try to have precise changes listed here:

1. Port to be removed from the list of ports opened: 

5666
Reason: Nagios no longer used

5900-6923. 
Why is that required ? who's using these ports ?

2. Multipath config changes.
QE to provide input based on testing

3. Glusterfs slice configuration
Decision: to be removed
Reason: Redundant.This is already taken care while adding the host in to the cluster

4. Remove package check
Decision to be remove the package check like ovirt-host, screen, vdsm, etc
Reason: RHVH bundles all these packages, and for RHEL installing these packages are 
required to be done as pre-requisite.

Comment 7 SATHEESARAN 2019-05-30 09:38:52 UTC
(In reply to SATHEESARAN from comment #5)
> Let's try to have precise changes listed here:
> 
> 1. Port to be removed from the list of ports opened: 
> 
> 5666
> Reason: Nagios no longer used
> 
> 5900-6923. 
> Why is that required ? who's using these ports ?
> 
> 2. Multipath config changes.
> QE to provide input based on testing
> 
> 3. Glusterfs slice configuration
> Decision: to be removed
> Reason: Redundant.This is already taken care while adding the host in to the
> cluster
> 
> 4. Remove package check
> Decision to be remove the package check like ovirt-host, screen, vdsm, etc
> Reason: RHVH bundles all these packages, and for RHEL installing these
> packages are 
> required to be done as pre-requisite.


Sac,

As part of this bug following can be treated as final requirements:
1. Remove package check
2. Remove glusterfs slice configuration
3. Remove port 5666 from the list of ports opened

For multipath configs, I will raise a separate bug

Sac, Are you  clear with the above list of requirements ?

Comment 8 Sachidananda Urs 2019-05-30 09:55:54 UTC
(In reply to SATHEESARAN from comment #7)
> (In reply to SATHEESARAN from comment #5)
> > Let's try to have precise changes listed here:
> > 
> > 1. Port to be removed from the list of ports opened: 
> > 
> > 5666
> > Reason: Nagios no longer used
> > 
> > 5900-6923. 
> > Why is that required ? who's using these ports ?
> > 
> > 2. Multipath config changes.
> > QE to provide input based on testing
> > 
> > 3. Glusterfs slice configuration
> > Decision: to be removed
> > Reason: Redundant.This is already taken care while adding the host in to the
> > cluster
> > 
> > 4. Remove package check
> > Decision to be remove the package check like ovirt-host, screen, vdsm, etc
> > Reason: RHVH bundles all these packages, and for RHEL installing these
> > packages are 
> > required to be done as pre-requisite.
> 
> 
> Sac,
> 
> As part of this bug following can be treated as final requirements:
> 1. Remove package check
> 2. Remove glusterfs slice configuration
> 3. Remove port 5666 from the list of ports opened
> 
> For multipath configs, I will raise a separate bug
> 
> Sac, Are you  clear with the above list of requirements ?

Ack.

Comment 9 Sachidananda Urs 2019-06-04 09:28:00 UTC
https://github.com/gluster/gluster-ansible/pull/70

Awaiting updates on multipath.

Comment 10 Sachidananda Urs 2019-06-11 05:10:30 UTC
All the above checks will be made before any changes are done.

Copying comments from bug raised by Sean:

Original bug: https://bugzilla.redhat.com/show_bug.cgi?id=1713929

[RFE] Deployment system for RHHI-V 1.6 lacks the ability to run the prerequisite playbook in the cockpit as preflight check,so potential points of failure are made visible before deploying (with maybe link to KB article to resolve )

Comment 11 Sachidananda Urs 2019-06-11 05:11:33 UTC
sas, I'm waiting on the multipath updates. Will move the bug to POST once those details are provided.

Comment 12 Sachidananda Urs 2019-06-11 05:13:39 UTC
*** Bug 1713929 has been marked as a duplicate of this bug. ***

Comment 13 SATHEESARAN 2019-06-14 03:49:19 UTC
(In reply to Sachidananda Urs from comment #11)
> sas, I'm waiting on the multipath updates. Will move the bug to POST once
> those details are provided.

I have done couple of testing paths:
1. With multipath entries for local disks in place, rebooted the host,
 to make sure that the bricks are mounted with XFS UUID. This works good.

2. Tried to deploy with multipath entries instead of disk names. This is little
tough to test with, as the deployment procedure itself flushes away the mpath entries.

It requires full fledged testing and I would recommend to go ahead with, removing
the places where multipath is configured.
Following items are done and those should be removed:
        1. Generate /etc/multipath using the command 'vdsm-tool configure --force'
        2. Edit multipath.conf to have blacklisting configuration
I have created a separate bug 1720334 to take care of this issue

Comment 17 SATHEESARAN 2019-06-26 01:33:05 UTC
Tested with RHVH 4.3.5 + RHEL 7.7 + RHGS 3.4.4 ( interim build - glusterfs-6.0-6 ) with ansible 2.8.1-1
with:
gluster-ansible-features-1.0.5-2.el7rhgs.noarch
gluster-ansible-roles-1.0.5-2.el7rhgs.noarch
gluster-ansible-infra-1.0.4-3.el7rhgs.noarch

Gluster configuration is done with the following modifications:
1. Glusterfs systemd slice configuration removed in favor of configuring the same while adding the host to RHVM managed cluster
2. Configuration of multipath removed: no blacklisting of devices
3. Package installation step is removed, as RHVH has all the packages available

Comment 20 errata-xmlrpc 2019-10-03 07:58:12 UTC
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.

https://access.redhat.com/errata/RHBA-2019:2557


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