Bug 1465826
Summary: | Accessing the 'manager' association of a ManageIQ_Providers_EmbeddedAnsible_AutomationManager_Job service model gives a NoMethodError exception | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> | |
Component: | Automate | Assignee: | Lucy Fu <lufu> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.8.0 | CC: | jhardy, mkanoor, obarenbo, simaishi, tfitzger | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ansible_embed:automate | |||
Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1478515 (view as bug list) | Environment: | ||
Last Closed: | 2018-03-06 15:26:15 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: | 1478515 |
Description
Peter McGowan
2017-06-28 09:58:39 UTC
New commit detected on ManageIQ/manageiq-automation_engine/master: https://github.com/ManageIQ/manageiq-automation_engine/commit/751893848d14403413d54d8c4d81fe84720d33dc commit 751893848d14403413d54d8c4d81fe84720d33dc Author: Lucy Fu <lufu> AuthorDate: Wed Jul 5 16:47:11 2017 -0400 Commit: Lucy Fu <lufu> CommitDate: Wed Jul 5 16:47:11 2017 -0400 Remove the expose of manager to Embedded Ansible Job in service model. The :manager association to Embedded Ansible Job does not exist in the model side. https://bugzilla.redhat.com/show_bug.cgi?id=1465826 ...vice_manageiq-providers-automation_manager-orchestration_stack.rb | 5 ----- ...ice_manageiq-providers-embedded_ansible-automation_manager-job.rb | 5 ----- ...geiq-providers-embedded_automation_manager-orchestration_stack.rb | 5 ----- 3 files changed, 15 deletions(-) delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-automation_manager-orchestration_stack.rb delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-embedded_ansible-automation_manager-job.rb delete mode 100644 lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-embedded_automation_manager-orchestration_stack.rb Verified in 5.9.0.2.20171010190026_0413a06. irb(main):001:0> $evm=MiqAeMethodService::MiqAeService.new(MiqAeEngine::MiqAeWorkspaceRuntime.new) ... irb(main):002:0> job = $evm.vmdb('ManageIQ_Providers_EmbeddedAnsible_AutomationManager_Job').first ... irb(main):003:0> job.associations => ["ext_management_system", "outputs", "parameters", "resources"] irb(main):004:0> job.ext_management_system job.ext_management_system can be used to access its manager. |