Bug 2136393

Summary: overcloud update failed with error {"msg": "Failed to get information on remote file (/var/lib/mistral/overcloud/octavia-ansible/group_vars/octavia_vars.yaml): Permission denied"}
Product: Red Hat OpenStack Reporter: vivek koul <vkoul>
Component: openstack-tripleo-heat-templatesAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: apevec, astupnik, cjeanner, dmaley, drosenfe, fj-lsoft-ofuku, jinjlee, ldenny, mburns, mflusche, ramishra, rbruzzon, rcernin, schhabdi, spower, ssigwald, tkajinam, tvignaud, vcojot, yusokada
Target Milestone: z9Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20221013153258.29a02c1.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2136489 (view as bug list) Environment:
Last Closed: 2022-12-07 20:30:04 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:
Bug Depends On:    
Bug Blocks: 2136489    

Description vivek koul 2022-10-20 07:24:18 UTC
Description of problem:

The customer is running the deployment command to change NTP/DNS on overcloud nodes. 
During this deployment, it failed with some errors which are fixed at the moment.

The latest error we saw was coming from the playbook https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/deployment/octavia/octavia-deployment-config.j2.yaml#L280

Here is the error:

~~~
2022-10-20 14:48:03,050 p=85125 u=mistral n=ansible | Thursday 20 October 2022  14:48:03 +0800 (0:00:00.724)       0:36:52.331 ****** 
2022-10-20 14:48:03,359 p=85125 u=mistral n=ansible | fatal: [undercloud]: FAILED! => {"msg": "Failed to get information on remote file (/var/lib/mistral/overcloud/octavia-ansible/group_vars/octavia_vars.yaml): Permission denied"}
~~~

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

puppet-tripleo-11.5.0-1.20211215173613.el8ost.noarch        Sat May  7 22:45:17 2022
ansible-2.9.19-1.el8ae.noarch                               Fri Jun  4 00:28:43 2021
python3-heat-agent-ansible-1.10.1-1.20210527231347.96b819c.el8ost.noarch Sat May  7 22:45:16 2022
puppet-octavia-15.4.1-1.20210528140647.b741773.el8ost.noarch Sat May  7 22:44:06 2022
Red Hat Enterprise Linux release 8.2 (Ootpa)
Red Hat OpenStack Platform release 16.1.8 (Train)

How reproducible:
N/A

Steps to Reproduce:
1. N/A
2.
3.

Actual results:
Deployment failed with error.

Expected results:
Deployment should get completed without errors

Additional info:

Comment 33 David Rosenfeld 2022-11-10 17:53:31 UTC
The Phase 2 job - phase2-16.1_compact-director-rhel-8.2-virthost-3cont_2comp-ipv4-geneve-lvm-octavia is passing now. It was failing before the fix.

Comment 41 Brendan Shephard 2022-11-20 22:54:47 UTC
*** Bug 2144065 has been marked as a duplicate of this bug. ***

Comment 42 Rabi Mishra 2022-11-22 14:46:04 UTC
*** Bug 2144851 has been marked as a duplicate of this bug. ***

Comment 47 errata-xmlrpc 2022-12-07 20:30:04 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 (Moderate: Red Hat OpenStack 16.1.9 (openstack-tripleo-heat-templates) security update), 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-2022:8796

Comment 48 Red Hat Bugzilla 2023-09-19 04:28:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days