I’ve installed Kubernetes Operator for Percona XtraDB Cluster by using the latest helm chart on OpenShift 4.4 setup.
To enable pmm, I did two things:
- installed pmm-server by using the latest helm chart from https://github.com/Percona-Lab/percona-openshift/tree/master/helm/pmm-server2) change to enable pmm in pxc-db helm chart like below:
<omitted> pmm: enabled: true image: repository: perconalab/pmm-client tag: 1.17.1 serverHost: monitoring-service serverUser: admin
But, during installation, pxc pod got error due to container pmm-client with exit code 1 (see attached):
and container pmm-client log of the pod is (see attached):
There is no problem with connectivity between pmm-client and pmm-server including authentication, but it seems pmm-server doesn’t provide /v1/status/leader API which could be seen in above log.
A doubtful point is the difference of installed docker image’s tag between pmm-server and pmm-client:
pmm-server: percona/pmm-server:2.11.1 (described in https://github.com/Percona-Lab/percona-openshift/blob/master/helm/pmm-server/values.yaml)
pmm-client: perconalab/pmm-client:1.17.1 (described in https://github.com/percona/percona-helm-charts/blob/master/charts/pxc-db/values.yaml)
could you please let me know what is the root cause of this issue and how to solve it?
Thank you in advance.
pod_describe.txt (9.63 KB)
pod_log.txt (15.8 KB)