[Bugs] [Bug 1619843] Snapshot status fails with commit failure

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 23 02:25:19 UTC 2018


Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
             Status|POST                        |MODIFIED

--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20885 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- snapshot : fix snapshot
status failure due to symlink problem

Problems : 1. Snapshot status for individual snapshots were failing after OS
              upgrade from RHEL6 to RHEL7.
           2. Post upgrade snapshot creation of cloned volume was failing.

Root Cause :  When OS upgrade is from RHEL6 to RHEL7 there is difference in
              symlink (/var/run)  between these two versions.
              Basically when (/var/run) is symlinked to /run, mount command
              resolves path and mounts it. But at the same time call to
              those functions fails who depends on absolute path.
              (like strcmp in glusterd_get_mnt_entry_info)

Solution : Resolve the input path to absolute path before calling these

Test : Tested on same setup where issue was reported. After this
       patch snapshot issues are completely resolved.

Change-Id: I5ba57998cea614c6072709f52f42a57562018844
fixes: bz#1619843
Signed-off-by: Sunny Kumar <sunkumar at redhat.com>

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=gi5viacyf1&a=cc_unsubscribe

More information about the Bugs mailing list