Description of problem: ======================= When one hits Selinux Bug 1212923, oVirt reports: ~~~ Operation Canceled Error while executing action Create Gluster Volume Snapshot: Snapshot create failed error: Snapshot is supported only for thin provisioned LV_ Ensure that all bricks of volume1 are thinly provisioned LV_ return code: -1 ~~~ engine.log says: ~~~ 2015-05-18 17:28:19,624 WARN [org.ovirt.engine.core.dal.job.ExecutionMessageDirector] (ajp--127.0.0.1-8702-9) [7b611353] The message key 'CreateGlusterVolumeSnapshot' is missing from 'bundles/ExecutionMessages' 2015-05-18 17:28:19,813 ERROR [org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeSnapshotCommand] (ajp--127.0.0.1-8702-9) [7b611353] Transaction rolled-back for command 'org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeSnapshotCommand'. 2015-05-18 17:28:19,817 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-9) [7b611353] Correlation ID: 7b611353, Job ID: 8f68a971-0f23-4d48-95ee-aaf0914c27c5, Call Stack: null, Custom Event ID: -1, Message: Could not create snapshot for volume volume1 on cluster Default. ~~~ The message from oVirt is misleading. Version-Release number of selected component (if applicable): ============================================================= ovirt-engine-3.6.0-0.0.master.20150517172245.git089e126.el6.noarch How reproducible: ================= 100% Steps to Reproduce: =================== 1. Create a volume using at least one RHEL7 node 2. Selinux in enforcing mode on RHEL7 node 3. In oVirt -> Volume -> Snapshot -> New Actual results: =============== Misleading error message. Expected results: ================= More accurate error message. Additional info: ================ -
Oh, this is a bug in gluster and not oVirt, see: ~~~ # gluster snapshot create test1 volume1 snapshot create: failed: Snapshot is supported only for thin provisioned LV. Ensure that all bricks of volume1 are thinly provisioned LV. Snapshot command failed (exitcode=1) # setenforce 0 # gluster snapshot create test1 volume1 snapshot create: success: Snap test1_GMT-2015.05.18-20.19.13 created successfully ~~~ # rpm -q glusterfs glusterfs-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life. Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS. If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.