Skip to content
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

[PowerFlex] Add & Remove PowerFlex/ScaleIO MDMs while preparing & unpreparing the storage SDC connections #9903

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sureshanaparti
Copy link
Contributor

Description

This PR adds & removes PowerFlex/ScaleIO MDMs while preparing & unpreparing the storage SDC connections (instead of start & stop scini service).

MDMs details persisted using powerflex.storagepool.mdms detail, in storage_pool_details table:

mysql> SELECT * FROM cloud.storage_pool_details WHERE pool_id = 3 AND name = 'powerflex.storagepool.mdms';
+----+---------+---------------------------------+------------------------------------------------------+---------+
| id | pool_id | name                            | value                                                | display |
+----+---------+---------------------------------+------------------------------------------------------+---------+
|  2 |       3 | powerflex.storagepool.mdms      | 10.0.33.178,10.0.33.87                               |       1 |
+----+---------+---------------------------------+------------------------------------------------------+---------+

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Tested VM start/stop operations, noticed MDMs added/removed in hosts.

… storage SDC connections (instead of start & stop scini)
@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@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.

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 14.74359% with 133 lines in your changes missing coverage. Please review.

Project coverage is 16.62%. Comparing base (8af08dd) to head (7e2e778).
Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
...orage/datastore/manager/ScaleIOSDCManagerImpl.java 0.00% 42 Missing ⚠️
...ck/storage/datastore/api/StorageConfiguration.java 0.00% 19 Missing ⚠️
...ore/client/ScaleIOGatewayClientConnectionPool.java 0.00% 14 Missing ⚠️
...cloudstack/storage/datastore/util/ScaleIOUtil.java 50.00% 11 Missing and 1 partial ⚠️
.../hypervisor/kvm/storage/ScaleIOStorageAdaptor.java 41.17% 6 Missing and 4 partials ⚠️
.../storage/vmsnapshot/ScaleIOVMSnapshotStrategy.java 0.00% 8 Missing ⚠️
.../cloudstack/storage/datastore/api/StoragePool.java 0.00% 6 Missing ⚠️
...age/datastore/client/ScaleIOGatewayClientImpl.java 0.00% 6 Missing ⚠️
...cloud/agent/api/UnprepareStorageClientCommand.java 0.00% 5 Missing ⚠️
...torage/datastore/provider/ScaleIOHostListener.java 0.00% 4 Missing ⚠️
... and 4 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9903      +/-   ##
============================================
+ Coverage     15.81%   16.62%   +0.81%     
- Complexity    12580    12582       +2     
============================================
  Files          5627     5236     -391     
  Lines        492260   460254   -32006     
  Branches      63955    55972    -7983     
============================================
- Hits          77832    76533    -1299     
+ Misses       405905   375337   -30568     
+ Partials       8523     8384     -139     
Flag Coverage Δ
uitests ?
unittests 16.62% <14.74%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11524

@sureshanaparti
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-11772)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 58105 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9903-t11772-kvm-ol8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_unsecure_vm_migration Error 503.38 test_vm_life_cycle.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants