Files
my-rook-config/pkg/operator/k8sutil
Sébastien Han e4eaa91ede ceph: add rgw endpoint healthcheck
We have introduced a new goroutine to check the state of the rgw
endpoint. It will run every minute and perform operations on a bucket.
The success or failure will be reported as part of the status field of
the CephObjectStore CR.

A good status will look like:

status:
  endpointStatus:
    lastChanged: "2020-06-25T13:47:45Z"
    lastChecked: "2020-06-25T13:48:46Z"
  phase: Connected

A failed status:

status:
  endpointStatus:
    details: |-
      error creating bucket "rook-ceph-internal-s3-bucket-checker": RequestError: send request failed
      caused by: Put http://rook-ceph-rgw-my-store.rook-ceph:8080/rook-ceph-internal-s3-bucket-checker: dial tcp 10.108.189.148:8080: connect: connection refused
    health: ERROR

This check works for both converged and external modes. Note that the
CephObjectStore CRD has a new field called "externalRgwEndpoints" which
allows you to define a list of IP addresses pointing to rgws.

Closes: https://github.com/rook/rook/issues/5692
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-07-02 16:34:10 +02:00
..
2020-03-16 14:01:24 +01:00
2019-08-30 13:16:55 +05:30
2020-05-28 10:05:51 -06:00
2020-07-02 16:34:10 +02:00
2020-02-17 22:27:13 -07:00
2020-04-03 18:00:15 +02:00
2020-04-03 18:00:15 +02:00
2019-08-22 17:19:33 +02:00
2020-03-05 12:37:44 -07:00
2020-03-17 16:47:53 +09:00