Bug 1086544
| Summary: | Diy quickstart binhello is using old log path in action_hooks/start cause cartridge can not be started due to permission denied. | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Liang Xia <lxia> |
| Component: | Templates | Assignee: | Liang Xia <lxia> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | mfojtik |
| 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: | 2014-04-24 21:39:35 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 of problem: Diy quickstart binhello script in action_hooks/start is uing old log path cause cartridge can not be started due to permission denied. cat .openshift/action_hooks/start #!/bin/bash cd $OPENSHIFT_REPO_DIR nohup ./binhello >${OPENSHIFT_DIY_LOG_DIR}/binhello.log 2>&1 & OPENSHIFT_DIY_LOG_DIR has been replaced by OPENSHIFT_LOG_DIR Version-Release number of selected component (if applicable): devenv_4657 How reproducible: always Steps to Reproduce: 1.Create an app with diy quickstart binhello. 2.SSH into the app and do gear start 3. Actual results: [binhello-lxiasilver.dev.rhcloud.com 534662cb6cec0e858a000143]\> gear start diy-0.1 Starting gear... Starting DIY cartridge /var/lib/openshift/534662cb6cec0e858a000143/app-root/runtime/repo//.openshift/action_hooks/start: line 3: /binhello.log: Permission denied Expected results: gear can be started, without errors. Additional info: