Bug 1562966 - Fresh OCP 3.7 on AWS install fails with "msg": "file not found: /etc/origin/logging/ca.crl.srl"
Summary: Fresh OCP 3.7 on AWS install fails with "msg": "file not found: /etc/origin/l...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.z
Assignee: Anping Li
QA Contact: Qiaoling Tang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-02 19:33 UTC by emahoney
Modified: 2018-05-14 15:53 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-29 14:36:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1231 0 None None None 2018-04-29 14:37:19 UTC

Description emahoney 2018-04-02 19:33:24 UTC
Description of problem: A fresh installation of OCP 3.7 on AWS fails with the error message below:

    "msg": "file not found: /etc/origin/logging/ca.crl.srl"

After the failed deploy, we noted that the ca.crl.srl file does not exist (there is a ca.crt.srl though!). After doing a 'touch ca.crl.srl' in that directory and re-running the playbook, the install is successful. We also noted that the variable 'openshift_master_overwrite_named_certificates=true' was not set in the inventory. Although that might be a red-herring. 


Version-Release number of selected component (if applicable):
3.7 latest


How reproducible:
Have not been able to reproduce.


Steps to Reproduce:
1.
2.
3.

Actual results: Install fails with "msg": "file not found: /etc/origin/logging/ca.crl.srl"


Expected results: Successful install


Additional info:


Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 5 Rich Megginson 2018-04-03 15:25:15 UTC
@sdodson why was this moved from Installer to Logging?  It is definitely a problem in openshift-ansible (in the logging role).

Comment 6 Scott Dodson 2018-04-03 15:49:17 UTC
I thought that's what we were to do for logging issue. I can leave it in component installer and assign to Eric for triage if that'd preferable.

Comment 7 Rich Megginson 2018-04-03 15:51:42 UTC
(In reply to Scott Dodson from comment #6)
> I thought that's what we were to do for logging issue. I can leave it in
> component installer and assign to Eric for triage if that'd preferable.

Yeah - it is confusing - the _team_ working on it will be the logging team, but the _component_ containing the released fix will be openshift-ansible - I don't think the bz Component captures that.

Comment 9 Jeff Cantrill 2018-04-04 19:43:46 UTC
Maybe not related but shouldn't we be advising users of openshift-ansible to use a specific version of ansible.  I don't recall 2.4.x.y being available when we released openshift-ansible for 3.7

Comment 10 Scott Dodson 2018-04-05 12:28:54 UTC
Jeff,

Yes, we advise that they use the version that ships in our channels, but ansible ended up in the RHEL 7 extras repo temporarily so it became likely that we'd get 2.4 unless the admin deliberately ensures that won't happen.


https://github.com/openshift/openshift-ansible/pull/7764 proposed fix from the community

Comment 11 ewolinet 2018-04-05 16:33:46 UTC
3.7 cherrypick https://github.com/openshift/openshift-ansible/pull/7815

Comment 12 raffaele spazzoli 2018-04-09 13:08:48 UTC
I am seeing the same issue with a fresh 3.9 install.
I suggest the affected release to be updated to 3.9 too.
This seems to be blocking. is there a workaround?

Comment 13 ewolinet 2018-04-09 14:13:10 UTC
@raffaele
This was the 3.9 cherry pick https://github.com/openshift/openshift-ansible/pull/7814

Comment 15 Anping Li 2018-04-20 02:17:41 UTC
The /etc/origin/logging/ca.crl.srl can be found when deploy logging with openshift3/ose-ansible/images/v3.7.44-3

Comment 20 errata-xmlrpc 2018-04-29 14:36:36 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/RHSA-2018:1231


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