Description of problem: After performing SSA on RHV VM, Files count in VM's summary is 0. Version-Release number of selected component (if applicable): CFME 5.9.0.22.20180221205805_f93a675 RHV 4.1.10 How reproducible: 100 % Steps to Reproduce: 1. Have a VM on RHV provider within CFME (Don't forget to set VM's management engine relationship). 2. Make sure that VM will use "sample" analysis profile. That one is shipped with CFME and should include pretty much everything. It also specifies some concrete files. 3. Perform SSA for the VM. Actual results: After SSA is finished (checked in Tasks view), file count in VM's summary page is 0. Expected results: I would expect to get info on the files. Additional info: Info about VM under test: OS: RHEL7.4 Storage type: NFS Might be connected to this bug, although I don't think it's a duplicate: https://bugzilla.redhat.com/show_bug.cgi?id=1533590 Attached are rhevm.log and evm.log from the appliance while SSA was performed. Name of VM under test: jzmeskal_ssa_2
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