-
Notifications
You must be signed in to change notification settings - Fork 16
Automatically taint servers when receiving critical bmc events #692
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
stefanhipfel
wants to merge
50
commits into
main
Choose a base branch
from
events_taints
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
9333c7d
Add event subscription management for server events and metrics
stefanhipfel ecec4f8
Add SPDX license headers
stefanhipfel ea45555
Add metrics and events subscription links to ServerStatus and update …
stefanhipfel dbad795
make check
stefanhipfel 4e40c37
make generate && make docs && make helm
stefanhipfel 62cbaf9
Merge branch 'main' into redfish_events
stefanhipfel bbad483
moves event subscription to bmc
stefanhipfel a527b0a
Merge branch 'main' into redfish_events
stefanhipfel 388d742
Merge branch 'main' into redfish_events
stefanhipfel dbe2b7f
Merge branch 'main' into redfish_events
stefanhipfel f41134a
Fix SubscribeMetricsReport to return an empty string on error and add…
stefanhipfel 654d26f
Remove redundant EventURL field from ServerReconciler
stefanhipfel 77babc4
Merge branch 'main' into redfish_events
stefanhipfel e15979d
Merge branch 'main' into redfish_events
stefanhipfel 0a0b668
Fix comment typo in CreateEventSubscription method and remove unused …
stefanhipfel fc2d83b
Enhance error handling in event subscription creation and clean up ma…
stefanhipfel 1546e65
Fix URL formatting in SubscribeMetricsReport and SubscribeEvents func…
stefanhipfel 0e80893
Refactor alert handling to remove vendor label and improve logging in…
stefanhipfel e907634
Refactor event subscription handling to improve error management and …
stefanhipfel 07c4ad7
Refactor metrics report handler to remove vendor label from metric re…
stefanhipfel 7faf701
Merge branch 'main' into redfish_events
stefanhipfel a7fa18c
fixes minor issues
stefanhipfel 2fd3316
Merge branch 'main' into redfish_events
stefanhipfel 9c5bb73
fixes lint errors
stefanhipfel ce07ed8
fixes mock delete handler
stefanhipfel b9f11c5
run make docs
stefanhipfel 4e2f853
improve handleEventSubscriptions function
stefanhipfel f521c13
guard against empty Location header
stefanhipfel 71c96e3
dont use defer for patching
stefanhipfel 1103dd1
Move collector into cache only after successful registration.
stefanhipfel 354242a
use metrics collector
stefanhipfel 85fe087
adds license headers
stefanhipfel e16f7e5
fixes lint issues
stefanhipfel 8ec6768
fix: change receiver type for DeleteEventSubscription method to pointer
stefanhipfel 8e2c76c
fix: update event URL handling to log error when address is not provided
stefanhipfel bb70235
Merge branch 'main' into redfish_events
stefanhipfel 95e8a50
Refactor BMCReconciler to remove unnecessary log parameter from event…
stefanhipfel 96f2380
Implement critical event handling and server tainting in response to …
stefanhipfel 75ad8b1
Refactor taintServer function to comment out tainting logic for criti…
stefanhipfel 9fe9af0
Merge branch 'main' into events_taints
stefanhipfel 7bff181
Update import paths in subscription.go and go.mod for consistency
stefanhipfel dbc8edd
fixes coderabbit issues
stefanhipfel 5a0108e
Merge branch 'main' into events_taints
stefanhipfel adca1ef
fixes minor issue
stefanhipfel 57b045b
fixes minor issues
stefanhipfel 4ca7a5d
fixes coderabbit issues
stefanhipfel cf04864
Fix critical event handler to never drop events
stefanhipfel 0480e34
Allow BMC deletion even when subscription cleanup fails
stefanhipfel 9824b30
Fix subscription link loss when partial subscription creation fails
stefanhipfel ac5069e
fixes lint issues
stefanhipfel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.