Bug 1696889

Summary: VM Provisioning Timeout - EMS needs manual refresh to see 'new' VMs
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: ProvidersAssignee: Lucy Fu <lufu>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.5CC: agrare, dmetzger, jfrey, jhardy, jprause, mshriver, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1712595 (view as bug list) Environment:
Last Closed: 2019-12-13 14:57:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On: 1715615    
Bug Blocks: 1712595    

Comment 2 Dave Johnson 2019-04-05 22:01:14 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 12 CFME Bot 2019-05-21 16:35:39 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/702b5e1d5951691bcbbc6a88ec630287751ce444
commit 702b5e1d5951691bcbbc6a88ec630287751ce444
Author:     Lucy Fu <lufu>
AuthorDate: Wed May  1 16:12:30 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Wed May  1 16:12:30 2019 -0400

    Add src_vm_or_dest_host_refresh_target.

    If the VM was migrated off of the host before refresh adds the VM to the database then the src_vm target
    for this "/System/event_handlers/event_action_refresh?target=src_vm" won't work.
    We need to refresh the dest_host.

    https://bugzilla.redhat.com/show_bug.cgi?id=1696889

 app/models/ems_event.rb | 4 +
 spec/models/ems_event_spec.rb | 19 +
 2 files changed, 23 insertions(+)

Comment 13 CFME Bot 2019-05-21 17:50:58 UTC
New commit detected on ManageIQ/manageiq-content/master:

https://github.com/ManageIQ/manageiq-content/commit/d253dba2132ed243b08b78427c572f71d071789c
commit d253dba2132ed243b08b78427c572f71d071789c
Author:     Lucy Fu <lufu>
AuthorDate: Wed May  1 16:10:52 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Wed May  1 16:10:52 2019 -0400

    Change refresh target to src_vm_or_dest_host for DrsMigrateVM_Task_Complete.

    If the VM was migrated off of the host before refresh adds the VM to the database then the src_vm target
    for this "/System/event_handlers/event_action_refresh?target=src_vm" won't work.
    We need to refresh the dest_host.

    https://bugzilla.redhat.com/show_bug.cgi?id=1696889

 content/automate/ManageIQ/System/Event/EmsEvent/EVM.class/drsmigratevm_task_complete.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 15 Kedar Kulkarni 2019-05-30 19:29:06 UTC
This BZ is blocked due to regression BZ #1715615