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

Core changes for azure targeted refresh #17070

Merged

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Feb 28, 2018

Correct targeted_arel joined with load_balancer

Correct targeted_arel joined with load_balancer. For AWS,it was ok to join to pool, which had the same ems_ref as lb. But for Azure, the pool has different ems_ref, so we need to correctly join every table to load_balancers table and filter there

And do not write into extra attributes, since that can leak into other settings.

Partially fixes
https://bugzilla.redhat.com/show_bug.cgi?id=1487602

Passes all specs for all Providers locally

Do not change passed extra attributes, since that could affect another
inventory collections
Correct targeted_arel joined with load_balancer. For AWS,
it was ok to join to pool, which had the same ems_ref as lb.
But for Azure, the pool has different ems_ref, so we need to
correctly join every table to load_balancers table and filter there

Partially fixes
https://bugzilla.redhat.com/show_bug.cgi?id=1487602
@Ladas Ladas changed the title Core changes for azure targeted refresh [WIP] Core changes for azure targeted refresh Feb 28, 2018
@Ladas
Copy link
Contributor Author

Ladas commented Feb 28, 2018

@miq-bot assign @agrare
@miq-bot add_label enhancement

@miq-bot
Copy link
Member

miq-bot commented Feb 28, 2018

Checked commits Ladas/manageiq@431dd0e~...55c7163 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 20 offenses detected

app/models/load_balancer_pool.rb

app/models/manager_refresh/inventory_collection_default/network_manager.rb

@Ladas Ladas changed the title [WIP] Core changes for azure targeted refresh Core changes for azure targeted refresh Mar 1, 2018
@miq-bot miq-bot removed the wip label Mar 1, 2018
@agrare agrare merged commit 08aaead into ManageIQ:master Mar 1, 2018
@agrare agrare added this to the Sprint 81 Ending Mar 12, 2018 milestone Mar 1, 2018
simaishi pushed a commit that referenced this pull request Mar 19, 2018
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 6ffcd732500ae074256609c5c486f5c15139510d
Author: Adam Grare <[email protected]>
Date:   Thu Mar 1 09:16:24 2018 -0500

    Merge pull request #17070 from Ladas/core_changes_for_azure_targeted_refresh
    
    Core changes for azure targeted refresh
    (cherry picked from commit 08aaead145ba6890b71e297d333af0cf2be22b1d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1558078

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.

4 participants