Bug 1935933

Summary: Ansible log file error while installing the undercloud
Product: Red Hat OpenStack Reporter: Jacob Ansari <jansari>
Component: python-tripleoclientAssignee: David Peacock <dpeacock>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: cory.bannister, dpeacock, gchamoul, hbrock, jjoyce, jschluet, jslagle, kecarter, mbultel, mburns, slinaber, tvignaud
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-tripleoclient-12.3.2-1.20210428170209.ae58329.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 20:18:00 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:
Embargoed:

Description Jacob Ansari 2021-03-05 20:04:50 UTC
Description of problem:

When an undercloud installation is attempted, non fatal message [1] is displayed.
This seems to have no actual impact beyond not creating the log file 


[1]
[WARNING]: log file at /usr/share/ansible/validation-playbooks/ansible.log is not writeable and we cannot create it, aborting


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


How reproducible:



Steps to Reproduce:
1. run undercloud install
2. Observer error

Actual results:
[WARNING]: log file at /usr/share/ansible/validation-playbooks/ansible.log is not writeable and we cannot create it, aborting


Expected results:

No error 

Additional info:

Comment 4 mathieu bultel 2021-04-12 05:57:41 UTC
The proposed patch won't fix the issue, but I think, since the validations-libs is available in stable/train, we should get this cherry pick:

https://review.opendev.org/c/openstack/python-tripleoclient/+/785604

Comment 15 David Rosenfeld 2021-09-23 20:00:55 UTC
Error message from description:

[WARNING]: log file at /usr/share/ansible/validation-playbooks/ansible.log is not writeable and we cannot create it, aborting

is not seen when undercloud is installed.

Comment 25 errata-xmlrpc 2021-12-09 20:18:00 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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement 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-2021:3762