Bug 1383309

Summary: Boot disk size not in GB for GCE
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Adam Grare <agrare>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, gmccullo, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard: ui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1388667 (view as bug list) Environment:
Last Closed: 2017-06-12 16:24:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1388667    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2016-10-10 11:56:00 UTC
Created attachment 1208814 [details]
Screenshot of the bug

Description of problem:
Boot disk sizes is shown in TB and GB during GCE instance provisioning, but the title of property has only GB.

Version-Release number of selected component (if applicable):
5.7.0.4-alpha1.20161005153002_cfc8a23 

How reproducible:
Always

Steps to Reproduce:
1. Add GCE provider.
2. Start provision an instance.
3. Go to "Properties" tab.
4. Open drop-down menu for "Boot disk Size (GB)"

Actual results:
Sizes is shown in TB and GB.

Expected results:
Sizes should be shown only in GB or "GB" should be removed from the property: "Boot disk Size". In that case natural sorting should be implemented.

Comment 3 Greg McCullough 2016-10-14 09:17:03 UTC
Adam - Looks like the dialog for GCE just needs to be modified to remove " (GB)" from the :boot_disk_size field so the list can contain a mix of units.

Comment 5 CFME Bot 2016-10-24 13:31:13 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/417104baa5678b2407ad6702b29b4b7fb8220231

commit 417104baa5678b2407ad6702b29b4b7fb8220231
Author:     Adam Grare <agrare>
AuthorDate: Mon Oct 17 09:55:40 2016 -0400
Commit:     Adam Grare <agrare>
CommitDate: Mon Oct 17 09:55:40 2016 -0400

    Remove the GB label from GCE boot_disk_size
    
    The options for a GCE instance's boot disk include values in
    GB and TB, but the label for the field specified GB specifically.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1383309

 product/dialogs/miq_dialogs/miq_provision_google_dialogs_template.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Dmitry Misharov 2017-03-03 15:18:37 UTC
Verified in 5.8.0.3.20170301174324_1e2e0c4, "Boot disk size" fieldname doesn't contain units.