How to Renew Percona and Minio Certificates

Problem

The Minio and Percona pods are seen in CrashLoopBackOff state with errors in the pod logs as:

Percona pod logs
Copy
Minio pod logs
Copy

Environment

  • Platform9 Edge Cloud - v5.6 [LTS2].

Procedure

Percona certs will get auto-renewed starting SMCP 5.11.

For previous versions, follow the steps mentioned below:

The steps to be followed for the Percona certificate rotation are:

  1. Retrieve the list of secrets in the percona namespace and verify the validity of the certificates.
Management cluster
Copy
  1. Delete the Percona DB secret. (Note: No new secrets will be created at this step)
Management cluster
Copy
  1. Get the list of Helm Deployments and make a note of the chart name for percona-db.
Management cluster
Copy
  1. Perform the helm upgrade for Percona DB.
Management cluster
Copy
  1. The deleted secrets will be recreated, and the certificates will also be renewed. Please verify this.
Management cluster
Copy

The steps to be followed for the Minio certificate rotation are:

  1. Check the list of secrets in the Minio namespace and verify the certificate validity.
Management cluster
Copy
  1. Restart the nodeletd stack in each master node one at a time within the Management cluster.

The stack restart is mandatory as this will refresh the CA which signs the Minio certificates.

Each master node in Mgmt cluster
Copy
  1. Disable _requestAutoCert_in the minio tenant. (set requestAutoCert to false):
Management cluster
Copy
  1. List the minio Secrets:
Management cluster
Copy
  1. Delete the existing minio certs:
Management cluster
Copy
  1. List the CSRs:
Management cluster
Copy
  1. Delete the minio CSR:
Management cluster
Copy
  1. Enable requestAuthCert in the minio tenant. (set requestAutoCert to true)
Management cluster
Copy
  1. The minio-tls and operator secret will be regenerated, which the minio pods use. Also check certificate validity.
Management cluster
Copy

Additional Information

Platform9 team has filed an internal jira AIR-1401 to track Minio cert issue, and jira AIR-1402 to track the Percona cert rotation issue. To know more details on the ETA for the fix and the release version, please reach out to support team mentioning the jira-ID.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard