[PowerFlex] Add & Remove PowerFlex/ScaleIO MDMs for the storage SDC connections#9903
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 @@
## main #9903 +/- ##
============================================
- Coverage 16.42% 16.41% -0.01%
+ Complexity 13549 13547 -2
============================================
Files 5673 5676 +3
Lines 500080 500420 +340
Branches 60506 60575 +69
============================================
+ Hits 82153 82168 +15
- Misses 408794 409103 +309
- Partials 9133 9149 +16
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:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11524 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11772)
|
|
@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 11894 |
c8603d2 to
86f5f0c
Compare
|
@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 11910 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
e7b0700 to
b065389
Compare
|
@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 11925 |
8d20c7f to
538d0f1
Compare
|
@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 13227 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13202)
|
There was a problem hiding this comment.
LGTM
Steps to validata
-
Add a powerflex storage to the cloudstack setup
-
Make sure the global setting "powerflex.connect.on.demand " is set to false
-
Login to the kvm host make sure the scini service is running
yum install EMC-ScaleIO-sdc-3.6-400.107.el8.x86_64.rpm -y
systemctl status scini.service
- Stop the service
systemctl status scini.service
- Deploy the vm
The vm deployment will fail
-
Enable the global setting "powerflex.connect.on.demand" to true
-
Deploy a vm
The vm deployment will succed
- Check the scini service
systemctl status scini.service
It should be in active state and started by Cloudstack
|
Merging this, based on the reviews and tests. |
…onnections (apache#9903) * Add & Remove PowerFlex/ScaleIO MDMs while preparing & unpreparing the storage SDC connections (instead of start & stop scini) * Add/Remove MDM IP addresses during Host connection/disconnection to/from storage pool when powerflex.connect.on.demand is false * unit test fixes * Don't remove MDM IPs from SDC when any volumes mapped to SDC * Don't remove MDM IPs when other pools of same ScaleIO/PowerFlex cluster are connected * rebase fixes * update changes, to not remove/disconnect MDMs on maintenance * import fixes after rebase
Description
This PR adds & removes PowerFlex/ScaleIO MDM IP addressess while preparing & unpreparing the storage SDC connections (instead of start & stop scini), when powerflex.connect.on.demand is true. And adds & removes MDM IP addresses during Host connection/disconnection to/from storage pool, when powerflex.connect.on.demand is false.
MDMs details persisted using
powerflex.storagepool.mdmsdetail, in storage_pool_details table:Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested VM start/stop operations, noticed MDMs added/removed in hosts.