[undercloud install] TASK | Render hieradata from template failed

Bug #2009878 reported by devmes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Unassigned

Bug Description

It failed because of the error during the undercloud installation process.

2023-03-09 12:41:34.715224 | 007610c2-487d-4ced-b4ed-000000000551 | FATAL | Render hieradata from template | undercloud | item=net_ip_map | error={"ansible_loop_var": "item", "changed": false, "item": "net_ip_map", "msg": "AnsibleFilterError: The ipwrap filter requires python's netaddr be installed on the ansible controller"}

==========================================================================

[my env]

[stack@undercloud ~]$ uname -a
Linux undercloud.localdomain 5.14.0-283.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 23 22:23:05 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[stack@undercloud ~]$ ansible --version
ansible [core 2.14.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/stack/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.11/site-packages/ansible
  ansible collection location = /home/stack/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.11.2 (main, Feb 16 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11)
  jinja version = 3.1.2
  libyaml = True

[commands]

step 01. (successed)
export LIBGUESTFS_BACKEND_SETTINGS=network_bridge=virbr0
bash quickstart.sh -R master --no-clone --tags all \
    --nodes config/nodes/1ctlr_1comp.yml -p quickstart.yml 192.168.25.2

step 02. (failed)
bash quickstart.sh -R master --no-clone --tags all --nodes config/nodes/1ctlr_1comp.yml \
    -I --teardown none -p quickstart-extras-undercloud.yml 192.168.25.2

devmes (devmes)
description: updated
devmes (devmes)
tags: added: centos8 quickstart tripleo
devmes (devmes)
summary: - [undercloud install] TASK | Render hieradata from template
+ [undercloud install] TASK | Render hieradata from template failed
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

This is similar to 2007659 and caused by the recent ansible in CentOS which depend on python 3.11 instead of 3.9.
We are currently discussing that we create our own ansible package with python 3.9 provided by RDO. Until the package is created, please downgrade and pin ansible to an older version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.