Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing MiqServer in Authenticator spec #452

Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jun 8, 2018

The new audit_failure method in authenticator/base raises an evm event
on auth failure which targets the MiqServer.my_server. In the amazon
authenticator spec this was nil which was causing the audit_failure
method to throw an exception trying to get class and id from the target.

https://bugzilla.redhat.com/show_bug.cgi?id=1318353

@agrare agrare added the test label Jun 8, 2018
@djberg96
Copy link
Contributor

djberg96 commented Jun 8, 2018

For reference: ManageIQ/manageiq#17508

👍

The new audit_failure method in authenticator/base raises an evm event
on auth failure which targets the MiqServer.my_server.  In the amazon
authenticator spec this was nil which was causing the audit_failure
method to throw an exception trying to get class and id from the target.

https://bugzilla.redhat.com/show_bug.cgi?id=1318353
@agrare agrare force-pushed the fix_authenticator_spec_missing_miq_server branch from c6b8599 to 4cafc5f Compare June 8, 2018 14:58
@miq-bot
Copy link
Member

miq-bot commented Jun 8, 2018

Checked commit agrare@4cafc5f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@Fryguy Fryguy merged commit 8dde2ee into ManageIQ:master Jun 8, 2018
@Fryguy Fryguy added this to the Sprint 88 Ending Jun 18, 2018 milestone Jun 8, 2018
@Fryguy Fryguy assigned Fryguy and unassigned bronaghs Jun 8, 2018
@agrare agrare deleted the fix_authenticator_spec_missing_miq_server branch June 8, 2018 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants