| Summary: | Debug messages are not displayed by the client | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Jorge Aguilar <jorge.aguilar.ec> |
| Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | ffranz, wsun |
| 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-01-30 00:54:01 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: | |
|
Description
Jorge Aguilar
2013-12-20 14:23:21 UTC
It failed to write to the logs due to the disk quota being exhausted. If you upgrade to the latest rhc CLI tools, you will be able to see the warning below when you run into this situation. Warning gear 51897bb1500446841a000501 is using 100.0% of disk quota Also, the CLI does not show the debug messages returned by the REST API. Based on a discussion with Clayton, maybe we can display the debug/warning messages under "Additional Info" Thanks Abhishek... That was the problem! I folowed your suggestion and now the application is working. What I did: 1) Update rhc 2) Check quota rhc show-app <app> --gears quota 3) Clean logs and tmp files rhc app tidy It did not work because disk quota is 100% 4) Log in using ssh to empty (or remove) files (production.log in my case) 5) Execute tidy again rhc app tidy 6) Start application Fixed, please verify. Verified on devenv_4177 with rhc 1.19.3 Result: [root@ip-10-236-172-109 ~]# rhc app-start r9s -d DEBUG: Using config file /root/.openshift/express.conf DEBUG: Git config 'git config --get rhc.app-id' returned '' DEBUG: Git config 'git config --get rhc.app-name' returned '' DEBUG: Git config 'git config --get rhc.domain-name' returned '' DEBUG: Authenticating with RHC::Auth::Token DEBUG: Connecting to https://localhost/broker/rest/api DEBUG: Getting all domains DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 DEBUG: Using token authentication DEBUG: Created new httpclient DEBUG: Request GET https://localhost/broker/rest/api DEBUG: SSL Verification failed -- Using self signed cert DEBUG: code 200 32 ms DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 DEBUG: Using API version 1.6 DEBUG: Client API version 1.6 is not current. Refetching API DEBUG: Using token authentication DEBUG: Request GET https://localhost/broker/rest/api DEBUG: code 200 16 ms DEBUG: Using token authentication DEBUG: Request GET https://localhost/broker/rest/domains DEBUG: code 200 99 ms DEBUG: Using token authentication DEBUG: Request GET https://localhost/broker/rest/domains/wsundev4177/applications/r9s DEBUG: code 200 39 ms DEBUG: Starting application r9s DEBUG: Using token authentication DEBUG: Request POST https://localhost/broker/rest/application/52c6244bad1ecd43cc0000e2/events DEBUG: code 200 1195 ms Warning: Gear 52c6244bad1ecd43cc0000e2 is using 100.0% of disk quota RESULT: r9s started |