-
Notifications
You must be signed in to change notification settings - Fork 92
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
Extend allowed_cloud_network for providers that don't support allowed_ci #197
Conversation
@miq-bot assign @gmcculloug |
@miq-bot add_label bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important thing is, that this fixes the CI. So I am fine merging this and backporting this, so we get also g-release CI in order.
We could then abstract the common code to base class, probably as upstream only PR?
@aufi this is basically a revert of Ladas/manageiq@2784dce#diff-affc070fa31fb03b3d1afa85434e8f3d
cf8d00e
to
f2cb328
Compare
Checked commit d-m-u@f2cb328 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@aufi can this please get reviewed again/merged ASAP? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Removed the |
PR ManageIQ/manageiq#16811 and ManageIQ/manageiq#16688 adds RBAC filtering to allowed_cloud_network base class but two of the providers don't support the allowed_ci method so for them we need to overwrite the allowed_cloud_networks, to just return allowed_cloud_networks. Which this does! (Per ManageIQ/manageiq#16824 (comment))
Fixes issue caused by fix of https://bugzilla.redhat.com/show_bug.cgi?id=1533277
(Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535189)
Related to:
ManageIQ/manageiq-providers-google#41