kolla-ansible/releasenotes/notes/fix-pip-install-user-5f871f67433e465a.yaml
Mark Goddard 519ca1c083 Fix installation with pip install --user
If kolla-ansible is installed via pip install --user, currently the
kolla-ansible script is unable to locate the installed playbooks.
This leads to a failure when running commands.

This change fixes the issue by checking for the user's .local directory
as a possible installation path.

This fixes some of the scenario tests which were failing after switching
to a user installation in Ifaf1948ed5d42eebaa62d7bad375bbfc12b134d5.
Most tests did not fail since the kolla-ansible script in the source
checkout was used.

Closes-Bug: #1915527

Change-Id: I5b47a146627d06bb3fe4a747c5f20290c726b0f9
2021-02-12 17:58:04 +00:00

7 lines
191 B
YAML

---
fixes:
- |
Fixes an issue with executing ``kolla-ansible`` when installed via ``pip
install --user``. `LP#1915527
<https://bugs.launchpad.net/kolla-ansible/+bug/1915527>`__