Description of problem: SmartState required automate server roles enabled on the worker has SmartProxy role enabled Version-Release number of selected component (if applicable): 4.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is not a bug, it's by design. GregM, is that correct?
4.2 introduced the event switchboard which passes all events into automate. At the start of the vm scan job we raise a vm_scan_start (VM Analysis Start) event which is what I currently assume is creating this dependency.
https://github.com/ManageIQ/manageiq/pull/15228
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/234af0ae7875f1cdc0663d12e15f9896799f397b commit 234af0ae7875f1cdc0663d12e15f9896799f397b Author: Lucy Fu <lufu> AuthorDate: Thu May 25 09:11:28 2017 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue May 30 17:51:43 2017 -0400 Queue the VM scan command after vm_scan_start event is handled by automate. All events are handled by automate role server. And VM scan is handled only by SmartState role server. Queueing the VM scan signal for next step allows the separation of these two server roles. https://bugzilla.redhat.com/show_bug.cgi?id=1454936 app/models/vm_scan.rb | 24 ++++++--- spec/models/vm_scan_spec.rb | 125 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 123 insertions(+), 26 deletions(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e86b4a0bb0edc661beaa2d3dc9fd5aa225516a67 commit e86b4a0bb0edc661beaa2d3dc9fd5aa225516a67 Author: Lucy Fu <lufu> AuthorDate: Thu May 25 09:12:44 2017 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue May 30 17:51:48 2017 -0400 Fix rubocop warnings. https://bugzilla.redhat.com/show_bug.cgi?id=1454936 app/models/vm_scan.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
Able to scan VM which resides on SSA zone having SmartProxy, SmartState Analysis and Automate role enabled. Rest all roles are enabled in Default Zone. Verified Version: 5.9.0.17.20180116225234_ac8b6f5