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

Fix error when the operator metrics ServiceMonitor already exists #3447

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

iblancasa
Copy link
Contributor

Testing: @IshwarKanse is working on a test to ensure this is detected in early stages.

Signed-off-by: Israel Blancas <iblancas@redhat.com>
@iblancasa iblancasa self-assigned this Nov 11, 2024
@iblancasa iblancasa requested a review from a team as a code owner November 11, 2024 12:58
Israel Blancas added 2 commits November 11, 2024 16:20
Signed-off-by: Israel Blancas <iblancas@redhat.com>
@pavolloffay pavolloffay merged commit 917b096 into open-telemetry:main Nov 12, 2024
38 checks passed
@vladst3f
Copy link

Hi @pavolloffay, can we get this in a patch release sometime soon ? we're forced to use a main build now.

@swiatekm swiatekm added the discuss-at-sig This issue or PR should be discussed at the next SIG meeting label Nov 21, 2024
@swiatekm
Copy link
Contributor

@vladst3f we're going to be releasing v0.114.0 shortly. We'll also discuss whether this warrants releasing a patch for 0.113.0 in addition. Apologies for the hassle!

@vladst3f
Copy link

cheers, most likely rolling forward will go down smoothly. the quick reaction is appreciated!

@Starefossen
Copy link
Contributor

This has been broken for two weeks now and should have been a patch to 0.113 once this pr was landed and not waiting the full length for a new release imho

swiatekm pushed a commit to swiatekm/opentelemetry-operator that referenced this pull request Nov 27, 2024
…en-telemetry#3447)

* Fix error when the operator metrics ServiceMonitor already exists

Signed-off-by: Israel Blancas <iblancas@redhat.com>

* Wrap the errors and log them

Signed-off-by: Israel Blancas <iblancas@redhat.com>

---------

Signed-off-by: Israel Blancas <iblancas@redhat.com>
(cherry picked from commit 917b096)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss-at-sig This issue or PR should be discussed at the next SIG meeting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator fails when the pod is restarted and the Service Monitor for operator metrics was already created
5 participants