Bug 806063

Summary: Permissions issue with /var/lib/libra in production
Product: OKD Reporter: Rob Millner <rmillner>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: mfisher, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:33:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Millner 2012-03-22 19:44:21 UTC
Description of problem:

When /var/lib/libra was renamed to /var/lib/stickshift, /var/lib/libra was left as a symbolic link in the migration instructions to handle apps which reference that path directly.

That does not work in my test application.

Related:
https://www.redhat.com/openshift/community/forums/express/symlinks-to-data-dir-broke


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


How reproducible:
Always

Steps to Reproduce:
1. Create an app
2. ssh in to your app
3. ls -l /var/lib/[uuid]/git
  
Actual results:

[test-rmillnertest1.rhcloud.com ~]\> ls -d /var/lib/stickshift/d4145a0230734a219a509e1214268cbb/git
/var/lib/stickshift/d4145a0230734a219a509e1214268cbb/git

[test-rmillnertest1.rhcloud.com ~]\> ls -d /var/lib/libra/d4145a0230734a219a509e1214268cbb/git
ls: cannot access /var/lib/libra/d4145a0230734a219a509e1214268cbb/git: Permission denied



Expected results:

That accessing /var/lib/libra/[uuid] in production would work.


Additional info:

New express nodes which don't go through the migration procedure won't have the symbolic link.  Maby the right thing to do is just break it now.

Comment 1 Rob Millner 2012-03-23 02:33:18 UTC
This was fixed in production by the ops team.

Comment 2 Xiaoli Tian 2012-03-23 05:49:00 UTC
Verified it on Production by ssh to my app and 

#ls /var/lib/libra/c69baa9fbdee446fa8a549126ffe6ef0/git
appjboss.git