| Summary: | ServiceTemplateProvisionTask not honoring provider zone | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Brant Evans <brant.evans> | |
| Component: | Automate | Assignee: | Bill Wei <bilwei> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Alex Newman <anewman> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.6.0 | CC: | bilwei, cpelland, jhardy, kpichard, mfalesni, mkanoor, obarenbo, simaishi, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1391763 1391764 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 17:44:15 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1391763, 1391764 | |||
|
Description
Brant Evans
2016-09-29 22:58:12 UTC
I believe that the ServiceTemplateProvisionRequest should default the zone for the ServiceTemplateProvisionTask to the zone that the provider is assigned when sending the task to Automate. There should also be a way to override the zone that is used when sending the ServiceTemplateProvisionTask to Automate. Bill - I think the missing part here is supplying the proper zone in miq_request_task.rb. The logic checks if the source supports the "my_zone" method which would need to be added to ServiceTemplateOrchestration. However, there may be a better way to resolve this, will need some research. *** Bug 1313930 has been marked as a duplicate of this bug. *** New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f928e88545292f33189cf1e11f7acb092ba67a3f commit f928e88545292f33189cf1e11f7acb092ba67a3f Author: Bill Wei <bilwei> AuthorDate: Wed Oct 12 14:40:28 2016 -0400 Commit: Bill Wei <bilwei> CommitDate: Wed Oct 12 15:12:25 2016 -0400 Set zone when deliver a service template provision task Add ServiceTemplateOrchestration#my_zone to return zone from orchestration manager. https://bugzilla.redhat.com/show_bug.cgi?id=1380535 app/models/service_template_orchestration.rb | 4 ++ app/models/service_template_provision_task.rb | 3 +- spec/models/service_template_orchestration_spec.rb | 84 +++++++++++++--------- .../models/service_template_provision_task_spec.rb | 7 +- 4 files changed, 61 insertions(+), 37 deletions(-) New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/ae766800aef85f029dcb64ab92087b7ecd66b646 commit ae766800aef85f029dcb64ab92087b7ecd66b646 Author: Greg McCullough <gmccullo> AuthorDate: Tue Oct 25 18:57:03 2016 -0400 Commit: Oleg Barenboim <chessbyte> CommitDate: Tue Nov 1 09:43:08 2016 -0400 Merge pull request #11883 from bzwei/orchestration_zone Set zone when deliver a service template provision task (cherry picked from commit b31af139725839414a942607fe87a253624bdf91) https://bugzilla.redhat.com/show_bug.cgi?id=1380535 app/models/service_template_orchestration.rb | 4 ++ app/models/service_template_provision_task.rb | 3 +- spec/models/service_template_orchestration_spec.rb | 84 +++++++++++++--------- .../models/service_template_provision_task_spec.rb | 7 +- 4 files changed, 61 insertions(+), 37 deletions(-) |