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

Fix has_required_role? for InventoryCollectorWorker #16415

Conversation

agrare
Copy link
Member

@agrare agrare commented Nov 7, 2017

This was skipping the base MiqWorker.has_required_role? code checking
for active roles and instead just looking for the disabled setting.

This was skipping the base MiqWorker.has_required_role? code checking
for active roles and instead just looking for the disabled setting.
@miq-bot
Copy link
Member

miq-bot commented Nov 7, 2017

Checked commit agrare@1874de3 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@chessbyte
Copy link
Member

@agrare needed for Gaprindashvili?

@chessbyte chessbyte self-assigned this Nov 8, 2017
@chessbyte chessbyte merged commit af45409 into ManageIQ:master Nov 8, 2017
@chessbyte chessbyte added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 8, 2017
@agrare agrare deleted the fix_inventory_collector_worker_has_required_roles branch November 8, 2017 12:04
agrare added a commit to agrare/manageiq-providers-kubernetes that referenced this pull request Nov 8, 2017
The has_required_role? method wasn't calling the base
MiqWorker#has_required_role? leading to all workers in the zone running
the inventory collector.

Depends: ManageIQ/manageiq#16415
agrare added a commit to agrare/manageiq-providers-openshift that referenced this pull request Nov 8, 2017
The has_required_role? method wasn't calling the base
MiqWorker#has_required_role? leading to all workers in the zone running
the inventory collector.

Depends: ManageIQ/manageiq#16415
simaishi pushed a commit that referenced this pull request Nov 14, 2017
…has_required_roles

Fix has_required_role? for InventoryCollectorWorker
(cherry picked from commit af45409)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit c3fdf23a814aa5397dd562faca82ffff1aefbc18
Author: Oleg Barenboim <[email protected]>
Date:   Wed Nov 8 07:03:06 2017 -0500

    Merge pull request #16415 from agrare/fix_inventory_collector_worker_has_required_roles
    
    Fix has_required_role? for InventoryCollectorWorker
    (cherry picked from commit af4540941e294ed3b9b4998b7220de67edc03af7)

yaacov pushed a commit to yaacov/manageiq-providers-kubernetes that referenced this pull request Dec 10, 2017
The has_required_role? method wasn't calling the base
MiqWorker#has_required_role? leading to all workers in the zone running
the inventory collector.

Depends: ManageIQ/manageiq#16415
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