How to restore master certificates and configurations from a backup generated by the redeploy-certificates playbook

Solution Verified - Updated -

Issue

  • The openshift-ansible redeploy-certificates playbook failed or was interrupted while it was running.
  • Attempts to re-run the redeploy-certificates playbook also fail.
  • The master API is down
  • There are no certificate files in the /etc/origin/master directory on the master nodes
  • There is a backup file /etc/origin/master-cert-config-backup-XXXXXXXXXXXXXX.tgz with a recent timestamp

Environment

  • Red Hat OpenShift Container Platform (RHOCP)

    • 3.11
  • Bastion Host

    • ansible
    • 2.9
    • openshift-ansible
    • 3.11
    • openshift-ansible-playbooks
    • 3.11
    • openshift-ansible-roles
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content