Bug 1321107
Summary: | v2_key appliance console crash | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | luke couzens <lcouzens> |
Component: | Appliance | Assignee: | Šimon Lukašík <slukasik> |
Status: | CLOSED ERRATA | QA Contact: | luke couzens <lcouzens> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4.0 | CC: | abellott, dajohnso, jhardy, obarenbo, simaishi |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | appliance:black | ||
Fixed In Version: | 5.6.0.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 15:44:38 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
luke couzens
2016-03-24 16:53:09 UTC
BZ also in 5.5.3.2 I can reproduce this with capablanca-2. I propose to just catch the exception we get from Net::SCP. The connection may get refused no matter how much validation we do. Then, we can improve UX by not allowing user to fill other properties until (s)he submits something ping-able. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/2b74db8a2ed66cd317e18adb44943bfb8806b1aa commit 2b74db8a2ed66cd317e18adb44943bfb8806b1aa Author: Šimon Lukašík <isimluk> AuthorDate: Fri Apr 8 14:20:17 2016 +0200 Commit: Šimon Lukašík <isimluk> CommitDate: Sat Apr 9 14:30:09 2016 +0200 Rescue the error when connection timed-out Addressing: net/ssh/transport/session.rb:70:in `initialize': Connection timed out - connect(2) (Errno::ETIMEDOUT) Auditing the SCP gem and dependencies, I see a lot of potential exceptions that may occur: Net::SCP::Error, Net::SSH::Exception, SystemCallError, SocketError and perhaps more. They all have one common superclass that is StandardError. https://bugzilla.redhat.com/show_bug.cgi?id=1321107 gems/pending/appliance_console/key_configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Verified in 5.6.0.4-beta2.3 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/RHBA-2016:1348 *** Bug 1357589 has been marked as a duplicate of this bug. *** |