Bug 2308334 - FFU [16.2 -> 17.1] Overcloud Compute System Upgrade fails with unknown attribute 'hostname'
Summary: FFU [16.2 -> 17.1] Overcloud Compute System Upgrade fails with unknown attrib...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 17.1
Assignee: Lukas Bezdicka
QA Contact: Alfredo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-28 13:29 UTC by Itay Matza
Modified: 2024-11-21 09:31 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-17.1.20240919123748.e7c7ce3.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:31:30 UTC
Target Upstream Version:
Embargoed:
imatza: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32721 0 None None None 2024-08-28 13:31:01 UTC
Red Hat Product Errata RHBA-2024:9973 0 None None None 2024-11-21 09:31:32 UTC

Description Itay Matza 2024-08-28 13:29:14 UTC
Description of problem:
During testing the patch for Bug 2295143, after updating with the following RPM (https://download.devel.redhat.com/brewroot/vol/rhel-8/packages/ceph-ansible/6.0.28.11/1.el8cp/noarch/ceph-ansible-6.0.28.11-1.el8cp.noarch.rpm), the Ceph Adoption step passed but failed on 'Overcloud Compute System Upgrade FFU OSP17'.

From overcloud_upgrade_run-computehci-1.log:
```
2024-08-26 20:02:04 | 2024-08-26 20:02:04.272962 | 525400a7-cf10-355e-5f3c-000000000129 |       TASK | Write group_vars file
2024-08-26 20:02:05 | 2024-08-26 20:02:05.001998 | 525400a7-cf10-355e-5f3c-000000000129 |         OK | Write group_vars file | undercloud
2024-08-26 20:02:05 | 2024-08-26 20:02:05.004551 | 525400a7-cf10-355e-5f3c-000000000129 |     TIMING | Write group_vars file | undercloud | 0:17:25.449564 | 0.73s
2024-08-26 20:02:05 | 2024-08-26 20:02:05.022794 | 525400a7-cf10-355e-5f3c-00000000012a |       TASK | Write octavia inventory
2024-08-26 20:02:05 | 2024-08-26 20:02:05.249656 | 525400a7-cf10-355e-5f3c-00000000012a |      FATAL | Write octavia inventory | undercloud | error={"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'hostname'. 'dict object' has no attribute 'hostname'\n\nThe error appears to be in '/home/stack/overcloud-deploy/overcloud/config-download/overcloud/external_post_deploy_steps_tasks.yaml': line 73, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    no_log: '{{ hide_sensitive_logs | bool }}'\n  - become: true\n    ^ here\n"}
2024-08-26 20:02:05 | 2024-08-26 20:02:05.251914 | 525400a7-cf10-355e-5f3c-00000000012a |     TIMING | Write octavia inventory | undercloud | 0:17:25.696929 | 0.23s
```


[0] Log: https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/job/DFG-osasinfra-shiftstack_periodic-osp16.2-ocp4.14-ffu-16.2-17.1/15/artifact/.sh/ir-tripleo-ffu-compute.log

Version-Release number of selected component (if applicable):
From RHOS-16.2-RHEL-8-20240701.n.1 to RHOS-17.1-RHEL-8-20240729.n.1

Comment 3 Juan Badia Payno 2024-08-28 13:48:07 UTC
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=2295143

Comment 19 errata-xmlrpc 2024-11-21 09:31:30 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 (RHOSP 17.1.4 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:9973


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