Bug 1383309 - Boot disk size not in GB for GCE
Summary: Boot disk size not in GB for GCE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: All
OS: All
unspecified
low
Target Milestone: GA
: 5.8.0
Assignee: Adam Grare
QA Contact: Dmitry Misharov
URL:
Whiteboard: ui
Depends On:
Blocks: 1388667
TreeView+ depends on / blocked
 
Reported: 2016-10-10 11:56 UTC by Dmitry Misharov
Modified: 2017-06-12 16:24 UTC (History)
7 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1388667 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:24:04 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)
Screenshot of the bug (25.94 KB, image/png)
2016-10-10 11:56 UTC, Dmitry Misharov
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.