Description of problem: When you plug an openstack provider to CloudForms you are almost not able to run smartanalysis by default. When I do it with the provided image I have not enough space as it copy a snapshot on the vm to /tmp but by default the sizing almost permit nothing to scan as tmp has only 1G. [root@cf-smartproxy-01 ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lv_home VG-CFME -wi-ao---- 1,00g lv_log VG-CFME -wi-ao---- 10,00g lv_os VG-CFME -wi-ao---- 4,57g lv_repo VG-CFME -wi-ao---- 10,00g lv_swap VG-CFME -wi-ao---- 9,25g lv_tmp VG-CFME -wi-ao---- 1,00g lv_var VG-CFME -wi-ao---- 2,00g lv_var_log VG-CFME -wi-ao---- 1,00g lv_var_log_audit VG-CFME -wi-ao---- 512,00m There is several possibilities here, provide a storage to upload snapshot to permit analysis or increase size of /tmp/ by default to permit smartanalysis. Version-Release number of selected component (if applicable): 5.5.4.2 How reproducible: every time Steps to Reproduce: 1. Plug openstack to cloudforms 2. run smartanalysis Actual results: SmartAnalysis didn't work as by default /tmp size is 1G Expected results: The default size of /tmp is encreased, a documentation precise to encrease /tmp or permit attach an external storage for scan. Additional info:
The downstream version of the appliance gives you the option to add an additional virtual disk for temp storage. This is accomplished through the appliance's console menu, after the new virtual disk has been added to the appliance. Can you try this?
Hello Rich, Thanks for you answer, It works with the attachment of the volume : /dev/vdb1 20G 17G 3,5G 83% /var/www/miq_tmp Even if the path isn't the same, it has worked. I have found only this on documentation : https://access.redhat.com/documentation/en/red-hat-cloudforms/version-4.0/installing-cloudforms-on-vmware-vsphere/ Saying : Use Extend Temporary Storage to add temporary storage to the appliance. The appliance formats an unpartitioned disk attached to the appliance host and mounts it at /var/www/miq_tmp. The appliance uses this temporary storage directory to perform certain image download functions. I think we need to highlight this because it's not clear that it's important and used for smartanalysis.
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.
Satyajit, is this explained better in more detailed docs around smartstate analysis?
(In reply to Dave Johnson from comment #6) > Satyajit, is this explained better in more detailed docs around smartstate > analysis? More explanation required as it is unclear that which "The appliance uses this temporary storage directory to perform certain image download functions."
Thank you for raising this bug. We have evaluated this request, and while we recognize that it is a valid request for the documentation, we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Andrew Dahms.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days