Description of problem: IN PR https://github.com/ManageIQ/manageiq/pull/15490 we are missing generic_objects association from services. Version-Release number of selected component (if applicable): 5.0.9.11 Steps to Reproduce: service = $evm.vmdb(:service).find_by_name('my-service') service.associations => ["all_service_children", "direct_service_children", "direct_vms", "indirect_service_children", "indirect_vms", "parent_service", "root_service", "service_resources", "service_template", "tenant", "vms"] The workaround is currently this: service.service_resources.detect {|sr| sr.resource_type == "GenericObject"}.resource Additional info:
Changed from an RFE, this should be included in the release build. Lucy - I believe we just need to expose the "generic_objects" association from the service model for Service.
https://github.com/ManageIQ/manageiq-automation_engine/pull/128
New commit detected on ManageIQ/manageiq-automation_engine/master: https://github.com/ManageIQ/manageiq-automation_engine/commit/2766f6b04abac52d51338f3fbc1aa32c8ef01f65 commit 2766f6b04abac52d51338f3fbc1aa32c8ef01f65 Author: Lucy Fu <lufu> AuthorDate: Thu Dec 7 11:02:26 2017 -0500 Commit: Lucy Fu <lufu> CommitDate: Thu Dec 7 11:02:26 2017 -0500 Expose generic objects to the services service model. https://bugzilla.redhat.com/show_bug.cgi?id=1522988 lib/miq_automation_engine/service_models/miq_ae_service_service.rb | 1 + 1 file changed, 1 insertion(+)