Bug 1450217
| Summary: | The credentials for Automate Git Repository wasn't updating the correct authentications type | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
| Component: | UI - OPS | Assignee: | mkanoor |
| Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.8.0 | CC: | cpelland, dclarizi, hkataria, jhardy, mfalesni, mkanoor, mpovolny, obarenbo, simaishi |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.7.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.7.3.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1445522 | Environment: | |
| Last Closed: | 2017-06-28 15:02:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1445522 | ||
| Bug Blocks: | |||
|
Comment 2
CFME Bot
2017-05-11 21:21:14 UTC
Reproducer steps are unclear, I am trying to reproduce the erroneous behaviour on 5.7.2.1 and from the description of the bug I cannot figure out what should I look for since when I import a github repo without credentials via rake and then I try to do the same repo in the UI but I specify bad credentials, it just simply works. This requires creating the credential from 2 different sources (1) rake command (2) UI The UI wasn't setting the same authtype as the rake command. If you check the credential count you should see only one for the GitRepository. Without this fix in you would have seen 2. From a rails console, if you have a single GitRepository you can run this command GitRepository.first.authentications.collect(&:authtype) Without the fix the result would be ["default", "values"] With the fix it should be just ["default"] In an existing environment where you have run this previously we won't delete the "values" authentication type, it would sit around we won't use it. I can see only the ["default"] in 5.7.3.1 when using both rake and UI import. 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-2017:1601 |