Bug 1474715
Summary: | Failed to start Kibana pod, permission denied to run run.sh | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> |
Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
Status: | CLOSED ERRATA | QA Contact: | Xia Zhao <xiazhao> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.6.0 | CC: | aos-bugs, chuyu, jcantril, jwozniak, pweil, rmeggins, wsun |
Target Milestone: | --- | Keywords: | Regression, TestBlocker |
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The execute bit in the downstream repo was not set for run.sh
Consequence:
Fix:
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:05:56 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
Junqi Zhao
2017-07-25 09:00:28 UTC
Cases related to kibana are blocked A 3.6 merge origin with downstream causes run.sh to have file permissions as 0644 (without executable bit) [1] First parent of mentioned merge has ./run.sh permissions set to 0644 and entrypoint is CMD ["sh", "/run.sh"] [2] while second parent to 0755 and entrypoint is CMD ["./run.sh"] [3]. Merge became an unfortunate combination of these two approaches, the only non-runnable. Someone with a write access to downstream repos could fix by simply 'chmod +x run.sh' and commit. [1] http://pkgs.devel.redhat.com/cgit/rpms/logging-kibana-docker/commit/?h=rhaos-3.6-rhel-7&id=c2eeba2f087fdf280f9c4f0b17c14680fbb44aba [2] http://pkgs.devel.redhat.com/cgit/rpms/logging-kibana-docker/tree/?h=rhaos-3.6-rhel-7&id=ce5c66327427d0e6af17fb76f4ad0a115f5a61af [3] http://pkgs.devel.redhat.com/cgit/rpms/logging-kibana-docker/tree/?h=rhaos-3.6-rhel-7&id=5b709bf2f8b5a0319d63a52f303c30f831f47175 Jan - you should have permission to do this. Have you used the rhpkg command line tool? If not, https://mojo.redhat.com/docs/DOC-140221 Once you have that installed, I can show you how to do this. It's fixed, verified with this latest image: logging-kibana v3.6 429262be200e 6 hours ago logging UI is back with log entries inside. Set to verified. Test env: # openshift version openshift v3.6.171 kubernetes v1.6.1+5115d708d7 etcd 3.2.1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3188 |