Skip to content

[UI] Fix display of disk size and IOPS fields in the scale VM form#11553

Merged
weizhouapache merged 1 commit intoapache:4.19from
scclouds:disk-size-and-iops-fields-scale-vm-form
Sep 8, 2025
Merged

[UI] Fix display of disk size and IOPS fields in the scale VM form#11553
weizhouapache merged 1 commit intoapache:4.19from
scclouds:disk-size-and-iops-fields-scale-vm-form

Conversation

@bernardodemarco
Copy link
Copy Markdown
Member

@bernardodemarco bernardodemarco commented Sep 1, 2025

Description

When scaling VMs, it is possible to change the disk offering for the VMs' ROOT disk if the global setting allow.diskoffering.change.during.scale.vm is true. To change the disk offering, the new selected compute offering for the VM must have the disk offering attached to it.

However, for custom disk offerings (custom size and/or IOPS), it is not possible to currently define the values of the size and IOPS in the UI form:

image

Thus, this PR proposes to fix the scale VM UI form to display the custom disk size and IOPS fields.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

  • Before:
image
  • After:
image

How Has This Been Tested?

  • Verified that it is possible to define a custom disk size and IOPS for custom disk offerings.
  • Verified that the fields are not displayed for non-custom disk offerings.

@bernardodemarco
Copy link
Copy Markdown
Member Author

@blueorangutan ui

@bernardodemarco bernardodemarco added this to the 4.19.4 milestone Sep 1, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 15.18%. Comparing base (d161dc7) to head (5d871c1).
⚠️ Report is 4 commits behind head on 4.19.

Additional details and impacted files
@@            Coverage Diff            @@
##               4.19   #11553   +/-   ##
=========================================
  Coverage     15.18%   15.18%           
- Complexity    11368    11370    +2     
=========================================
  Files          5415     5415           
  Lines        476073   476073           
  Branches      58125    58125           
=========================================
+ Hits          72279    72301   +22     
+ Misses       395706   395680   -26     
- Partials       8088     8092    +4     
Flag Coverage Δ
uitests 4.28% <ø> (ø)
unittests 15.91% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bernardodemarco
Copy link
Copy Markdown
Member Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/11553 (QA-JID-735)

@weizhouapache weizhouapache modified the milestones: 4.19.4, 4.20.2 Sep 2, 2025
Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm and verified in qa

Copy link
Copy Markdown
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coed lgtm

@weizhouapache weizhouapache self-assigned this Sep 8, 2025
@weizhouapache
Copy link
Copy Markdown
Member

Merging based on approvals and manual verification by @DaanHoogland

@weizhouapache weizhouapache merged commit f4802f3 into apache:4.19 Sep 8, 2025
25 checks passed
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants