Skip to content

[UI] Addressing Dynamically Scale of KVM VMs#5923

Merged
nvazquez merged 12 commits intoapache:mainfrom
scclouds:ui-dynamically-scale-kvm
Feb 11, 2022
Merged

[UI] Addressing Dynamically Scale of KVM VMs#5923
nvazquez merged 12 commits intoapache:mainfrom
scclouds:ui-dynamically-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.

@sureshanaparti
Copy link
Contributor

Hi @BryanMLima Is this PR good to go in 4.16.1? If so, please rebase with 4.16. Thanks.

@BryanMLima
Copy link
Contributor Author

BryanMLima commented Feb 2, 2022

Hi @sureshanaparti, there's no need, I'm happy going to main.

Copy link

@utchoang utchoang left a comment

Choose a reason for hiding this comment

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

Code LGTM!

@utchoang
Copy link

utchoang commented Feb 7, 2022

@blueorangutan ui

@blueorangutan
Copy link

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

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5923 (SL-JID-1099)

Copy link
Contributor

@GutoVeronezi GutoVeronezi left a comment

Choose a reason for hiding this comment

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

CLGTM

@nvazquez
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

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

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5923 (SL-JID-1123)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

9 participants