During host refresh we run full refresh for specific events: - HOST_DETECTED - HOST_INSTALL - USER_ADD_HOST - USER_REMOVE_HOST - USER_UPDATE_HOST We need to make sure to run targeted refresh instead.
Could you please provide basic reproduction steps? Is there something specific in emv.log that tells which kind of refresh was executed?
In order to reproduce it you need to add, update or remove a host. In the emv log you need to check which refresh type was triggered for events specified in comment #1.
Piotr, As it seems there are more hosts related events (host status status changes, like move host to maintenance maybe), that may trigger host target refresh, Would you please list all those additional events (in addition to those mentioned in this RFE description), so we will be able to cover them in the feature test plan? Thanks.
Ilanit, All 5 events mentioned in comment #1 were not targeted. All the other based on the code are but I will list them for you: HOST_ACTIVATE, HOST_ACTIVATE_FAILED, HOST_DETECTED, HOST_FAILURE, HOST_INITIATED_RUN_VM, HOST_INSTALL, HOST_MAINTENANCE, HOST_MAINTENANCE_FAILED, HOST_RECOVER, HOST_RECOVER_FAILED, HOST_REGISTER_SUCCEEDED, SYSTEM_HOST_RESTART, USER_ADD_HOST, USER_HOST_MAINTENANCE, USER_HOST_RESTART, USER_HOST_SHUTDOWN, USER_HOST_START, USER_HOST_STOP, USER_INITIATED_RUN_VM_FAILED, USER_INITIATED_SHUTDOWN_VM
Verified on CFME-5.9.0.12/RHV-4.1.8. Those host events were tested: - HOST_DETECTED - HOST_INSTALL - USER_ADD_HOST - USER_REMOVE_HOST - USER_UPDATE_HOST Test plan run: RHEVM3/testrun?id=4_1_targeted_refresh_for_host_events_cfme_5_9_0_12_rhv_4_1_8
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:0380