Bug 1357357 - Data loss after RHGS node reboot
Summary: Data loss after RHGS node reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS Container Converged 1.0
Assignee: Luis Pabón
QA Contact: Neha
URL:
Whiteboard:
Depends On:
Blocks: 1332128
TreeView+ depends on / blocked
 
Reported: 2016-07-18 04:32 UTC by Neha
Modified: 2016-11-08 22:25 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 04:52:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github heketi heketi issues 441 0 None None None 2016-07-20 20:19:31 UTC
Red Hat Product Errata RHBA-2016:1498 0 normal SHIPPED_LIVE heketi update for Red Hat Gluster Storage 3.1 2016-08-04 08:49:19 UTC

Description Neha 2016-07-18 04:32:47 UTC
Description of problem:
Data is getting lost after RHGS node reboot. 

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


How reproducible:

Steps to Reproduce:
1. Create a volume
2. mount it to any app
3. Generate some data
4. Reboot any RHGS node

Actual results:
Data is missing from brick paths

Expected results:
Old data should be available under brick paths

Additional info:

Comment 4 Luis Pabón 2016-07-19 00:36:34 UTC
This doesn't look like a Heketi bug, right?

Comment 5 Luis Pabón 2016-07-19 00:38:49 UTC
Moved it to RHGS GlusterFS container

Comment 6 Luis Pabón 2016-07-20 13:50:30 UTC
Pointed out by Humble and Ashiq, Heketi needs to use /dev/mapper/... device nodes in the fstab.

Comment 8 Mohamed Ashiq 2016-07-20 17:59:35 UTC
Luis,

Also merge this PR(https://github.com/heketi/heketi/pull/440) to update templates.

Comment 11 Neha 2016-07-23 13:20:55 UTC
With latest build:

rhgs-server-docker-3.1.3-13
rhgs3-rhgs-volmanager-rhel7-3.1.3-12

Don;t see data loss , also fstab path is changed to /dev/mapper..

cat /var/lib/heketi/fstab  
/dev/mapper/vg_5d59ca08593a21a0b5932315de85c919-brick_2b982a20aff0c7db0c1874463d44478b /var/lib/heketi/mounts/vg_5d59ca08593a21a0b5932315de85c919/brick_2b982a20aff0c7db0c1874463d44478b xfs rw,inode64,noatime,nouuid 1 2
/dev/mapper/vg_5d59ca08593a21a0b5932315de85c919-brick_9298bd4e5943fdb859cce104643f9cb7 /var/lib/heketi/mounts/vg_5d59ca08593a21a0b5932315de85c919/brick_9298bd4e5943fdb859cce104643f9cb7 xfs rw,inode64,noatime,nouuid 1 2

Comment 13 errata-xmlrpc 2016-08-04 04:52:16 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/RHBA-2016-1498.html


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