Bug 1463773 - [3.4] The installer should allow for redeploy of etcd CA only.
Summary: [3.4] 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.4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.4.z
Assignee: Andrew Butcher
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 1451927 1463774 1463775
Blocks: 1460970 1463772
TreeView+ depends on / blocked
 
Reported: 2017-06-21 17:56 UTC by Andrew Butcher
Modified: 2017-06-29 13:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1451927
Environment:
Last Closed: 2017-06-29 13:34:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1666 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-06-29 17:32:39 UTC

Comment 3 Gaoyun Pei 2017-06-27 09:32:10 UTC
Test with openshift-ansible-3.4.108-1.git.0.6b32ddc.el7.noarch, no openshift_etcd_ca role in 3.4 installer.

[root@gpei-test-ansible bz1462276]# ansible-playbook -i host -v /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/redeploy-etcd-ca.yml 
Using /etc/ansible/ansible.cfg as config file
ERROR! the role 'openshift_etcd_ca' was not found in /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/redeploy-certificates/roles:/etc/ansible/roles:/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/redeploy-certificates

The error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/redeploy-certificates/etcd-ca.yml': line 40, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
  - role: openshift_etcd_ca
    ^ here

Comment 6 Gaoyun Pei 2017-06-28 05:15:45 UTC
Verify this bug with openshift-ansible-3.4.109-1.git.0.576c8dd.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 8 errata-xmlrpc 2017-06-29 13:34:41 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/RHBA-2017:1666


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