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

[HAMMER] Add create_subtasks method to service_retire_task for ansible playbooks #18620

Merged

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Apr 3, 2019

... services.

We are currently creating the service retire tasks before we send them to automate, which means that if the parent service is an ansible playbook service with config options specifying the resources to not be retired, we will have already created tasks for the retirement of said resources, and will not honor the playbook config options hash. This cuts off the task creation for APS's early if the config option to not retire resources is present.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1695627

This is hammer version of #18609 because of #18609 (comment)

@d-m-u
Copy link
Contributor Author

d-m-u commented Apr 3, 2019

@miq-bot assign @simaishi
@miq-bot add_label hammer/only
@miq-bot add_label bug

@miq-bot miq-bot changed the title Add create_subtasks method to service_retire_task for ansible playbooks [HAMMER] Add create_subtasks method to service_retire_task for ansible playbooks Apr 3, 2019
@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2019

@d-m-u Cannot apply the following label because they are not recognized: hammer/only

@miq-bot miq-bot added the bug label Apr 3, 2019
@d-m-u
Copy link
Contributor Author

d-m-u commented Apr 3, 2019

@miq-bot add_label hammer/yes
whatever, ugh

@d-m-u
Copy link
Contributor Author

d-m-u commented Apr 3, 2019

or just hammer. c'mon labels are difficult.

@d-m-u d-m-u force-pushed the hammer_version_of_ansible_retireable_check branch from 6c77047 to 890e4ac Compare April 3, 2019 13:55
@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2019

Checked commit d-m-u@890e4ac with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
4 files checked, 0 offenses detected
Everything looks fine. 🍰

@simaishi simaishi requested a review from tinaafitz April 3, 2019 15:34
Copy link
Member

@tinaafitz tinaafitz left a comment

Choose a reason for hiding this comment

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

@simaishi Looks good.

@simaishi simaishi merged commit ba60e64 into ManageIQ:hammer Apr 4, 2019
@simaishi simaishi added this to the Sprint 109 Ending Apr 15, 2019 milestone Apr 4, 2019
@d-m-u d-m-u deleted the hammer_version_of_ansible_retireable_check branch September 26, 2019 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants