Bug 2223325 - [Upgrade [OSP16.2 -> OSP17.1] ipa environment failed on updating content on compute-0 based on rhel-9
Summary: [Upgrade [OSP16.2 -> OSP17.1] ipa environment failed on updating content on ...
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: ga
: 17.1
Assignee: Lukas Bezdicka
QA Contact: Khomesh Thakre
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-17 11:32 UTC by Juan Badia Payno
Modified: 2023-12-15 04:26 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230519151018.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:15:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 880530 0 None MERGED Run TLS-E in pre_deploy_step_tasks 2023-07-17 13:19:08 UTC
Red Hat Issue Tracker OSP-26644 0 None None None 2023-07-17 11:33:00 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:16:28 UTC

Description Juan Badia Payno 2023-07-17 11:32:17 UTC
2023-07-16 21:00:51.679 | TASK [tripleo-upgrade : run overcloud major upgrade for the host compute-0] ****
2023-07-16 21:00:51.681 | task path: /home/rhos-ci/jenkins/workspace/DFG-upgrades-ffu-17.1-9.2-passed_phase2-from-17.1-rhel-8.4-latest-RHOS-17.1-RHEL-8.4-3cont_2comp_3ceph_1ipa-ipv4-ovn_dvr/infrared/plugins/tripleo-upgrade/infrared_plugin/roles/tripleo-upgrade/tasks/fast-forward-upgrade/overcloud_upgrade_hosts.yaml:98
2023-07-16 21:00:51.684 | Sunday 16 July 2023  21:00:51 +0000 (0:00:00.050)       0:30:49.285 *********** 
2023-07-16 21:07:03.378 | fatal: [undercloud-0]: FAILED! => {
2023-07-16 21:07:03.383 |     "changed": true,
2023-07-16 21:07:03.387 |     "cmd": "set -o pipefail\n/home/stack/overcloud_upgrade_run-compute-0.sh 2>&1 | awk '{ print strftime(\"%Y-%m-%d %H:%M:%S |\"), $0; fflush(); }' >>    /home/stack/overcloud_upgrade_run-compute-0.log\n",
2023-07-16 21:07:03.391 |     "delta": "0:06:11.460213",
2023-07-16 21:07:03.395 |     "end": "2023-07-16 21:07:03.346209",
2023-07-16 21:07:03.399 |     "rc": 1,
2023-07-16 21:07:03.403 |     "start": "2023-07-16 21:00:51.885996"
2023-07-16 21:07:03.406 | }
2023-07-16 21:07:03.409 | 


On the openstack overcloud run --limit compute-0

2023-07-16 21:07:02 | 2023-07-16 21:07:02.786381 | 5254004b-43ce-b460-e935-000000002146 |      FATAL | add required services using custom module | undercloud | error={"msg": "The task includes an option with an undefined variable. The error was: Unable to look up a name or access an attribute in template string ({{ tripleo_ipa_server_metadata | from_json | parse_service_metadata(base_server_fqdn) }}).\nMake sure your variable name does not contain invalid characters like '-': the JSON object must be str, bytes or bytearray, not AnsibleUndefined. the JSON object must be str, bytes or bytearray, not AnsibleUndefined. Unable to look up a name or access an attribute in template string ({{ tripleo_ipa_server_metadata | from_json | parse_service_metadata(base_server_fqdn) }}).\nMake sure your variable name does not contain invalid characters like '-': the JSON object must be str, bytes or bytearray, not AnsibleUndefined. the JSON object must be str, bytes or bytearray, not AnsibleUndefined\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_ipa_registration/tasks/main.yml': line 64, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: add required services using custom module\n  ^ here\n"}
2023-07-16 21:07:02 | 2023-07-16 21:07:02.787602 | 5254004b-43ce-b460-e935-000000002146 |     TIMING | tripleo_ipa_registration : add required services using custom module | undercloud | 0:06:08.224656 | 0.05s
2023-07-16 21:07:02 | 
2023-07-16 21:07:02 | PLAY RECAP *********************************************************************
2023-07-16 21:07:02 | compute-0                  : ok=283  changed=74   unreachable=0    failed=0    skipped=206  rescued=0    ignored=2   
2023-07-16 21:07:02 | undercloud                 : ok=50   changed=11   unreachable=0    failed=1    skipped=6    rescued=0    ignored=2   
2023-07-16 21:07:02 | 2023-07-16 21:07:02.821347 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Comment 15 errata-xmlrpc 2023-08-16 01:15:51 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577

Comment 16 Red Hat Bugzilla 2023-12-15 04:26:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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