While creating an Instance, the Size field creates a warning even though it gives a warning

Bug #2038269 reported by Numan Menekşe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skyline console
Fix Released
Undecided
Unassigned

Bug Description

1. Instance is selected from the Compute page.
2. Click Create Instance and select the relevant locations.
3. After selecting Type in the System Disk field, the GiB in the Size field, which is the default, turns red.
4. Even though it is red, meaning it gives a warning, it can be created.
5. On the detail page, it gives the error message "Build of instance cd74ca2a-3609-4a7b-a4ec-3a838f850879 aborted: Invalid input received: Size of specified image 20GB is larger than volume size 10GB. (HTTP 400)".

Should: When the GiB field is red, it should not proceed to the next step or create.

Revision history for this message
Numan Menekşe (numanmenekse) wrote :
Revision history for this message
zhangjingwei (wuwu-wuwu) wrote :

According to the picture, the size of the selected image is 20 GiB, but the system disk is 10 GiB which is smaller than the image, so the size input is red.

But we can optimize it, give a more explicit error message.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to skyline-console (master)
Changed in skyline-console:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to skyline-console (master)

Reviewed: https://review.opendev.org/c/openstack/skyline-console/+/899566
Committed: https://opendev.org/openstack/skyline-console/commit/2af37719c1eaf38b7f1140aabd01210fd1a94be9
Submitter: "Zuul (22348)"
Branch: master

commit 2af37719c1eaf38b7f1140aabd01210fd1a94be9
Author: zhangjingwei <zhang.jingwei@99cloud.net>
Date: Mon Oct 30 14:42:46 2023 +0800

    fix: fix system disk size check

    Add system disk size check when create instance.

    Closes-Bug: #2038269
    Change-Id: Ib0b1d36fbaee52d3054da826f56e6b5f85a28457

Changed in skyline-console:
status: In Progress → Fix Released
Revision history for this message
Numan Menekşe (numanmenekse) wrote :

Thank you very much for your efforts :)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/skyline-console 4.0.0.0rc1

This issue was fixed in the openstack/skyline-console 4.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.