Bug 1318032
| Summary: | Cloud instance lacks owner after self-service provisioning | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | David La Motta <dlamotta> | |
| Component: | Automate | Assignee: | Bill Wei <bilwei> | |
| Status: | CLOSED ERRATA | QA Contact: | Jeff Teehan <jteehan> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | jhardy, jprause, jteehan, kmorey, mkanoor, ncatling, nstephan, obarenbo, tfitzger | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.6.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | service:provision | |||
| Fixed In Version: | 5.6.0.1 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1318753 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-29 15:43:04 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1318753 | |||
|
Description
David La Motta
2016-03-15 19:26:10 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/9b360464ce0e56d76ba03d32042410125f020e28 commit 9b360464ce0e56d76ba03d32042410125f020e28 Author: Bill Wei <bilwei> AuthorDate: Tue Mar 22 09:33:56 2016 -0400 Commit: Bill Wei <bilwei> CommitDate: Mon Apr 4 10:53:54 2016 -0400 Set owners for VMs created by an orchestration stack https://bugzilla.redhat.com/show_bug.cgi?id=1318032 Introduced new method post_provision_configure in the service class, where VMs inherit owner from the service. app/models/service_orchestration.rb | 7 +++++++ .../Methods.class/__methods__/postprovision.rb | 5 ++++- .../miq_ae_service_service_orchestration.rb | 1 + .../orchestration_postprovision_spec.rb | 12 ++++++++++++ spec/models/service_orchestration_spec.rb | 20 +++++++++++++++++++- 5 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 spec/automation/unit/method_validation/orchestration_postprovision_spec.rb I created a group/user/catalog/item/vm all named qepuke, logged out and in, and spun up the Azure image via Orchestration. Image deployed just fine. When I go to Cloud/Instances and click on Instances | Own global filter, is see just the single instance of qepuke. I'm in qe, so I can get away with the naming convention. :) It appears to be associating the owner to the instance as expected. Moving to verified. You can check it out on my Beta 2 appliance for the rest of this week at https://10.16.7.174/vm_cloud/explorer if you'd like using user/pw qepuke/qepuke. New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=94b5de0a48f100863fcf701089e437b43bab3160 commit 94b5de0a48f100863fcf701089e437b43bab3160 Author: Bill Wei <bilwei> AuthorDate: Tue Mar 22 09:33:56 2016 -0400 Commit: Bill Wei <bilwei> CommitDate: Wed Apr 20 14:30:00 2016 -0400 Set owners for VMs created by an orchestration stack https://bugzilla.redhat.com/show_bug.cgi?id=1318032 Introduced new method post_provision_configure in the service class, where VMs inherit owner from the service. app/models/service_orchestration.rb | 7 +++++++ .../Methods.class/__methods__/postprovision.rb | 5 ++++- .../miq_ae_service_service_orchestration.rb | 1 + .../orchestration_postprovision_spec.rb | 12 ++++++++++++ spec/models/service_orchestration_spec.rb | 20 +++++++++++++++++++- 5 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 spec/automation/unit/method_validation/orchestration_postprovision_spec.rb New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ffaa64210d166a519888860c5198a90f95b69208 commit ffaa64210d166a519888860c5198a90f95b69208 Merge: bfe7200 94b5de0 Author: Greg McCullough <gmccullo> AuthorDate: Wed Apr 20 17:08:54 2016 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Wed Apr 20 17:08:54 2016 -0400 Merge branch '5.5.z-vm-owner' into '5.5.z' Set owners for VMs created by an orchestration stack https://bugzilla.redhat.com/show_bug.cgi?id=1318032 Introduced new method post_provision_configure in the service class, where VMs inherit owner from the service. Original PR: https://github.com/ManageIQ/manageiq/pull/7557 5.5.z BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1318753 See merge request !903 app/models/service_orchestration.rb | 7 +++++++ .../Methods.class/__methods__/postprovision.rb | 5 ++++- .../miq_ae_service_service_orchestration.rb | 1 + .../orchestration_postprovision_spec.rb | 12 ++++++++++++ spec/models/service_orchestration_spec.rb | 20 +++++++++++++++++++- 5 files changed, 43 insertions(+), 2 deletions(-) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 *** Bug 1353932 has been marked as a duplicate of this bug. *** |