| Summary: | manually scaling with haproxy_ctld while application is stopped yields a confusing error message | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Brenton Leanhardt <bleanhar> | |
| Component: | Containers | Assignee: | Ben Parees <bparees> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.x | CC: | bmeng, bparees | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1100143 (view as bug list) | Environment: | ||
| Last Closed: | 2014-01-30 00:50:06 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1100143 | |||
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c362b17efe2037ee6b5a84e0dabe5aa6b447362c Bug 1029679: handle connection refused error with clean error message Checked on devenv_4056, issue has been fixed. [php1s-bmengdev.dev.rhcloud.com 528d9863c8c92ebbbf00005e]\> haproxy_ctld -u An error occurred; try again later: Could not connect to the application. Check if the application is stopped. [php1s-bmengdev.dev.rhcloud.com 528d9863c8c92ebbbf00005e]\> haproxy_ctld -d An error occurred; try again later: Could not connect to the application. Check if the application is stopped. |
Description of problem: [5282a2a5fa6006aabc000005]\> haproxy_ctld -u /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:101:in `initialize': Connection refused - "/var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/run/stats" (Errno::ECONNREFUSED) from /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:101:in `open' from /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:101:in `refresh' from /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:67:in `initialize' from /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:345:in `new' from /var/lib/openshift/5282a2a5fa6006aabc000005/haproxy/usr/bin/haproxy_ctld.rb:345:in `<main>' It would be nice if an error message was returned indicating that the application had been stopped.