Openstack Ansible error
Dmitriy Rabotyagov
noonedeadpunk at gmail.com
Fri Apr 22 08:10:15 UTC 2022
Hi Derek,
The issue is raised by the new version of ansible.netcommon
collection. Since version 2.6.0 they've dropped ipaddr and some more
modules, at same time moving them to ansible.utils collection. So the
easiest fix here is to ensure that ansible.utils<2.6.0.
This should have been already fixed in the latest versions of
openstack-ansible as well. And I'm quite sure the proposed workaround
in the bug report you mentioned must work as well.
Can you kindly provide OSA version you're trying to deploy as well as
output of the command:
/opt/ansible-runtime/bin/ansible-galaxy collection list
--collections-path /etc/ansible/
пт, 22 апр. 2022 г. в 09:50, Derek O keeffe <derekokeeffe85 at yahoo.ie>:
>
> Hi all,
>
> I've been working through deploying Openstack ansible when I run the first playbook (setup hosts) it fails with the following error:
>
>
> An exception occurred during task execution. To see the full traceback, use -vvv. The error was: jinja2.exceptions.TemplateRuntimeError: No filter named 'ipaddr' found.
> failed: [infra1_keystone_container-fb7ae0f1] (item={'key': 'container_address', 'value': {'address': 'xx.xx.xx.xxx', 'bridge': 'br-mgmt', 'interface': 'eth1', 'netmask': '255.255.255.0', 'type': 'veth'}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "container_address", "value": {"address": "xx.xx.xx.xxx", "bridge": "br-mgmt", "interface": "eth1", "netmask": "255.255.255.0", "type": "veth"}}, "msg": "TemplateRuntimeError: No filter named 'ipaddr' found."}
>
> I have followed this fix: https://bugs.launchpad.net/openstack-ansible/+bug/1963686
>
> But, unfortunately the error still occurs. I am in the process of troubleshooting and if I find a resolution I will post for anyone in a similar position but in the mean time if anyone has a fix/workaround for this issue it would be greatly appreciated.
>
> Regards,
> Derek
More information about the openstack-discuss
mailing list