Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.
This repository was archived by the owner on May 11, 2026. It is now read-only.

Unable to store metrics #162

@ctron

Description

@ctron

Running HOSA with oc cluster up --metrics causes the following error to appear in the log file very few seconds when watching the log with oc log -f hawkular-openshift-agent-123456:

W0404 09:25:22.691035       1 metrics_storage.go:164] Failed to store metrics. err=Post https://hawkular-metrics.openshift-infra.svc.cluster.local/hawkular/metrics/gauges/raw: x509: certificate is valid for hawkular-metrics, metrics-openshift-infra.10.32.64.18.xip.io, not hawkular-metrics.openshift-infra.svc.cluster.local
oc v1.4.1+3f9807a
kubernetes v1.4.0+776c994
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://10.32.64.18:8443
openshift v1.4.1+3f9807a
kubernetes v1.4.0+776c994

I followed the steps here: [1] (with IMAGE_VERSION=1.4.0.Final) and here [2].

[1] https://github.com/openshift/origin-metrics#deploying-the-hawkular-openshift-agent
[2] https://github.com/hawkular/hawkular-openshift-agent/tree/master/examples/jolokia-wildfly-example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions