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-31020,CONSOLE-3944: Disable segment analytics when cluster telemetry is disabled #877
Conversation
@TheRealJon: This pull request references CONSOLE-3944 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
…abled Watch the cluster monitoring config for the telemeter client. If it's disabled, set a new console config property `telemetry.telemeterClientDisabled` to true so that all telemetry requests from the frontend can be halted.
cd0a29f
to
bd1fcc7
Compare
QE Approver Docs Approver: PX Approver: |
/cc @jerolimov @jhadvig |
@yapei I've updated this PR to address https://issues.redhat.com/browse/OCPBUGS-31020 @jerolimov Could you review this and make sure this logic is sound?
|
@TheRealJon: This pull request references Jira Issue OCPBUGS-31020, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. This pull request references CONSOLE-3944 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@TheRealJon: This pull request references Jira Issue OCPBUGS-31020, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: This pull request references CONSOLE-3944 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest |
/label px-approved |
Yep I think that is correct. |
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.
Thanks for PR @TheRealJon. Adding a few comments.
Also based on conversation with @simonpasquier it seems that the clusterID and token are never stored in the configmap in practice but populated respectively from the ClusterVersion version object and openshift-config/pull-secret Secret.
https://github.com/openshift/cluster-monitoring-operator/blob/800bedc61f101cd4450f45535f7bfafb72112c4f/pkg/manifests/config.go#L354-L367
https://github.com/openshift/cluster-monitoring-operator/blob/800bedc61f101cd4450f45535f7bfafb72112c4f/pkg/manifests/config.go#L368-L396
@TheRealJon looks you forgot to update TCs. |
@TheRealJon: This pull request references Jira Issue OCPBUGS-31020, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: This pull request references CONSOLE-3944 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest |
1 similar comment
/retest |
@TheRealJon: all tests passed! 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. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, TheRealJon 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 |
@TheRealJon: Jira Issue OCPBUGS-31020: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-31020 has been moved to the MODIFIED state. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-enterprise-console-operator-container-v4.16.0-202404051041.p0.g7415be3.assembly.stream.el9 for distgit openshift-enterprise-console-operator. |
Fix included in accepted release 4.16.0-0.nightly-2024-04-05-200353 |
Watch the cluster monitoring config for the telemeter client. If it's disabled, set a new console config property
telemetry.TELEMETER_CLIENT_DISABLED
to true so that all telemetry requests from the frontend can be halted.