Bug 1280350
| Summary: | NameError uninitialized constant MiqAeMethodService::MiqAeServiceEmsOpenstack | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Greg McCullough <gmccullo> | ||||||
| Component: | Automate | Assignee: | Greg McCullough <gmccullo> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Pavol Kotvan <pakotvan> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.5.0 | CC: | brjohnso, cpelland, david.costakos, jhardy, kmorey, mfeifer, mkanoor, obarenbo, simaishi, tfitzger | ||||||
| Target Milestone: | GA | ||||||||
| Target Release: | 5.5.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.5.0.11 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-12-08 13:46:19 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Greg McCullough
2015-11-11 14:29:54 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/92ff2c3e8cff268818c8c7d66107102fe27cb00f commit 92ff2c3e8cff268818c8c7d66107102fe27cb00f Author: Greg McCullough <gmccullo> AuthorDate: Wed Nov 11 19:18:42 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Mon Nov 16 10:59:24 2015 -0500 Allow automate methods to load service models using old model names This is required to support automate methods that access models using legacy provider model names which are now name-spaced. For example: $evm.vmdb(:ems_openstack) is now: $evm.vmdb(:ManageIQ_Providers_Openstack_CloudManager) https://bugzilla.redhat.com/show_bug.cgi?id=1280350 lib/miq_automation_engine/engine/miq_ae_service.rb | 15 +++- .../engine/miq_ae_service_model_legacy.rb | 100 +++++++++++++++++++++ .../miq_automation_engine/miq_ae_service_spec.rb | 40 +++++++++ 3 files changed, 151 insertions(+), 4 deletions(-) create mode 100644 lib/miq_automation_engine/engine/miq_ae_service_model_legacy.rb New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e2b18ef05bdf1f825621a1431216641c38cf6271 commit e2b18ef05bdf1f825621a1431216641c38cf6271 Author: Greg McCullough <gmccullo> AuthorDate: Thu Nov 12 16:51:41 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Mon Nov 16 10:59:26 2015 -0500 Fix provider service model inheritance Discovered ConfigurationManager and ProvisioningManager service models were not properly converted to pluggable provider name-spacing. https://bugzilla.redhat.com/show_bug.cgi?id=1280350 .../service_models/miq_ae_service_configuration_manager.rb | 7 ------- .../miq_ae_service_manageiq-providers-configuration_manager.rb | 7 +++++++ .../miq_ae_service_manageiq-providers-provisioning_manager.rb | 7 +++++++ .../service_models/miq_ae_service_provisioning_manager.rb | 7 ------- spec/lib/miq_automation_engine/miq_ae_service_spec.rb | 6 ++++++ 5 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_configuration_manager.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-configuration_manager.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-provisioning_manager.rb delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_provisioning_manager.rb New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8e12a678fa14e7e2a35ab9c27ba28b97be65c75d commit 8e12a678fa14e7e2a35ab9c27ba28b97be65c75d Author: Greg McCullough <gmccullo> AuthorDate: Wed Nov 11 19:18:42 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Mon Nov 16 15:17:23 2015 -0500 Allow automate methods to load service models using old model names This is required to support automate methods that access models using legacy provider model names which are now name-spaced. For example: $evm.vmdb(:ems_openstack) is now: $evm.vmdb(:ManageIQ_Providers_Openstack_CloudManager) https://bugzilla.redhat.com/show_bug.cgi?id=1280350 lib/miq_automation_engine/engine/miq_ae_service.rb | 15 +++- .../engine/miq_ae_service_model_legacy.rb | 100 +++++++++++++++++++++ .../miq_automation_engine/miq_ae_service_spec.rb | 40 +++++++++ 3 files changed, 151 insertions(+), 4 deletions(-) create mode 100644 lib/miq_automation_engine/engine/miq_ae_service_model_legacy.rb New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a2695b726d6750665bdd85c2be4c633a25273189 commit a2695b726d6750665bdd85c2be4c633a25273189 Author: Greg McCullough <gmccullo> AuthorDate: Thu Nov 12 16:51:41 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Mon Nov 16 15:18:23 2015 -0500 Fix provider service model inheritance Discovered ConfigurationManager and ProvisioningManager service models were not properly converted to pluggable provider name-spacing. https://bugzilla.redhat.com/show_bug.cgi?id=1280350 .../service_models/miq_ae_service_configuration_manager.rb | 7 ------- .../miq_ae_service_manageiq-providers-configuration_manager.rb | 7 +++++++ .../miq_ae_service_manageiq-providers-provisioning_manager.rb | 7 +++++++ .../service_models/miq_ae_service_provisioning_manager.rb | 7 ------- spec/lib/miq_automation_engine/miq_ae_service_spec.rb | 6 ++++++ 5 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_configuration_manager.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-configuration_manager.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-provisioning_manager.rb delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_provisioning_manager.rb Created attachment 1098821 [details]
Verification - Automation log
Created attachment 1098823 [details]
Verification - Screenshot - Simulation
Verified against 5.5.0.12-rc2.20151124135609_653c0d4. 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/RHSA-2015:2551 |