Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1366203 - set volume options before starting the volume
set volume options before starting the volume
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy (Show other bugs)
3.1
x86_64 Linux
unspecified Severity high
: ---
: RHGS 3.1.3 Async
Assigned To: Devyani Kota
SATHEESARAN
: ZStream
Depends On:
Blocks: 1351528
  Show dependency treegraph
 
Reported: 2016-08-11 05:53 EDT by SATHEESARAN
Modified: 2017-03-07 12:45 EST (History)
7 users (show)

See Also:
Fixed In Version: gdeploy-2.0.1-2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-07 06:34:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0260 normal SHIPPED_LIVE Important: ansible and gdeploy security and bug fix update 2017-02-07 11:32:47 EST

  None (edit)
Description SATHEESARAN 2016-08-11 05:53:09 EDT
Description of problem:
-----------------------
When the volume section is mentioned in the gdeploy conf file along with the set of volume options, volume is actually started and then those options are set on the volume.

Its a good practice to set the list of volume options on the volume and then to start the volume.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gdeploy-2.0-16

How reproducible:
-----------------
NA

Steps to Reproduce:
-------------------
NA

Actual results:
---------------
volume is started and then the options are set on the volume

Expected results:
-----------------
volume options should be set on the volume and then the volume should be started
Comment 1 SATHEESARAN 2016-09-21 12:42:03 EDT
This is hard requirement for setting up SSL/TLS configuration on the volume.
Comment 3 Sachidananda Urs 2016-10-25 06:58:18 EDT
Commit: https://github.com/gluster/gdeploy/commit/405025b8c0 resolves the issue.
This bug was fixed as part of resolving github issue. Should be available in the latest build. 2.0.1-2
Comment 5 SATHEESARAN 2016-11-07 03:03:13 EST
Tested with ansible-2.2 and gdeploy-2.0.1-2.el7rhgs

Volume options are first set on the volume and then the volume is started.

Here is snip from the logs to prove the same
<snip>

TASK [Sets options for volume] *************************************************
changed: [host1.example.com] => (item={u'key': u'group', u'value': u'virt'})

PLAY RECAP *********************************************************************
dhcp37-172.lab.eng.blr.redhat.com : ok=1    changed=1    unreachable=0    failed=0   


PLAY [master] ******************************************************************

TASK [Starts a volume] *********************************************************
changed: [host1.example.com]

</snip>
Comment 7 errata-xmlrpc 2017-02-07 06:34:26 EST
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://rhn.redhat.com/errata/RHSA-2017-0260.html

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