Fix root disk resize issue when service offering has no root disk size specified#9428
Conversation
…k size, only allow through service offering change
|
@blueorangutan package |
|
@sureshanaparti a [SL] 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9428 +/- ##
============================================
- Coverage 15.07% 15.07% -0.01%
- Complexity 11169 11170 +1
============================================
Files 5405 5405
Lines 472677 472676 -1
Branches 60049 58516 -1533
============================================
- Hits 71269 71268 -1
Misses 393479 393479
Partials 7929 7929
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 10437 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@sureshanaparti a [SL] 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. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10440 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-10943)
|
harikrishna-patnala
left a comment
There was a problem hiding this comment.
code LGTM. infact assumption of finding service offering with disk offering id is not valid now as we have decoupled service and disk offerings.
|
@vishesh92 can you confirm if you'd finished manual QA on this? thanks. |
I had an offline discussion with @sureshanaparti and there was some confusion about the expected behaviour. As of now, if disk size is set in the offering and disk offering's size strictness is disabled, I am not able to resize the disk. |
|
Had another discussion with @sureshanaparti . This is working as expected. Merging. |
…k size, only allow through service offering change (apache#9428)
…of the root disk in service offering view (apache#9428) (apache#489) Issue: During root disk resize, the root disk size details are checked in a different service offering (looks up with disk offering id of the root disk in service offering view which is getting wrong service offering).
Description
This PR fixes root disk resize issue when service offering has no root disk size specified.
Issue: During root disk resize, the root disk size details are checked in a different service offering (lookup with disk offering id of the root disk in service offering view).
This addresses #9380
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested the root resize with service offering having root disk size set.
How did you try to break this feature and the system with this change?