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 source to retire request to parse in parse_prov_category in engine #18738

Merged
merged 1 commit into from
May 7, 2019

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented May 6, 2019

We hadn't kept the source_id and source_type in the vm_retire_request previously because Automate hadn't been wired to do the auto-approval correctly. With the recent removal of auto-approval from the retirement mixin make_request, we need this change and also an incoming Automate change to have the state machine handle approval correctly.

Part of fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1706208

related to

ManageIQ/manageiq-content#532

@d-m-u
Copy link
Contributor Author

d-m-u commented May 6, 2019

@miq-bot assign @tinaafitz
@miq-bot add_label hammer/yes
@miq-bot add_label bug
@miq-bot add_label yuck

@d-m-u
Copy link
Contributor Author

d-m-u commented May 6, 2019

@miq-bot add_reviewer @mkanoor

@miq-bot
Copy link
Member

miq-bot commented May 6, 2019

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

@miq-bot miq-bot requested a review from mkanoor May 6, 2019 19:49
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.

@d-m-u Looks good. Thank you so much for your work on this issue.

@d-m-u d-m-u force-pushed the add_source_to_vm_retire_request branch from 5f16c19 to f579458 Compare May 6, 2019 21:01
@miq-bot
Copy link
Member

miq-bot commented May 6, 2019

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

@mkanoor mkanoor merged commit a10933d into ManageIQ:master May 7, 2019
simaishi pushed a commit that referenced this pull request May 7, 2019
Add source to retire request to parse in parse_prov_category in engine

(cherry picked from commit a10933d)

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

simaishi commented May 7, 2019

Hammer backport details:

$ git log -1
commit e2647b20c676124b2d8142b51ba507802139ea71
Author: Madhu Kanoor <mkanoor@redhat.com>
Date:   Tue May 7 10:47:34 2019 -0400

    Merge pull request #18738 from d-m-u/add_source_to_vm_retire_request
    
    Add source to retire request to parse in parse_prov_category in engine
    
    (cherry picked from commit a10933d1775cb65a8f81904866b71b3970f06870)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1707456

@gmcculloug gmcculloug added this to the Sprint 111 Ending May 13, 2019 milestone May 14, 2019
@d-m-u d-m-u deleted the add_source_to_vm_retire_request branch September 26, 2019 10:35
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.

6 participants