commit 0000cb5796705848a21552aec73e126cd22eb4c6
Author: Mark Goddard <email address hidden>
Date: Thu Feb 11 09:23:21 2021 +0000
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
(cherry picked from commit 519ca1c08322d1e670c13e60f31b22230fbdc9d3)
(cherry picked from commit 12247f7a91fcf4158203a13dbaea8f597c080ae9)
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/793570 /opendev. org/openstack/ kolla-ansible/ commit/ 0000cb579670584 8a21552aec73e12 6cd22eb4c6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/stein
commit 0000cb579670584 8a21552aec73e12 6cd22eb4c6
Author: Mark Goddard <email address hidden>
Date: Thu Feb 11 09:23:21 2021 +0000
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 ebaa62d7bad375b bfc12b134d5.
to a user installation in Ifaf1948ed5d42e
Most tests did not fail since the kolla-ansible script in the source
checkout was used.
Closes-Bug: #1915527
Change-Id: I5b47a146627d06 bb3fe4a747c5f20 290c726b0f9 670c13e60f31b22 230fbdc9d3) 58203a13dbaea8f 597c080ae9)
(cherry picked from commit 519ca1c08322d1e
(cherry picked from commit 12247f7a91fcf41