Bug 1232699 - Meta volume is not used in geo-replication even with 'use meta volume' config option set to true by default.
Summary: Meta volume is not used in geo-replication even with 'use meta volume' config...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: anmol babu
QA Contact: Arthy Loganathan
URL:
Whiteboard:
Depends On:
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-17 10:48 UTC by Arthy Loganathan
Modified: 2015-07-29 05:34 UTC (History)
5 users (show)

Fixed In Version: rhsc-3.1.0-62
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 05:34:04 UTC
Embargoed:


Attachments (Terms of Use)
vdsm logs (5.57 MB, text/plain)
2015-06-17 10:48 UTC, Arthy Loganathan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
oVirt gerrit 42459 0 master MERGED webadmin,engine : fix geo-rep issues Never
oVirt gerrit 42857 0 ovirt-engine-3.5-gluster MERGED webadmin,engine : fix geo-rep issues Never

Description Arthy Loganathan 2015-06-17 10:48:51 UTC
Created attachment 1039872 [details]
vdsm logs

Description of problem:
Meta volume is not used in geo-replication even with 'use meta volume' config option set to true by default.

Version-Release number of selected component (if applicable):
rhsc-3.1.0-0.60.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a geo rep session.
2. Create meta volume using cmd,
    gluster volume set all cluster.enable-shared-storage enable
3. Set meta volume option to True in geo replication sub tab of the master volume in UI.
4. Start a geo rep session.
5. Ensure use_meta_volume config option is set to true in rhs node cli output.
    gluster volume geo-replication <master vol>  <user_name>@<slave_host_given_while_you_create_session>::<slave_volume> config

Actual results:
use_meta_volume option is not set to true in cli. Hence, in meta volume mount directory(/var/run/gluster/shared_storage) lock files are not present.

Expected results:
use_meta_volume option sould be set to true and lock files should be present in meta volume mount directory

Additional info:

[root@node1 ~]# gluster volume geo-replication vol1 root.46.83::vol1_slave config
special_sync_mode: partial
state_socket_unencoded: /var/lib/glusterd/geo-replication/vol1_10.70.46.83_vol1_slave/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave.socket
gluster_log_file: /var/log/glusterfs/geo-replication/vol1/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave.gluster.log
ssh_command: ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/secret.pem
ignore_deletes: false
change_detector: changelog
gluster_command_dir: /usr/sbin/
state_file: /var/lib/glusterd/geo-replication/vol1_10.70.46.83_vol1_slave/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave.status
remote_gsyncd: /nonexistent/gsyncd
log_file: /var/log/glusterfs/geo-replication/vol1/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave.log
changelog_log_file: /var/log/glusterfs/geo-replication/vol1/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave-changes.log
socketdir: /var/run/gluster
working_dir: /var/lib/misc/glusterfsd/vol1/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave
state_detail_file: /var/lib/glusterd/geo-replication/vol1_10.70.46.83_vol1_slave/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave-detail.status
session_owner: 419fac15-cdff-4dfe-b14a-e34d1f9b43a2
ssh_command_tar: ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/tar_ssh.pem
pid_file: /var/lib/glusterd/geo-replication/vol1_10.70.46.83_vol1_slave/ssh%3A%2F%2Froot%4010.70.46.83%3Agluster%3A%2F%2F127.0.0.1%3Avol1_slave.pid
georep_session_working_dir: /var/lib/glusterd/geo-replication/vol1_10.70.46.83_vol1_slave/
gluster_params: aux-gfid-mount acl
volume_id: 419fac15-cdff-4dfe-b14a-e34d1f9b43a2

Comment 3 anmol babu 2015-06-23 11:13:08 UTC
Basically, the issue here is that if use_meta_volume is not set for a session, gluster doesn't list it in the session config command and hence we populate it through our master data in db. Also, from the db the allowed values for this config i.e, true and false are available. The ui by default puts true selected and it appears as if true is set on the option when user opens config window which is wrong. Actaully setting the option to true just to overcome this issue isn't correct. And hence now with the fix UI defaults to false which doesn't mean the use_meta_volume is set to false on gluster but absence of option is equivalent to option being false(might need to confirm although).

Comment 4 Arthy Loganathan 2015-07-03 14:49:22 UTC
Verified the fix in build,
rhsc-3.1.0-0.62.el6.noarch

use_meta_volume option is set to true and lock files are present in meta volume mount directory

Comment 5 Arthy Loganathan 2015-07-06 12:06:57 UTC
I am still seeing the issue, hence moving this bug to ASSIGNED state.

Comment 6 Ramesh N 2015-07-06 13:08:47 UTC
Arthy: Upgrading from previous  build of rhsc (previous everglades) is not supported. Can u do a fresh install of rhsc 3.1 and verify?.

Comment 7 Arthy Loganathan 2015-07-07 08:42:46 UTC
After doing fresh install, verified the fix in build, rhsc-3.1.0-0.62.el6.noarch

use_meta_volume option is set to false by default and when use_meta_volume is set to true, lock files are present in meta volume mount directory

Comment 8 errata-xmlrpc 2015-07-29 05:34:04 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://rhn.redhat.com/errata/RHEA-2015-1494.html


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