Bug 1451927 - The installer should allow for redeploy of etcd CA only.
Summary: The installer should allow for redeploy of etcd CA only.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Russell Teague
QA Contact: Johnny Liu
URL:
Whiteboard:
: 1464642 (view as bug list)
Depends On:
Blocks: 1463772 1463773 1463774 1463775
TreeView+ depends on / blocked
 
Reported: 2017-05-17 21:42 UTC by Ryan Howe
Modified: 2020-08-13 09:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
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.
Clone Of:
: 1463772 1463773 1463774 1463775 (view as bug list)
Environment:
Last Closed: 2017-08-10 05:24:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Ryan Howe 2017-05-17 21:42:31 UTC
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

Comment 6 Andrew Butcher 2017-06-14 18:07:17 UTC
Proposed solution https://github.com/openshift/openshift-ansible/pull/4404

Comment 8 Gaoyun Pei 2017-06-20 09:23:33 UTC
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 9 Josep 'Pep' Turro Mauri 2017-06-26 08:46:08 UTC
*** Bug 1464642 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2017-08-10 05:24:06 UTC
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


Note You need to log in before you can comment on or make changes to this bug.