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

OCPBUGS-5153: Sets query.sd-dns-resolver=miekgdns for thanos-querier and thanos-ruler #1858

Closed

Conversation

JoaoBraveCoding
Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding commented Dec 22, 2022

Issue: https://issues.redhat.com/browse/OCPBUGS-5153

Problem: a downstream commit was made to make this the default because of https://bugzilla.redhat.com/show_bug.cgi?id=1953518. However, this commit conflicts when updating the downstream repo.

Solution: migrate default to jsonnet

Signed-off-by: JoaoBraveCoding [email protected]

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Issue: https://issues.redhat.com/browse/OCPBUGS-5153

Problem: a downstream commit was made to make this the default because
of https://bugzilla.redhat.com/show_bug.cgi?id=1953518. However, this
commit conflicts when updating the downstream brach.

Solution: migrate default to jsonnet

Signed-off-by: JoaoBraveCoding <[email protected]>
@JoaoBraveCoding JoaoBraveCoding changed the title Sets query.sd-dns-resolver=miekgdns for thanos-querier and thanos-ruler OCPBUGS-5153: Sets query.sd-dns-resolver=miekgdns for thanos-querier and thanos-ruler Dec 22, 2022
@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Dec 22, 2022
@openshift-ci-robot
Copy link
Contributor

@JoaoBraveCoding: This pull request references Jira Issue OCPBUGS-5153, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @juzhao

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Issue: https://issues.redhat.com/browse/OCPBUGS-5153

Problem: a downstream commit was made to make this the default because of https://bugzilla.redhat.com/show_bug.cgi?id=1953518. However, this commit conflicts when updating the downstream brach.

Solution: migrate default to jsonnet

Signed-off-by: JoaoBraveCoding [email protected]

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested a review from juzhao December 22, 2022 15:56
@openshift-ci-robot
Copy link
Contributor

@JoaoBraveCoding: This pull request references Jira Issue OCPBUGS-5153, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @juzhao

In response to this:

Issue: https://issues.redhat.com/browse/OCPBUGS-5153

Problem: a downstream commit was made to make this the default because of https://bugzilla.redhat.com/show_bug.cgi?id=1953518. However, this commit conflicts when updating the downstream repo.

Solution: migrate default to jsonnet

Signed-off-by: JoaoBraveCoding [email protected]

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested review from slashpai and sthaha December 22, 2022 15:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoaoBraveCoding

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 22, 2022

@JoaoBraveCoding: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-single-node 652eb9d link false /test e2e-aws-single-node
ci/prow/e2e-agnostic-operator 652eb9d link true /test e2e-agnostic-operator
ci/prow/e2e-agnostic 652eb9d link true /test e2e-agnostic
ci/prow/e2e-agnostic-upgrade 652eb9d link true /test e2e-agnostic-upgrade

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@@ -20,7 +20,9 @@ spec:
key: alertmanagers.yaml
name: thanos-ruler-alertmanagers-config
containers:
- name: thanos-ruler
- args:
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, container's args generated by the operator would be overwritten, we probably need to add spec.additionalArgs to the ThanosRuler CRD first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -61,6 +61,7 @@ spec:
- --grpc-client-server-name=prometheus-grpc
- --rule=dnssrv+_grpc._tcp.prometheus-operated.openshift-monitoring.svc.cluster.local
- --target=dnssrv+_grpc._tcp.prometheus-operated.openshift-monitoring.svc.cluster.local
- --query.sd-dns-resolver=miekgdns
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- --query.sd-dns-resolver=miekgdns
- --store.sd-dns-resolver=miekgdns

Copy link
Contributor

@juzhao juzhao Dec 26, 2022

Choose a reason for hiding this comment

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

from https://github.com/openshift/cluster-monitoring-operator/blob/652eb9d657322c453b510ee4f2bb1cad305910a7/assets/thanos-querier/deployment.yaml
it seems @JoaoBraveCoding is right, - --store.sd-dns-resolver=miekgdns is in the code, the PR added - --query.sd-dns-resolver=miekgdns to code

        - --store.sd-dns-resolver=miekgdns
        - --grpc-client-tls-secure
        - --grpc-client-tls-cert=/etc/tls/grpc/client.crt
        - --grpc-client-tls-key=/etc/tls/grpc/client.key
        - --grpc-client-tls-ca=/etc/tls/grpc/ca.crt
        - --grpc-client-server-name=prometheus-grpc
        - --rule=dnssrv+_grpc._tcp.prometheus-operated.openshift-monitoring.svc.cluster.local
        - --target=dnssrv+_grpc._tcp.prometheus-operated.openshift-monitoring.svc.cluster.local
        - --query.sd-dns-resolver=miekgdns

@JoaoBraveCoding
Copy link
Contributor Author

Closing this as we moved the change upstream thanos-io/thanos#5997, which should land in the next Thanos tag

@openshift-ci-robot
Copy link
Contributor

@JoaoBraveCoding: This pull request references Jira Issue OCPBUGS-5153. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.

In response to this:

Issue: https://issues.redhat.com/browse/OCPBUGS-5153

Problem: a downstream commit was made to make this the default because of https://bugzilla.redhat.com/show_bug.cgi?id=1953518. However, this commit conflicts when updating the downstream repo.

Solution: migrate default to jsonnet

Signed-off-by: JoaoBraveCoding [email protected]

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants