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

Add cloud_subnets to availability zone test #241

Merged
merged 1 commit into from
Jan 12, 2018
Merged

Add cloud_subnets to availability zone test #241

merged 1 commit into from
Jan 12, 2018

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Jan 11, 2018

Previously, cloud network list was only updated after selection of security group, or change of tab, or a select set of other actions that completely voided the list of parameters passed to the filtering method. This adds a change so that availability zone updates the selection of cloud network, preventing incorrect cloud networks from showing up in the after the zone dropdown changes. This issue was fixed in ManageIQ/manageiq#16688. The google provider test broke because the availability zone wasn't set up to have any subnets which was exposed because of the filtering changes in 16688. This should fix that by adding a network manager to the existing test ems, forcing the ems to not return a nil on the cloud subnet association.

Related to:

ManageIQ/manageiq#16811
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1518847

@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 11, 2018

@miq-bot assign @gmcculloug

@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 11, 2018

@syncrou

@d-m-u d-m-u changed the title Adds cloud_subnets to availability zone test [WIP] Adds cloud_subnets to availability zone test Jan 11, 2018
@miq-bot miq-bot added the wip label Jan 11, 2018
@miq-bot
Copy link
Member

miq-bot commented Jan 11, 2018

Checked commit d-m-u@e6fe94f with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@d-m-u d-m-u changed the title [WIP] Adds cloud_subnets to availability zone test Adds cloud_subnets to availability zone test Jan 12, 2018
@miq-bot miq-bot removed the wip label Jan 12, 2018
@d-m-u d-m-u changed the title Adds cloud_subnets to availability zone test Add cloud_subnets to availability zone test Jan 12, 2018
@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 12, 2018

@miq-bot add_label test

@miq-bot miq-bot added the test label Jan 12, 2018
@gmcculloug gmcculloug merged commit 4e16a37 into ManageIQ:master Jan 12, 2018
@gmcculloug gmcculloug added this to the Sprint 77 Ending Jan 15, 2018 milestone Jan 12, 2018
@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 12, 2018

@miq-bot add_label gaprindashvili/yes

@d-m-u d-m-u deleted the fixing_google_test_with_allowed_cloud_networks branch January 12, 2018 17:16
simaishi pushed a commit that referenced this pull request Jan 12, 2018
…oud_networks

Add cloud_subnets to availability zone test
(cherry picked from commit 4e16a37)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1533277
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 43483e1ecc62f71e3bf4e8b277dda4d942015c0f
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Fri Jan 12 12:07:34 2018 -0500

    Merge pull request #241 from d-m-u/fixing_google_test_with_allowed_cloud_networks
    
    Add cloud_subnets to availability zone test
    (cherry picked from commit 4e16a374aa2c84660dc530d4f06c779e826ae046)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1533277

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