Bug 1382684
| Summary: | undefined method error on authentication_mixin.rb | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | |
| Component: | Providers | Assignee: | Adam Grare <agrare> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Leo Khomenko <lkhomenk> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.6.0 | CC: | agrare, cpelland, fdewaley, jfrey, jhardy, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.8.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1384216 1385179 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 16:36:49 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: | ||||
| Bug Blocks: | 1384216, 1385179 | |||
|
Description
Felix Dewaleyne
2016-10-07 12:07:05 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/c7ce625f13332a7e3ad849c14658c3acddaf1642 commit c7ce625f13332a7e3ad849c14658c3acddaf1642 Author: Adam Grare <agrare> AuthorDate: Mon Oct 10 14:21:01 2016 -0400 Commit: Adam Grare <agrare> CommitDate: Mon Oct 10 14:21:01 2016 -0400 Handle authentication_check on hosts with no creds When you have infra hosts without credentials saved, the scheduled authentication_check throws an nil class exception. This change checks for auth being nil before attempting to call methods on it. https://bugzilla.redhat.com/show_bug.cgi?id=1382684 app/models/mixins/authentication_mixin.rb | 8 ++++---- spec/models/mixins/authentication_mixin_spec.rb | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) verified on 5.8.0.2 - VC host without credentials keeps silence |