Created attachment 1603496 [details] Screenshot Description of problem: When I put a provider in Pause mode, and initiate Host SSA and resume the provider in some time. When the provider is resumed, the tasks that were Initialized for SSA, never moved out of the Initialized state. Version-Release number of selected component (if applicable): 5.11.0.18 How reproducible: 100% Steps to Reproduce: 1.Add a provider in CFME (I tested this with VMware/RHV) 2.Once provider is refreshed, pause the provider 3.Navigate to Hosts 4.Run SSA on the hosts 5.Navigate to `Tasks` by clicking on top right corner menu, wait for a few mins 6.Resume the providers and re-check the tasks page Actual results: The tasks(showed in screenshot) never move out of Initialized state, even after you resume the provider, it never completes SSA. Expected results: It should either 1) be resumed 2) OR not allow User to run SSA when in paused state 3) OR provide user with better information of why this wouldn't work. Additional info:
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.
I'm not sure if I can mark this as duplicate, but the cause is the same like https://bugzilla.redhat.com/show_bug.cgi?id=1740285
..it's not duplicate, same cause but different solution
https://github.com/ManageIQ/manageiq/pull/19173
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e25a3106bcdeca7848c9fc954a0a5fb37772cee1 commit e25a3106bcdeca7848c9fc954a0a5fb37772cee1 Author: Martin Slemr <mslemr> AuthorDate: Tue Aug 20 09:51:05 2019 -0400 Commit: Martin Slemr <mslemr> CommitDate: Tue Aug 20 09:51:05 2019 -0400 Finish Host Task to error state when EMS paused when invoking SmartState Analysis Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1740841 app/models/host.rb | 10 + spec/models/host_spec.rb | 31 + 2 files changed, 41 insertions(+)