Bug 961169 - [RFE] [RHEVM-RHS] Bootstrapping should chkconfig 'glusterd'
Summary: [RFE] [RHEVM-RHS] Bootstrapping should chkconfig 'glusterd'
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alok
QA Contact: Anoop
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-09 03:05 UTC by SATHEESARAN
Modified: 2018-01-29 15:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
virt rhev integration
Last Closed: 2018-01-29 15:13:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 21743 0 None ABANDONED gluster: enable glusterd service forcefully Never

Description SATHEESARAN 2013-05-09 03:05:16 UTC
Description of problem:
Bootstrapping doesn't care to chkconfig-ing glusterd for the required run levels.

Version-Release number of selected component (if applicable):
RHS 2.1 - glusterfs-3.4.0.4rhs-1.el6rhs

How reproducible:
Always

Steps to Reproduce:
1.Install RHS 2.1 on a VM, using "http" (i.e) using the key --location when using virt-install and do a minimum install.

OR

Manually do chkconfig of glusterd "off" on all run levels
(i.e) chkconfig glusterd off

2. Add this RHS node to cluster ( gluster cluster )
3. After bootstrapping is done and node is up, check for glusterd status in the RHS node
  
Actual results:
glusterd is not up

Expected results:
glusterd should be up and running, post bootstrapping

Additional info:

Comment 1 Amar Tumballi 2013-06-05 12:44:34 UTC
Satheesh, can you please check if its fixed in 3.4.0.9rhs builds? there are couple of fixes for 'chkconfig' of glusterd in the spec file.

Comment 3 Rejy M Cyriac 2013-08-03 16:13:29 UTC
Checked on glusterfs*-3.4.0.14rhs-1.el6rhs.x86_64 , and FAILED to qualify.

On adding Red Hat Storage (RHS) node, in which glusterd has been set to be not started up on boot (chkconfig glusterd off), to a 'Gluster Enabled Cluster' on RHEVM, the bootstrapping of the RHS node does not ensure that glusterd will be started up on boot, ie, 'chkconfig glusterd on' is not being run during bootstrapping. As a result 'peer probe' will not work on that RHS node, or to that RHS node, and therefore the RHS node will be set as non-responsive.

Comment 4 Amar Tumballi 2013-09-06 11:39:07 UTC
This is added in glusterfs.spec file again. Can we check this?

Comment 5 Rejy M Cyriac 2013-09-08 12:22:05 UTC
Checked on glusterfs-server-3.4.0.32rhs-1.el6rhs.x86_64 , and FAILED to qualify.

The glusterfs-server-3.4.0.32rhs-1.el6rhs.x86_64 package on installation correctly sets the glusterd daemon to be started up on boot. But the reproducer for this BZ states to manually 'chkconfig glusterd off' , and then add the RHS Server to the 'Gluster Service Enabled Cluster' on RHEVM. So I believe that the fix for this BZ must be in the boot-strapping code, that is run on adding the RHS Server to the 'Gluster Service Enabled Cluster' on RHEVM.

Additional Info:

In RHEVM 3.2, the RHS Server is rebooted after the boot-strapping process, and so if glusterd is not ensured to start up at boot, the RHS server will be moved to 'non-responsive' state after the reboot, since glusterd will not be running.

IN RHEVM3.3, the reboot after boot-strapping has been taken out, and hosts are immediately set to state up' after boot-strapping. Also during boot-strapping the glusterd and vdsm services are started up. So the effect of the scenario described by the reproducer will come up only on a reboot of the RHS Server, any-time in future.

Comment 6 Scott Haines 2013-09-23 19:47:16 UTC
Targeting for 2.1.z (Big Bend) U1.

Comment 7 Bala.FA 2013-11-26 11:34:43 UTC
currently bootstrap is done by host-deploy using otopi and they needs to have this fix.

Comment 9 Bala.FA 2013-11-27 06:04:27 UTC
upstream fix is under review at http://gerrit.ovirt.org/21743

Comment 11 Dusmant 2013-12-07 14:04:21 UTC
This is an RFE and hence out of Corbett

Comment 17 Sahina Bose 2018-01-29 15:13:32 UTC
Thank you for your report. This bug is filed against a component for which no further new development is being undertaken


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