-
Notifications
You must be signed in to change notification settings - Fork 897
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
Link service resources of bundled service correctly #18251
Link service resources of bundled service correctly #18251
Conversation
@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.
@d-m-u Looks good.
6e65b7d
to
d038d01
Compare
Checked commit d-m-u@d038d01 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
…inking Link service resources of bundled service correctly (cherry picked from commit 4cdafdb) https://bugzilla.redhat.com/show_bug.cgi?id=1655081
Gaprindashvili backport details:
|
…inking Link service resources of bundled service correctly (cherry picked from commit 4cdafdb) https://bugzilla.redhat.com/show_bug.cgi?id=1653648
Hammer backport details:
|
…inking Link service resources of bundled service correctly (cherry picked from commit 4cdafdb) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1660601
Fine backport details:
|
This fixes an issue with the provisioning of bundled services that was introduced in https://github.com/ManageIQ/manageiq/pull/16799/files#diff-9257fff45a7d1258305c9a6b7d15e322R198, a pr which changed service_template.rb to use the block form of create. The issue with this is that when we get to the "add_resource" call the child service isn't saved yet and does not have an ID which causes the service resource to be saved with a resource_type but without a resource_id.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1653648
It was originally #18250 but that got closed because master and hammer both have the service retire task logic implemented as part of retirement as a request.