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

Fixes #31364 - Properly import facts when unattended == false #8161

Merged
merged 1 commit into from Nov 29, 2020

Conversation

tbrisker
Copy link
Member

The fact importer calls host.without_orchestration which is defined in
orchestration concern, however the concern is only included when
unattended == true. Users who have the setting set to false will not be
able to import facts as the fact importer will fail to find this method.

The fact importer calls host.without_orchestration which is defined in
orchestration concern, however the concern is only included when
unattended == true. Users who have the setting set to false will not be
able to import facts as the fact importer will fail to find this method.
@theforeman-bot
Copy link
Member

Issues: #31364

@tbrisker
Copy link
Member Author

see GH-8160 for why we can't really test this properly. This change should be CPed down to 2.2-stable and 2.3-stable.

@ezr-ondrej
Copy link
Member

[test katello]

Copy link
Member

@ezr-ondrej ezr-ondrej left a comment

Choose a reason for hiding this comment

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

Thanks for addressing this @tbrisker, silly me didn't realize Orchestration is not included, I guess we could use respond_to?, but I like this fix more as this prevents others making the same mistake. Let's get this in and discuss what we can do about this not happening in the future in the other PR 👍

@ezr-ondrej ezr-ondrej merged commit 2083131 into theforeman:develop Nov 29, 2020
@tbrisker
Copy link
Member Author

2.3 - 4da5c8f
2.2 - 59fcc62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants