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

Use Host#uid_ems to link host records to ems_events #20348

Merged
merged 2 commits into from
Jul 10, 2020

Conversation

agrare
Copy link
Member

@agrare agrare commented Jul 9, 2020

If we are unable to find the host by ems_ref attempt to use the host_uid_ems attribute similar to how VMs are looked up.

This allows us to delete a DB query from the OpenStack EventCatcher

Needed for: ManageIQ/manageiq-providers-openstack#617

If we are unable to find the host by ems_ref attempt to use the
host_uid_ems attribute
app/models/ems_event.rb Outdated Show resolved Hide resolved
@agrare
Copy link
Member Author

agrare commented Jul 9, 2020

cc @Fryguy

@miq-bot
Copy link
Member

miq-bot commented Jul 10, 2020

Checked commits agrare/manageiq@dc7c10e~...78fec93 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. 👍

@Fryguy Fryguy merged commit bdd6765 into ManageIQ:master Jul 10, 2020
@agrare agrare deleted the process_host_uid_ems_in_ems_events branch July 11, 2020 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants