Bug 1584687
Summary: | refresh_target_for_ems is not running in one of our environments | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | Providers | Assignee: | Boriso <bodnopoz> |
Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.8.0 | CC: | bodnopoz, cpelland, gblomqui, istein, jfrey, jhardy, jprause, lavenel, mfeifer, mgoldboi, mperina, obarenbo |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.9.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.9.3.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1580521 | Environment: | |
Last Closed: | 2018-07-12 13:15:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | RHEVM | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1580521 | ||
Bug Blocks: |
Comment 2
CFME Bot
2018-05-31 12:59:21 UTC
This bug is reproducible on CFME-5.9.3.0.20180522175053_3940873/RHV-4.2.3.5-0.1.el7, under these conditions: 1. log mode "debug" 2. settings.yml use_RHV api version 3 (ovirt_engine_sdk - > false) Running operation: VM provision from template. Implementing Boris's bug fix: https://github.com/ManageIQ/manageiq/pull/17499/files , fixes the issue: * VM provision from template ends up successfully, and the VM is displayed on CFME side. * evm.log do not contain error messages that follow the add VM event: [----] I, [2018-06-04T11:38:55.573999 #5640:12c9114] INFO -- : MIQ(MiqAeEngine.deliver) Delivering {:event_id=>47156, :event_stream_id=>47156, :event_type=>"USER_ADD_VM_FINISHED_SUCCESS"} for object [EmsEvent.47156] with state [] to Automate More details on the steps: 1. How to move to RHV api version V3: >> vmdb >> bundle show manageiq-providers-ovirt Copy the path it returns and go to that folder. [vmdb]# bundle show manageiq-providers-ovirt /opt/rh/cfme-gemset/bundler/gems/cfme-providers-ovirt-549dfa05bc6e [vmdb]# cd /opt/rh/cfme-gemset/bundler/gems/cfme-providers-ovirt-549dfa05bc6e [cfme-providers-ovirt-549dfa05bc6e]# vim config/settings.yml There change the appropriate settings: use_ovirt_engine_sdk: false then restart: >> vmdb >> rake evm:restart 2. Implementing Boris's fix: Change was added in event_parsing/parser.rb, in these 2 locations: # find / -name infra_manager | grep ovirt /opt/rh/cfme-gemset/bundler/gems/cfme-providers-ovirt-e795f891c691/app/models/manageiq/providers/redhat/infra_manager /opt/rh/cfme-gemset/bundler/gems/manageiq-providers-ovirt-e795f891c691/app/models/manageiq/providers/redhat/infra_manager then restart: >> vmdb >> rake evm:restart Verified on CFME-5.9.3.1/RHV-4.2.3 Steps: 1. settings.yml use_RHV api version 3 (ovirt_engine_sdk - > false) 2. VM provision from template. 3. log mode "debug" Results: * VM provision from template ends up successfully, and the VM is displayed on CFME side. * evm.log do not contain error messages that follow the USER_ADD_VM_FINISHED_SUCCESS event: [----] I, [2018-06-07T07:57:55.311568 #47643:94d108] INFO -- : MIQ(MiqAeEngine.deliver) Delivering {:event_id=>350, :event_stream_id=>350, :event_type=>"USER_ADD_VM_FINISHED_SUCCESS"} for object [EmsEvent.350] with state [] to Automate 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-2018:2184 |