Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1446156

Summary: File with exec perms is not executable after migrating from NFS to gluster
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: StorageAssignee: Bradley Childs <bchilds>
Status: CLOSED DUPLICATE QA Contact: Liang Xia <lxia>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.4.0CC: aos-bugs, eparis
Target Milestone: ---Keywords: NeedsTestCase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-01 14:57:44 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 Vladislav Walek 2017-04-27 11:02:33 UTC
Description of problem:

We migrated a PV from NFS to gluster, and since then a file with executable permissions is not executable.  Files were migrated using tar. We are using gluster version 3.7.9-12 on rhel7.  We have 3 gluster nodes and each volume has 3 replicas.

Name:          pv_claim
Namespace:      project
StorageClass:
Status:         Bound
Volume:         oscp-pc-claim
Labels:         <none>
Capacity:       10Gi
Access Modes:   RWO,RWX
No events.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    pv.kubernetes.io/bind-completed: "yes"
  creationTimestamp: null
  name: pvc_claim
spec:
  accessModes:
  - ReadWriteMany
  resources:
    requests:
      storage: 50Gi
  selector:
    matchLabels:
      storage-tier: gp2
  volumeName: oscp-pc-claim
status: {}

Version-Release number of selected component (if applicable):
OpenShift Container Platform 3.4

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 2 Eric Paris 2017-04-27 15:13:22 UTC
what do you have for `getsebool virt_use_fusefs virt_use_nfs` ? I believe nodes need virt_use_fusefs on.

Comment 3 Vladislav Walek 2017-04-28 13:18:51 UTC
Hello Eric,
both of the booleans are enabled on glusterfs nodes. It is still giving the error Permission Denied.
Thx

Comment 5 Eric Paris 2017-05-01 14:57:44 UTC

*** This bug has been marked as a duplicate of bug 1431907 ***