Bug 966803

Summary: Namespaced uservars break Watchman
Product: OpenShift Online Reporter: Jhon Honce <jhonce>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: bmeng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-11 04:10:31 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 Jhon Honce 2013-05-24 02:39:18 UTC
Description of problem:
The introduction of subdirectories in ~gear/.env break Watchman.

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


How reproducible:
Any devenv running Watchman

Steps to Reproduce:
1. read /var/log/messages
2.
3.

Actual results:
May 23 22:37:15 ip-10-152-188-137 rhc-watchman[29871]: watchman caught #<Errno::EISDIR: Is a directory - /var/lib/openshift/519e5ccee219dd4f29000001/.env/mongodb>: Is a directory - /var/lib/openshift/519e5ccee219dd4f29000001/.env/mongodb. Retries left: 1


Expected results:
no errors

Additional info:

Comment 1 Jhon Honce 2013-05-24 19:00:32 UTC
Fixed in https://github.com/openshift/li/pull/1463

Comment 2 openshift-github-bot 2013-05-25 02:15:49 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/12689bc28cbebd29d1e5e7ff1cd8cb5053583ab8
Bug 966803 - Watchman support for namespaced directories in .env

* Read V2 gear environments
* Restart watchman when sync'ing to devenv

Comment 3 Meng Bo 2013-05-27 09:50:00 UTC
Checked on devenv_3277,

1. Watch the /var/log/messages
2. Create some app on the node
3. Add dbs to the apps

4. There is no error for the rhc-watchman

Move bug to verified.