-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix to create instances with smaller templates (< 1 GB) on PowerFlex/ScaleIO storage #11211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.20
Are you sure you want to change the base?
Fix to create instances with smaller templates (< 1 GB) on PowerFlex/ScaleIO storage #11211
Conversation
@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.20 #11211 +/- ##
=========================================
Coverage 16.15% 16.15%
Complexity 13274 13274
=========================================
Files 5656 5656
Lines 497728 497793 +65
Branches 60360 60367 +7
=========================================
+ Hits 80420 80442 +22
- Misses 408357 408396 +39
- Partials 8951 8955 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
321564c
to
6ceac85
Compare
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm, but includes a change in the storpool adaptor. @slavkap can you have a look?
@DaanHoogland I noticed an NPE in storpool adaptor, check the log in the issue #10981. cc @slavkap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
Thanks, @sureshanaparti, I have this fix in another PR #9478, but it will be better for this to get in an earlier release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
@blueorangutan test |
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
@sureshanaparti
If volume size is smaller than 1GB, ACS allocates 8GB on powerflex, right ?
.../main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java
Outdated
Show resolved
Hide resolved
[SF] Trillian test result (tid-13799)
|
correct @weizhouapache |
@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]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14225 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested with Ubuntu 18, Debian 9 and macchinina templates.
Description
This PR allows create instances with smaller templates (< 1 GB) on PowerFlex/ScaleIO storage (it's regression after #9008).
Fixes #10981
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Deployed instance using the template (http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-kvm.qcow2.bz2) on PowerFlex storage.
How did you try to break this feature and the system with this change?