Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2258489

Summary: [FFU] upgrading to 17.1 fails at Slurp remote deployment file for CADeployment step
Product: Red Hat OpenStack Reporter: Flavio Piccioni <fpiccion>
Component: openstack-tripleo-commonAssignee: Juan Badia Payno <jbadiapa>
Status: CLOSED ERRATA QA Contact: Archana Singh <arcsingh>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: arcsingh, dhughes, drosenfe, faguiard, lbezdick, mariel, mburns, ravsingh, slinaber
Target Milestone: z3Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-15.4.1-17.1.20230927010820.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 20:40:25 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 Flavio Piccioni 2024-01-15 16:34:10 UTC
Description of problem:

/var/lib/heat-config/ is only readable by root, so basically without a become=true policy the Slurp task will fails.

- name: "Slurp remote deployment file for {{ item }}"
  slurp:
    src: "/var/lib/heat-config/tripleo-config-download/{{ item ~ '-' ~ deployment_uuid }}.rendered"
  register: deployment_content
  when:
    - not ansible_check_mode|bool


Version-Release number of selected component (if applicable):
source release: 16.2.5
target release: 17.1.1

How reproducible:


Steps to Reproduce:
1. complete the upgrade adoption step
2. run the upgrade step "openstack overcloud upgrade run [..]"

Actual results:

"openstack overcloud upgrade run [..]" is failing:

2024-01-09 12:11:58,551 p=904543 u=stack n=ansible | 2024-01-09 12:11:58.550953 | {uuid} |      FATAL | Slurp remote deployment file for CADeployment | qbcvbd01 | error={"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-{uuid}.rendered"}
2024-01-09 12:11:59,351 p=904543 u=stack n=ansible | 2024-01-09 12:11:59.349854 | {uuid} |      FATAL | Slurp remote deployment file for CADeployment | nocmpd01 | error={"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-{uuid}.rendered"}
[..]


Expected results:

"openstack overcloud upgrade run [..]" to succeed.

Comment 15 errata-xmlrpc 2024-05-22 20:40:25 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 17.1.3 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-2024:2741