Bug 1308718
Summary: | It is better to return meaningful error message when do ssh in head gear of scalable app with incorrect user id or ssh url | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Vu Dinh <vdinh> |
Component: | Containers | Assignee: | Vu Dinh <vdinh> |
Status: | CLOSED ERRATA | QA Contact: | DeShuai Ma <dma> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.2.0 | CC: | aos-bugs, bmeng, dmcphers, gpei, jokerman, mmccomas, omnifacesha, rthrashe, vdinh, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-haproxy-1.31.5.1-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Cause: In scaled application, the HAProxy cartridge in head gear contains a ssh wrapper that is set to quiet mode (-q flag).
Consequence: As a result, if user executes ssh commands with invalid parameters, no errors are shown as they are suppressed by the -q flag.
Fix: The ssh wrapper in HAProxy cartridge is removed as it's no longer needed. The oo-ssh now exists and the node runtime either uses it or specifies the required flags wherever it invokes ssh commands. As a result, ssh in head gear will use standard ssh from /usr/bin/ssh which doesn't have -q flag.
Result: If an invalid ssh command is executed, the meaningful error message will be prompted to the user.
|
Story Points: | --- |
Clone Of: | 1082610 | Environment: | |
Last Closed: | 2016-03-22 16:54:37 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: | |||
Bug Depends On: | 1082610 | ||
Bug Blocks: |
Description
Vu Dinh
2016-02-15 21:03:00 UTC
QE, Can we verify that this no longer fails silently? If we try to ssh unsuccessfully, we should see a typical error message instead of a silent failure. Puddle: http://etherpad.corp.redhat.com/puddle-2-2-2016-02-19 Thank you Checked with puddle 2.2/2016-02-25.2 [test1-yes.ose22-auto.com.cn yes-test1-1]\> ssh test@test ssh: Could not resolve hostname test: Name or service not known [test1-yes.ose22-auto.com.cn yes-test1-1]\> ssh foo ssh: Could not resolve hostname foo: Name or service not known Warning is given out when ssh into non-existing hosts inside a gear. 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://rhn.redhat.com/errata/RHSA-2016-0489.html |