api: correct error on resize volume resource allocation failure - #7687
Conversation
This PR resource throws exception with correct error code and logs the erro message when a resource allocation failure is encountered during resize volume operation. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SF] 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 6334 |
|
@blueorangutan test |
|
@shwstppr a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Codecov Report
@@ Coverage Diff @@
## 4.18 #7687 +/- ##
============================================
- Coverage 13.01% 13.00% -0.01%
Complexity 9013 9013
============================================
Files 2716 2719 +3
Lines 256690 256854 +164
Branches 40026 40048 +22
============================================
Hits 33413 33413
- Misses 219091 219255 +164
Partials 4186 4186
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
[SF] Trillian test result (tid-6855)
|
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SF] 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 6345 |
|
@blueorangutan test |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, manually tested
|
@blueorangutan test |
|
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-6902)
|
|
Intermittent errors same as in the 4.18/baseline #7345 merging this based on this. |
Description
This PR resource throws exception with the correct error code and logs the error message when a resource allocation failure is encountered during resize volume operation.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?