4a04d08eb4
With fixing multi-distro support logic, venv_wheel_build_enable logic stopped working for metal deployments, that have more then 1 host. Currently, we were checking, that we are not building wheels if build_host is the same as inventory_hostname. Which is now true for all metal deployments. However, other hosts do expect wheels to present, which results in installation failure. According to the original idea we need to build wheels only when we have more then 1 host with same arch/distro combination otherwise it does not make sense to build wheels and faster to install tarball. To achieve that we build mapping of all distro/arch combinations and enable wheels building only when there distro-arch combination is not unique for the host we're playing against. Despite it might be overkill, as scenario of having only single host with uniqe distro-arch combination, and overhead of building wheels for it would be quite small, alternative would be to hardcode `True` for venv_wheel_build_enable. Closes-Bug: #1989506 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/858258 Change-Id: I762e36acf76729fd61f28ca1b03bc9f562b5db0a |
||
---|---|---|
.. | ||
debian.yml | ||
main.yml | ||
redhat-7.yml | ||
redhat-8.yml | ||
redhat-9.yml |