Bug 1553808
| Summary: | [RHV] SSA is not retrieving file information from VM on RHV | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jan Zmeskal <jzmeskal> | |
| Component: | SmartState Analysis | Assignee: | Hui Song <hsong> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hrazdil <rhrazdil> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.9.0 | CC: | cpelland, dscott, hsong, istein, jzmeskal, mperina, obarenbo, rhrazdil, roliveri, smallamp | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | rhev | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1578121 (view as bug list) | Environment: | ||
| Last Closed: | 2019-02-11 14:08:34 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | RHEVM | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1578121 | |||
|
Description
Jan Zmeskal
2018-03-09 15:10:41 UTC
Hi Hui, I am like 99 % sure that I assigned "sample" analysis profile to the VM before running SSA. If you want, I can double-check and do reproduction according to the manual step by step. Jan Hi, Jan, Please retry the profile configuration and make sure: 1. In UI page, the selected vm will have a shield icon on it if profile is set correctly; 2. In evm.log, the category in job option should contain 'profiles'; Thanks, Hi Hui, When I tested VM SSA recently, I did not follow the instructions you mentioned. For another CFME (10.35.163.107), where I already run VM SSA, and files were not collected, I followed the instructions, once with profile "new", and once with profile "Default", however the files were not collected. This is the VM I've run SSA on: "cfme-5.9.0.22-iscsi-2", on RHV provider "rhv-4.1". It is also the CFME VM. It is ISCSI storage based, and I already run SSA on it in the past, but not with the above instructions. It might be that I missed something, when I followed the instructions. I suspect that since you mention there should be a shield icon on the VM icon, and I do not see it. Can you please take a look? As you tested it, and it worked for you, it might be just a matter of wrong settings. Thanks. Hi, Ilanit, The profile name has to be 'default', rather than 'Default'. I went through the scanning profile logic. The profile is only honored when its name is 'default'. After I corrected it, now files information is retrieved. Thanks, Hi Hui, I am not sure if I understand it here. Does it mean the the _only_ analysis profile that is respected during execution of SSA for VM is that named exactly "default"? Yes, even it sounds strange, but it true. Only the profile named 'default' is taken. That is, unless a specific profile is selected during policy resolution for the SSA request. No, I'll work on this to respect the profile if user defines a one. *** Bug 1528419 has been marked as a duplicate of this bug. *** The fix is in PR: https://github.com/ManageIQ/manageiq/pull/17331 Verified that SSA works for Analysis Profile named differently than 'default' as well as for 'default'. Files are collected correctly. Followed steps documented in 'Detailed reproduction'. Version 5.10.0.0.20180613200131_887cc81 |