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

Delegate vms_and_templates and miq_templates to parent_manager #18488

Conversation

lpichler
Copy link
Contributor

@lpichler lpichler commented Feb 26, 2019

Images(templates) of Network manager(and not only instances) should be also delegated to its parent manager(provider).

it causes that filters(so called belongs to filters) with networks manager Host & Cluster filter will not work without this change:

screenshot 2019-03-01 at 14 08 14

because it leads to call method vms_and_templates on instances of ManageIQ::Providers::NetworkManager and it is returning empty array without delegation in this PR.

Links

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

@miq-bot miq-bot added the wip label Feb 26, 2019
@lpichler lpichler force-pushed the delegate_vms_and_templates_to_parent_manager_in_NetworkManager branch 4 times, most recently from 7cae002 to 05f8a3c Compare February 27, 2019 17:02
@lpichler lpichler force-pushed the delegate_vms_and_templates_to_parent_manager_in_NetworkManager branch from 05f8a3c to ec2d5d0 Compare February 27, 2019 17:41
@miq-bot
Copy link
Member

miq-bot commented Feb 27, 2019

Checked commit lpichler@ec2d5d0 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@lpichler lpichler changed the title [WIP] Deletegate vms_and_templates and miq_templates to parent_manager Deletegate vms_and_templates and miq_templates to parent_manager Mar 1, 2019
@miq-bot miq-bot removed the wip label Mar 1, 2019
@lpichler
Copy link
Contributor Author

lpichler commented Mar 1, 2019

@miq-bot assign @gtanzillo
@miq-bot add_label bug

@Ladas can you review please ?

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 should be ok, we do the same for vms

@lpichler lpichler changed the title Deletegate vms_and_templates and miq_templates to parent_manager Delegate vms_and_templates and miq_templates to parent_manager Mar 1, 2019
@gtanzillo gtanzillo added this to the Sprint 107 Ending Mar 18, 2019 milestone Mar 5, 2019
@gtanzillo gtanzillo merged commit 0f3be1d into ManageIQ:master Mar 5, 2019
@lpichler lpichler deleted the delegate_vms_and_templates_to_parent_manager_in_NetworkManager branch March 5, 2019 17:46
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.

4 participants