Bug 1450102
| Summary: | Service dialog is created without extra_vars | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Dmitry Misharov <dmisharo> | |
| Component: | Automate | Assignee: | Lucy Fu <lufu> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.8.0 | CC: | cpelland, dmisharo, gmccullo, hkataria, jhardy, mkanoor, mpovolny, obarenbo, tfitzger | |
| Target Milestone: | GA | Keywords: | Reopened, TestOnly, ZStream | |
| Target Release: | 5.9.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ui:ansible:service | |||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1459989 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:16:59 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1459989 | |||
|
Description
Dmitry Misharov
2017-05-11 14:20:19 UTC
This is working as currently designed. When the dialog is created it will add fields, if you are updating the catalog item or re-using the dialog as part of a different service it will not automatically update. The user will need to manually update the dialog to provide the changed extra_var fields. I didn't reuse existing service dialog, I created a new one during editing if the catalog item. This issue needs to be reviewed by development as I was thinking of the logic when updating a catalog item using an existing dialog. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/76bae5b7b826a765d3a0c81a647372be065a703d commit 76bae5b7b826a765d3a0c81a647372be065a703d Author: Lucy Fu <lufu> AuthorDate: Thu May 18 10:45:07 2017 -0400 Commit: Lucy Fu <lufu> CommitDate: Thu May 18 12:02:10 2017 -0400 Use extra_vars to create a new dialog when editing Ansible playbook service template. Use the new values in extra_vars to create a new dialog, instead of waiting for the updated job template which may take some time. https://bugzilla.redhat.com/show_bug.cgi?id=1450102 app/models/dialog/ansible_playbook_service_dialog.rb | 14 +++++++------- app/models/service_template_ansible_playbook.rb | 6 +++--- spec/models/dialog/ansible_playbook_service_dialog_spec.rb | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) Verified in 5.9.0.2.20171010190026_0413a06. |