Bug 1287473
Summary: | Accessing the ae_domains association of an MiqAeServiceTenant object causes error "uninitialized constant MiqAeMethodService::MiqAeServiceMiqAeDomain" | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> | |
Component: | Automate | Assignee: | mkanoor | |
Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.5.0 | CC: | dajohnso, jhardy, mkanoor, obarenbo, tfitzger | |
Target Milestone: | GA | |||
Target Release: | 5.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1288119 1288120 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-29 15:15:07 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: | 1288119, 1288120 |
Description
Peter McGowan
2015-12-02 08:05:05 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/a0d8a7edc1f368f5daa39e0ce67615af4270d996 commit a0d8a7edc1f368f5daa39e0ce67615af4270d996 Author: Madhu Kanoor <mkanoor> AuthorDate: Wed Dec 2 14:38:45 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Wed Dec 2 14:38:45 2015 -0500 Added Service Model for MiqAeDomain https://bugzilla.redhat.com/show_bug.cgi?id=1287473 Starting in 5.5 each domain is owned by a tenant, tenants have a relationship to domains. The Service Model for MiqAeDomain was not being defined. Added Service Model for MiqAeDomain & MiqAeNamespace .../service_models/miq_ae_service_miq_ae_domain.rb | 4 ++++ .../service_models/miq_ae_service_miq_ae_namespace.rb | 4 ++++ .../lib/miq_automation_engine/miq_ae_service_model_spec.rb | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_miq_ae_domain.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_miq_ae_namespace.rb *** Bug 1288119 has been marked as a duplicate of this bug. *** New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ff66e0be304af60180bbc3fa03b26a322a1d387a commit ff66e0be304af60180bbc3fa03b26a322a1d387a Author: Madhu Kanoor <mkanoor> AuthorDate: Wed Dec 2 14:38:45 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Wed Dec 2 16:37:04 2015 -0500 Added Service Model for MiqAeDomain https://bugzilla.redhat.com/show_bug.cgi?id=1287473 Starting in 5.5 each domain is owned by a tenant, tenants have a relationship to domains. The Service Model for MiqAeDomain was not being defined. Added Service Model for MiqAeDomain & MiqAeNamespace .../service_models/miq_ae_service_miq_ae_domain.rb | 4 ++++ .../service_models/miq_ae_service_miq_ae_namespace.rb | 4 ++++ .../lib/miq_automation_engine/miq_ae_service_model_spec.rb | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_miq_ae_domain.rb create mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_miq_ae_namespace.rb Verified in 5.6.0.8, both in provision and in rails console, the .ae_domains relationship of tenant is working. 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 |