Bug 1481869

Summary: Instance Type on Provision Instances remains empty after adding flavor which has disk size of 0
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED WONTFIX QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, gblomqui, iovadia, jfrey, jhardy, maufart, obarenbo, okolisny, simaishi, tzumainn
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: x86_64   
OS: Linux   
Whiteboard: openstack
Fixed In Version: 5.7.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1472420 Environment:
Last Closed: 2017-10-03 13:27:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1472420    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-15 22:26:27 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/cf485f7599abbdbe9626d3cebfcfd94fc8eb47c5

commit cf485f7599abbdbe9626d3cebfcfd94fc8eb47c5
Author:     Marek Aufart <aufi.cz>
AuthorDate: Mon Aug 14 15:57:44 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Aug 15 18:25:13 2017 -0400

    Merge pull request #72 from tzumainn/provision-check-update
    
    Update provision requirements check to allow exact matches
    (cherry picked from commit 48424c966ddbd2e58b536d4fa239a40466e8280f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1481869

 .../manageiq/providers/openstack/cloud_manager/provision_workflow.rb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 3 Oleksandr Kolisnyk 2017-10-03 12:43:01 UTC
Failed QA. Flavor with disk=0 doesn't appear among choices in dropdown list 'Instance type' at instance provision form. 
Env: 5.7.4.0 and RHOS 11

Comment 4 Tzu-Mainn Chen 2017-10-03 13:21:42 UTC
Hi! I talked this over with Ido before; the reason is that the CloudForms algorithm also considers the disk size of the image, which seems reasonable. A flavor with disk=0 will thus never match anything, which seems fine. Does that make sense?