-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix to not enable the disabled local storage(s) on host connection #11722
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 not enable the disabled local storage(s) on host connection #11722
Conversation
…ring mgmt server / agent start
@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 Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11722 +/- ##
=========================================
Coverage 16.17% 16.17%
+ Complexity 13296 13295 -1
=========================================
Files 5656 5656
Lines 498219 498220 +1
Branches 60451 60452 +1
=========================================
+ Hits 80579 80588 +9
+ Misses 408672 408663 -9
- Partials 8968 8969 +1
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 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15169 |
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.
Pull Request Overview
This PR fixes an issue where disabled local storage pools were being automatically marked as "Up" when hosts connected to the management server or agent during startup, which could result in volumes being allocated on storage that should remain disabled.
- Adds a condition to check if the storage pool is disabled before setting its status to Up
- Prevents disabled local storage pools from being automatically enabled during host connection
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
makes sense/clgtm
Description
This PR prevents disabled local storage pools from being automatically enabled during host connection. It fixes an issue where disabled local storage pools were being automatically enabled (marked as "Up") on host connection, during management server / agent start.
Issue
Disabled local storage(s) are marked Up after mgmt server / agent start, and volumes are allocated on it.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?