Summary: | ansible 2.7: v3.11 installation fails due to missing etcd certificate | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Elvir Kuric <ekuric> |
Component: | Installer | Assignee: | Vadim Rutkovsky <vrutkovs> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.11.0 | CC: | aos-bugs, ekuric, gpei, jokerman, mmccomas, vrutkovs, wmeng |
Target Milestone: | --- | Flags: | sdodson:
needinfo?
(ekuric) |
Target Release: | 3.11.z | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: ansible 2.7.0 has changed the way variables were passed to roles
Consequence: some roles didn't have necessary vars set, resulting in a failed install
Fix: required ansible version is set to 2.6.5
Result: install succeeds
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-10 09:04:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Elvir Kuric
2018-10-12 09:44:07 UTC
# pwd /etc/origin/master [root@perf148c master]# ls -l total 464 -rw-r--r--. 1 root root 1151 Oct 12 05:27 admin.crt -rw-------. 1 root root 1675 Oct 12 05:27 admin.key -rw-------. 1 root root 5855 Oct 12 05:27 admin.kubeconfig -rw-r--r--. 1 root root 1090 Oct 12 05:27 aggregator-front-proxy.crt -rw-r--r--. 1 root root 1679 Oct 12 05:27 aggregator-front-proxy.key -rw-r--r--. 1 root root 5630 Oct 12 05:27 aggregator-front-proxy.kubeconfig -rw-r--r--. 1 root root 1070 Oct 12 05:27 ca-bundle.crt -rw-r--r--. 1 root root 1070 Oct 12 05:27 ca.crt -rw-------. 1 root root 1675 Oct 12 05:27 ca.key -rw-r--r--. 1 root root 3 Oct 12 05:27 ca.serial.txt -rw-r--r--. 1 root root 1070 Oct 12 05:27 client-ca-bundle.crt -rw-r--r--. 1 root root 2526 Oct 12 05:27 etcd.server.crt -rw-------. 1 root root 1675 Oct 12 05:27 etcd.server.key -rw-r--r--. 1 root root 1070 Oct 12 05:27 front-proxy-ca.crt -rw-r--r--. 1 root root 1078 Oct 12 05:27 frontproxy-ca.crt -rw-------. 1 root root 1679 Oct 12 05:27 front-proxy-ca.key -rw-------. 1 root root 1679 Oct 12 05:27 frontproxy-ca.key -rw-r--r--. 1 root root 3 Oct 12 05:27 frontproxy-ca.serial.txt -rw-r--r--. 1 root root 5789 Oct 12 05:27 master-config.yaml -rw-r--r--. 1 root root 177 Oct 12 05:27 master.env -rw-r--r--. 1 root root 1078 Oct 12 05:27 master.etcd-client.crt -rw-------. 1 root root 1675 Oct 12 05:27 master.etcd-client.key -rw-r--r--. 1 root root 1135 Oct 12 05:27 master.kubelet-client.crt -rw-------. 1 root root 1679 Oct 12 05:27 master.kubelet-client.key -rw-r--r--. 1 root root 1086 Oct 12 05:27 master.proxy-client.crt -rw-------. 1 root root 1679 Oct 12 05:27 master.proxy-client.key -rw-r--r--. 1 root root 2526 Oct 12 05:27 master.server.crt -rw-------. 1 root root 1675 Oct 12 05:27 master.server.key drwx------. 2 root root 6 Oct 12 05:26 named_certificates -rw-r--r--. 1 root root 1099 Oct 12 05:27 openshift-aggregator.crt -rw-------. 1 root root 1675 Oct 12 05:27 openshift-aggregator.key -rw-r--r--. 1 root root 1123 Oct 12 05:27 openshift-master.crt -rw-------. 1 root root 1679 Oct 12 05:27 openshift-master.key -rw-------. 1 root root 5867 Oct 12 05:27 openshift-master.kubeconfig -rw-r--r--. 1 root root 293893 Oct 12 05:27 policy.json -rw-r--r--. 1 root root 573 Oct 12 05:27 recycler_pod.yaml -rw-r--r--. 1 root root 1892 Oct 12 05:27 scheduler.json -rw-------. 1 root root 1675 Oct 12 05:27 serviceaccounts.private.key -rw-------. 1 root root 451 Oct 12 05:27 serviceaccounts.public.key -rw-r--r--. 1 root root 1115 Oct 12 05:27 service-signer.crt -rw-------. 1 root root 1679 Oct 12 05:27 service-signer.key -rw-------. 1 root root 147 Oct 12 05:27 session-secrets.yaml Ansible 2.7 is not supported and known to break things. Please revert ansible back to 2.6.5 I'll keep this bug open to track ansible 2.7 compatibility thank you. works with # ansible --version ansible 2.6.5 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Sep 12 2018, 05:31:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Elvir, It's also believed that this has been fixed in 2.7.1, if you'd like to try that version that'd be helpful datapoint since you were able to reproduce this. Test with openshift-ansible-3.11.39-1.git.0.fe42b3b.el7.noarch.rpm & ansible-2.7.1-1.el7ae. 3.11 cluster could be installed successfully, no such error encountered. 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-2019:0024 |