Skip to content

[UI] Addressing Dynamically Scale of KVM VMs#5922

Closed
BryanMLima wants to merge 11 commits intoapache:mainfrom
scclouds:ui-fix-scale-kvm
Closed

[UI] Addressing Dynamically Scale of KVM VMs#5922
BryanMLima wants to merge 11 commits intoapache:mainfrom
scclouds:ui-fix-scale-kvm

Conversation

@BryanMLima
Copy link
Contributor

Description

This PR addresses the UI component of dynamically scale of KVM VMs partially implemented in the PR. The component Scale VM was showing all compute offering, which would lead the users to trial and error processes. Therefore, we changed it to display only the current compute offer for KVM VMs when the VM is running. If the VM is running and has a fixed offering, then it is displayed an error message. Furthermore, when a compute offering has a CPU Speed field, it defaults to the current speed of the VM offer, as oppose to zero, which is the current default behavior.

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)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

image

How Has This Been Tested?

This was tested in a local lab with VMs using KVM.
VM1:
Fixed offering

VM2:
Custom offering

While VM1 was running, the scale displayed the error message. When it was in the stopped state, the scale showed all available compute offerings.

While VM2 was running, the scale only showed the current compute offering, and it shows the current CPU Speed. When it was in the stopped state, the scale showed all available offerings.

@BryanMLima BryanMLima closed this Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants