Bug 1723733
Summary: | Connection error for EC2 CR not rescued correctly | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukáš Hellebrandt <lhellebr> |
Component: | Compute Resources - EC2 | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | dvoss, lzap, mmccune |
Target Milestone: | 6.6.0 | Keywords: | Regression, TestBlocker, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.22.0.22-1 | Doc Type: | If docs needed, set a value |
Doc Text: |
In certain situations the error messages when creating new Amazon EC2 Compute Resources may be misleading. Users are encouraged to verify their username and passwords before creating EC2 Compute Resources.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 12:47:39 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
Lukáš Hellebrandt
2019-06-25 09:04:07 UTC
This issue has been there for days and shortly after I reported it, it is fixed. Has somebody fixed it and forgot to write it here? Or maybe just some infra issues. Anyway: 1) I can create an EC2 CR now in 6.6 2) This is still an issue because the displayed message was ISE 3) I don't have a reproducer for this now. Merely entering wrong credentials doesn't work because the message in WebUI doesn't say "ISE" but "Error while trying to create resource: AuthFailure => AWS was not able to validate the provided access credentials" which is correct. And it obviously shows that the original issue was not caused just by incorrect credentials. Lukas, can you verify that the core functionality is working and that the only issue remaining in this bug is the displayed message? If so, could you remove the blocker flag? Unfortunately, I can't. The issue manifests again. And again, only in Sat 6.6. As this has changed at least two times, I suspect some dependency on external resource has been added in 6.6. Please provide the full trace, if there's none in the UI, then at least production.log. Created redmine issue https://projects.theforeman.org/issues/27555 from this bug Associating issue that does NOT fix the issue, however it fixes error message. https://projects.theforeman.org/issues/27624 Need more info, EC2 is returning me 401 all the time, I probably have a wrong password. As described in comment 4 and comment 6, this BZ's reproducer is not deterministic (perhaps due to dependency on some external resource). Sometimes, this can be reproduced for days and sometimes it can't. Right now, I am not able to reproduce the issue. If you want to solve this BZ by fixing the error message, it would be fine. In that case, I will file a new BZ once I hit the issue again. Verified with Sat 6.6 snap 20. I am still not able to reproduce the exact issue. Verified by causing error by filling incorrect credentials. => "AuthFailure => AWS was not able to validate the provided access credentials", no traceback. 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/RHSA-2019:3172 |