Bug 864653
| Summary: | Need a REST API to request the log directory of a cartridge | ||
|---|---|---|---|
| Product: | OKD | Reporter: | chris alfonso <calfonso> |
| Component: | Master | Assignee: | Lili Nader <lnader> |
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | adietish, ccoleman, dmcphers, hbrock, mfisher, wdecoste |
| 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-01-29 18:58:50 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: | |||
This should probably be a story. The other option is for there to be a script on the node via SSH that aggregates the logs, and for the CLI to invoke that and stream its output. Then users could tweak it on their gears. *** Bug 876721 has been marked as a duplicate of this bug. *** Created US3373 to track. |
Description of problem: Need a REST API to request the log directory of a cartridge. Currently, we have to make an assumption on the location of the log directory. Ideally, we would be able to look this up on a cartridge property. Although there maybe be a property that contains the log directory of a cartridge, there is no way to know the property is the log directory. For instance, the node-js cartridge has properties":[{"name":"OPENSHIFT_NODEJS_LOG_DIR","description":"Directory to store application log files.","type":"environment"}] But we can't count on the existence of _LOG_ in the name to properly identify the environment variable.