Skip to content

Fix local storage pool disconnect issue #11200

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

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

Conversation

harikrishna-patnala
Copy link
Contributor

@harikrishna-patnala harikrishna-patnala commented Jul 15, 2025

Description

This PR fixes the issue #11104 which is a regression from #10381. Prior to the PR #10381 local storage connection management is skipped in StoragePoolMonitor. Here in this PR, added the same workflow.

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)

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

How Has This Been Tested?

  1. Had an environment with a KVM host and local storage
  2. Tried restarting the KVM agent
  3. Before this fix, local storage is disconnected on host, so was unable to use the local storage even though it shows in UI. Now with the fix, storage connection remains the same and I'm able to use the storage for volume provisioning.

How did you try to break this feature and the system with this change?

@harikrishna-patnala
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@harikrishna-patnala harikrishna-patnala linked an issue Jul 15, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 16.56%. Comparing base (6059724) to head (26dcad9).
Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
...com/cloud/storage/listener/StoragePoolMonitor.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #11200      +/-   ##
============================================
- Coverage     16.58%   16.56%   -0.02%     
- Complexity    13991    14009      +18     
============================================
  Files          5745     5758      +13     
  Lines        510757   511579     +822     
  Branches      62144    62193      +49     
============================================
+ Hits          84690    84743      +53     
- Misses       416598   417369     +771     
+ Partials       9469     9467       -2     
Flag Coverage Δ
uitests 3.91% <ø> (-0.01%) ⬇️
unittests 17.46% <0.00%> (-0.02%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan
Copy link

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

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@sureshanaparti
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, clgtm.

@blueorangutan
Copy link

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

Test Result Time (s) Test File

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

KVM local storage pool gets removed from hosts
5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy