Bug 1454936
| Summary: | SmartState required automate server roles enabled on the worker has SmartProxy role enabled | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Saif Ali <saali> | |
| Component: | SmartState Analysis | Assignee: | Lucy Fu <lufu> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Satyajit Bulage <sbulage> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | akarol, brant.evans, gmccullo, jhardy, jocarter, mfeifer, obarenbo, saali, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1457899 1460339 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:53:25 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1457899, 1460339 | |||
|
Description
Saif Ali
2017-05-23 19:49:07 UTC
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. 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 |