Bug 1427039
Summary: | Create glusterfs snapshot error | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | shibin <1220642745> |
Component: | snapshot | Assignee: | Avra Sengupta <asengupt> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.8 | CC: | amukherj, bugs |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-06 14:21:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
shibin
2017-02-27 07:48:57 UTC
/run/gluster/snaps/b9bb548cfbed4b609a9d9e3de377456e/brick1/shibin01 is not exist Create glusterfs snapshot error in docker container. The log: [2017-02-27 07:48:12.300293] E [MSGID: 106058] [glusterd-snapshot.c:5088:glusterd_update_fs_label] 0-management: Failed to change filesystem label of /run/gluster/snaps/b9bb548cfbed4b609a9d9e3de377456e/brick1/shibin01 brick to 6e40ede875a146e1 [2017-02-27 07:48:12.300341] E [MSGID: 106058] [glusterd-snapshot.c:5148:glusterd_take_brick_snapshot] 0-management: Failed to update file-system label for /run/gluster/snaps/b9bb548cfbed4b609a9d9e3de377456e/brick1/shibin01 brick [2017-02-27 07:48:12.303181] E [MSGID: 106098] [glusterd-snapshot-utils.c:2709:glusterd_mount_lvm_snapshot] 0-management: mounting the snapshot logical device /dev/vg/b9bb548cfbed4b609a9d9e3de377456e_0 failed (error: File exists) [2017-02-27 07:48:12.303208] E [MSGID: 106059] [glusterd-snapshot.c:4788:glusterd_snap_brick_create] 0-management: Failed to mount lvm snapshot. That is because lvmetad which caches lvm metadata and with docker the cache doesn't seem to update properly. Therefore it takes some time before the snapshot device appear in docker container. Therefore after snapshot creation changing label and mount fails because it fails to see the snapshot lvm. modify the /etc/lvm/lvm.conf in container udev_sync = 0 udev_rules = 0 use_lvmetad = 0 the glusterfs snapshot create sucessfully Thanks Rajesh Joseph help me to solve the problem. |