Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1562966 - Fresh OCP 3.7 on AWS install fails with "msg": "file not found: /etc/origin/logging/ca.crl.srl"
Fresh OCP 3.7 on AWS install fails with "msg": "file not found: /etc/origin/l...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.1
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.7.z
Assigned To: Anping Li
Qiaoling Tang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-02 15:33 EDT by emahoney
Modified: 2018-05-14 11:53 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-29 10:36:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1231 None None None 2018-04-29 10:37 EDT

  None (edit)
Description emahoney 2018-04-02 15:33:24 EDT
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 11:25:15 EDT
@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 11:49:17 EDT
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 11:51:42 EDT
(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 15:43:46 EDT
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 08:28:54 EDT
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 12:33:46 EDT
3.7 cherrypick https://github.com/openshift/openshift-ansible/pull/7815
Comment 12 raffaele spazzoli 2018-04-09 09:08:48 EDT
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 10:13:10 EDT
@raffaele
This was the 3.9 cherry pick https://github.com/openshift/openshift-ansible/pull/7814
Comment 15 Anping Li 2018-04-19 22:17:41 EDT
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 10:36:36 EDT
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.