Bug 1971312
Summary: | [master] Telemetry-client won't report metrics in case the cluster was installed using the assisted operator | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Eran Cohen <ercohen> | |
Component: | assisted-installer | Assignee: | Yoni Bettan <ybettan> | |
assisted-installer sub component: | Deployment Operator | QA Contact: | Omri Hochman <ohochman> | |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | ||
Severity: | high | |||
Priority: | urgent | CC: | ybettan | |
Version: | 4.8 | Keywords: | Triaged | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | AI-Team-Core | |||
Fixed In Version: | OCP-Metal-v1.0.22.1 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1971589 (view as bug list) | Environment: | ||
Last Closed: | 2022-08-28 08:45:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1971589 |
Description
Eran Cohen
2021-06-13 14:45:59 UTC
What would be the correct URLs for the operator on different envs ? I think the desired behavior when installing with the operator is to set the Telemeter URL to: https://infogw.api.openshift.com The operator/service should allow setting another URL but by default, it should get to prod. Verified with: assisted-service image: quay.io/ocpmetal/assisted-service@sha256:03027f7421882b8a8ac3c145193aa1e16912b6eb1cfe9bde996feec08f68a384 oc -n openshift-monitoring logs telemeter-client-6648bf7cc6-rzgmd -c telemeter-client level=info caller=main.go:85 ts=2021-06-15T09:16:19.645381943Z msg="telemeter client initialized" level=warn caller=forwarder.go:130 ts=2021-06-15T09:16:19.645721789Z component=forwarder msg="not anonymizing any labels" level=info caller=main.go:259 ts=2021-06-15T09:16:19.740197735Z msg="starting telemeter-client" from=https://prometheus-k8s.openshift-monitoring.svc:9091 to=https://infogw.a pi.openshift.com/ listen=localhost:8080 In order to make sure that we are able to monitor metrics for clusters installed using assisted-installer-operator, we needed to added some additional label replacement in the recording rules: https://github.com/openshift/telemeter/pull/381 |