Bug 1579321 - etcd certificate re-deploy during Red Hat OpenShift Container Platform 3.7 upgrade is failing
Summary: etcd certificate re-deploy during Red Hat OpenShift Container Platform 3.7 up...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.7.z
Assignee: Vadim Rutkovsky
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 1578934 1583151 1585657
Blocks: 1579319 1579320
TreeView+ depends on / blocked
 
Reported: 2018-05-17 11:17 UTC by Vadim Rutkovsky
Modified: 2018-10-08 11:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1578934
Environment:
Last Closed: 2018-10-08 11:47:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Vadim Rutkovsky 2018-05-17 11:22:44 UTC
Created https://github.com/openshift/openshift-ansible/pull/8404

Comment 2 Vadim Rutkovsky 2018-05-24 07:39:13 UTC
Fix is available in openshift-ansible-3.7.49-1

Comment 3 Gaoyun Pei 2018-06-06 02:22:25 UTC
Upgrade ocp v3.6 to v3.7 blocked by BZ#1585657 now.

Comment 4 Gaoyun Pei 2018-06-25 08:59:05 UTC
BZ#1585657 should be fixed by PR https://github.com/openshift/openshift-ansible/pull/8547/ , so no longer blocking this.

Verify this bug with openshift-ansible-3.7.55-1.git.14.cfcf401.el7.noarch.

During 3.6 to 3.7 upgrade, when etcd redeploy-certificates.yml is called, it could backup etcd certs and generate new cert files correctly.

Copy file steps:

TASK [etcd : file] **********************************************************************************************************************************************************
ok: [ec2-52-91-74-161.compute-1.amazonaws.com -> ec2-52-91-74-161.compute-1.amazonaws.com] => {"changed": false, "dest": "/etc/etcd/generated_certs/etcd-ip-172-18-2-250.ec2.internal/ca.crt", "failed": false, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1895, "src": "/etc/etcd/ca/ca.crt", "state": "hard", "uid": 0}


TASK [etcd : file] **********************************************************************************************************************************************************
ok: [ec2-54-88-20-59.compute-1.amazonaws.com -> ec2-52-91-74-161.compute-1.amazonaws.com] => {"changed": false, "dest": "/etc/etcd/generated_certs/openshift-master-ip-172-18-0-236.ec2.internal/master.etcd-ca.crt", "failed": false, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1895, "src": "/etc/etcd/ca/ca.crt", "state": "hard", "uid": 0}


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