Bug 1178031 - [SNAPSHOT]: fails to create on thin LV with LUKS layer in between
Summary: [SNAPSHOT]: fails to create on thin LV with LUKS layer in between
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: mainline
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1240227
TreeView+ depends on / blocked
 
Reported: 2015-01-01 17:11 UTC by pille
Modified: 2018-11-19 08:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1183764 1240227 (view as bug list)
Environment:
Last Closed: 2018-11-19 08:13:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description pille 2015-01-01 17:11:58 UTC
Description of problem:

my bricks are on XFS on LUKS on thin-LV.
creating a shapshot fails.


Steps to Reproduce:
1. create bricks on thin-LV, but with additional LUKS encryption layer
2. gluster snapshot ...

Actual results:

snapshot create: failed: Snapshot is supported only for thin provisioned LV. Ensure that all bricks of storage_www are thinly provisioned LV.
Snapshot command failed


Expected results:

snapshot


Additional info:

[2015-01-01 16:41:35.047033] E [glusterd-snapshot.c:1742:glusterd_is_thinp_brick] 0-management: Failed to get pool name for device /dev/mapper/data
[2015-01-01 16:41:35.047128] E [glusterd-snapshot.c:2081:glusterd_snapshot_create_prevalidate] 0-management: Snapshot is supported only for thin provisioned LV. Ensure that all bricks of storage_www are thinly provisioned LV.
[2015-01-01 16:41:35.047139] W [glusterd-snapshot.c:7013:glusterd_snapshot_prevalidate] 0-management: Snapshot create pre-validation failed
[2015-01-01 16:41:35.047146] W [glusterd-mgmt.c:154:gd_mgmt_v3_pre_validate_fn] 0-management: Snapshot Prevalidate Failed
[2015-01-01 16:41:35.047151] E [glusterd-mgmt.c:675:glusterd_mgmt_v3_pre_validate] 0-management: Pre Validation failed for operation Snapshot on local node
[2015-01-01 16:41:35.047156] E [glusterd-mgmt.c:1850:glusterd_mgmt_v3_initiate_snap_phases] 0-management: Pre Validation Failed

Comment 1 pille 2015-01-16 14:03:47 UTC
hey, i'd like to know what the ETA for this issue is.
we have a tight schedule and need to figure out whether we wait for a solution on your side, or we do the work of reconfiguring the storage, so that the crypto layer is below the thinpool. the trade-off is that we would need to backup the data before and migration in each direction will take two weeks.

Comment 2 rjoseph 2016-08-23 12:33:36 UTC
'GlusterFS-3.6 is nearing its End-Of-Life, only important security bugs still make a chance on getting fixed. Moving this to the mainline 'version'.

Comment 3 Vijay Bellur 2018-11-19 08:13:14 UTC
Thank you for your bug report. Our recommended configuration is to layer LUKS below thin LV. Hence we will not be addressing this bug.


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