Bug 806063 - Permissions issue with /var/lib/libra in production
Summary: Permissions issue with /var/lib/libra in production
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-22 19:44 UTC by Rob Millner
Modified: 2015-05-14 22:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:33:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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