Feature: Etcd CA redeployment playbook.
Reason: Previously, it was only possible to redeploy the etcd CA certificate by also redeploying the OpenShift CA certificate which was unnecessary maintenance.
Result: The etcd CA certificate may now be replaced independent of the OpenShift CA certificate using the etcd CA certificate redeployment playbook (playbooks/byo/openshift-cluster/redeploy-etcd-ca.yml). Note that the OpenShift CA redeployment playbook (playbooks/byo/openshift-cluster/redeploy-openshift-ca.yml) now only replaces the OpenShift CA certificate. Similarly, the etcd CA redeployment playbook only redeploys the etcd CA certificate.
Description of problem:
The following will redeploy the ectd CA and OpenShift CA, we need a way to only tell ansible to only deploy the etcd ca.
$ ansible-playbook -i <inventory_file> \
/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/redeploy-openshift-ca.yml
Verify this bug with openshift-ansible-3.6.116-1.git.0.e2840e8.el7.noarch
For Etcd CA cert redeployment, we could use playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/redeploy-etcd-ca.yml
This playbook will only create new etcd CA certificate, then distribute etcd CA to etcd hosts and masters, restart etcd and master services.
For openshift CA cert redeployment, we could use playbook
/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/redeploy-openshift-ca.yml
This playbook will only create new OpenShift CA certificate, then distribute new CA cert to masters and nodes, restart master and node services.
Comment 9Josep 'Pep' Turro Mauri
2017-06-26 08:46:08 UTC
*** Bug 1464642 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2017:1716
Description of problem: The following will redeploy the ectd CA and OpenShift CA, we need a way to only tell ansible to only deploy the etcd ca. $ ansible-playbook -i <inventory_file> \ /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/redeploy-openshift-ca.yml