Uh oh!
There was an error while loading. Please reload this page.
Fix ScaleVM to consider resize volume in any type of service offering - #7359
Conversation
harikrishna-patnala
commented
Mar 23, 2023
@blueorangutan package |
blueorangutan
commented
Mar 23, 2023
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with SystemVM template(s). I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 23, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5764 |
Codecov Report
@@ Coverage Diff @@## 4.17 #7359 +/- ##
============================================
- Coverage 10.38% 10.38% -0.01% + Complexity 6651 6646 -5
============================================
Files 2453 2453 Lines 242444 242438 -6 Branches 37941 37938 -3 ============================================
- Hits 25168 25166 -2 + Misses 214159 214154 -5 - Partials 3117 3118 +1
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
DaanHoogland
commented
Mar 23, 2023
@harikrishna-patnala should this be based of the 4.17 branch? |
140914e to
7b5cafaCompareharikrishna-patnala
commented
Mar 23, 2023
@blueorangutan package |
blueorangutan
commented
Mar 23, 2023
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with SystemVM template(s). I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 23, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5767 |
SonarCloud Quality Gate failed. |
You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab. |
Uh oh!
There was an error while loading. Please reload this page.
harikrishna-patnala
commented
Mar 24, 2023
@blueorangutan package |
blueorangutan
commented
Mar 24, 2023
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with SystemVM template(s). I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 24, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5773 |
harikrishna-patnala
commented
Mar 24, 2023
@blueorangutan test |
blueorangutan
commented
Mar 24, 2023
@harikrishna-patnala a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Mar 24, 2023
Trillian test result (tid-6313)
|
harikrishna-patnala
commented
Mar 27, 2023
@kiranchavala can you please test/review this ? |
@harikrishna-patnala Tested the PR, and the resize of root disk is working fine Change the Global setting "allow.diskoffering.change.during.scale.vm " to true Create a custom compute offering with a custom disk offering Scenarios
|
weizhouapache
commented
Mar 27, 2023
@blueorangutan test |
blueorangutan
commented
Mar 27, 2023
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Mar 27, 2023
Trillian test result (tid-6324)
|
harikrishna-patnala
commented
Mar 28, 2023
all these failed tests, report "errorText:Service offering is inactive: " but this seems unrelated to my changes. Anyone else see these failures elsewhere ? |
shwstppr
commented
Mar 28, 2023
@harikrishna-patnala this seems an issue with 4.17 branch itself. I was seeing same failures here, #7313 (comment) |
weizhouapache
commented
Mar 28, 2023
@harikrishna-patnala@shwstppr I think you can ignore the test failures with 4.17 |
harikrishna-patnala
commented
Mar 28, 2023
thanks @shwstppr and @weizhouapache |
When a scale vm operation is performed in vmware 7. Resize of the root disk is failing on Vmare due to the following exception
I have set vmware.create.full.clone to true Could be related to #5992 Ignore the above exceptions This issue is occurring without the PR changes The PR LGTM |
kiranchavala
left a comment
There was a problem hiding this comment.
Tested the feature and its working fine, LGTM
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
left a comment
There was a problem hiding this comment.
code lgtm
it fixes a valid bug
shwstppr
commented
Apr 4, 2023
@blueorangutan package |
blueorangutan
commented
Apr 4, 2023
@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Apr 4, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5848 |
DaanHoogland
commented
Apr 5, 2023
@harikrishna-patnala this gives conflicts on merging forward. Can you have a look please? |
* 4.18: Fix ScaleVM to consider resize volume in any type of service offering (#7359)









Description
This PR fixes the issue #7325 where root disk is not getting considered for resize in some cases of ScaleVM operation.
While Scaling VM if the compute offering has the root disk size change (for any type of compute offering whether it is normal/constrained/unconstrained) CS should do the resize operation.
We already have a check here (
cloudstack/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
Lines 2102 to 2108 in 2149e82
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?