-
Notifications
You must be signed in to change notification settings - Fork 63
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
Delete Prometheus Alerts MonitoringManager #518
Delete Prometheus Alerts MonitoringManager #518
Conversation
think this was a valid failure
|
Interesting, I can't imagine how... |
9c89854
to
03d86c3
Compare
@kbrock those are pending specs, the real failure is that we still have the PrometheusAlerts I did find an opportunity to remove some tech debt here though as we're including |
:ems_monitoring: | ||
:alerts_collection: | ||
:open_timeout: 10.seconds | ||
:timeout: 20.seconds |
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.
Do we need a database migration to delete any changes in SettingsChanges?
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.
Or, for that matter, any existing workers or queue items?
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.
and/or the EMS itself?
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.
This will take some more work to untangle as we'll need a data migration to remove the records.
ok. I reproduced the error locally. (and it does not show up in rspec spec/manageiq/spec/models/miq_worker/systemd_common_spec.rb:5
|
def monitoring_manager_needed? | ||
connection_configurations.roles.include?( | ||
ManageIQ::Providers::Kubernetes::MonitoringManagerMixin::ENDPOINT_ROLE.to_s | ||
) | ||
end |
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.
wonder if this is causing the issue
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.
No I just need to delete the systemd units here
Haha slow down guys I'm working on it, okay removed the systemd units for the monitoring manager. |
03d86c3
to
e466992
Compare
Checked commits agrare/manageiq-providers-kubernetes@e005f4d~...f7b87fe with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
🤣 We're all so excited for the 🔥 🗑️ 💣 ✂️ (I suggest WIP it 😛) |
No need now, was just making a flurry of changes earlier and some things were broken but it is good now |
Prometheus Alert support was removed in #506 and this gem is no longer used.
Depends:
Co-Depends: