Reviewed: https://review.opendev.org/c/openstack/kolla/+/794153 Committed: https://opendev.org/openstack/kolla/commit/db78657c231663f3e8ebbc18de43c06ddaa94c97 Submitter: "Zuul (22348)" Branch: master
commit db78657c231663f3e8ebbc18de43c06ddaa94c97 Author: James Pic <email address hidden> Date: Wed Jun 2 09:42:35 2021 +0200
Fix _get_images_dir when pip-installed with --user
There are two cases where pip installs kolla share into ~/.local/share/kolla:
- with `pip install --user kolla` - with `pip install kolla` as non-root
This patch helps kolla find the share dir in these cases.
Closes-Bug: #1930544
Change-Id: I0b3eb6744a34a601266179fb358510a5c500e6ba
Reviewed: https:/ /review. opendev. org/c/openstack /kolla/ +/794153 /opendev. org/openstack/ kolla/commit/ db78657c231663f 3e8ebbc18de43c0 6ddaa94c97
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit db78657c231663f 3e8ebbc18de43c0 6ddaa94c97
Author: James Pic <email address hidden>
Date: Wed Jun 2 09:42:35 2021 +0200
Fix _get_images_dir when pip-installed with --user
There are two cases where pip installs kolla share into ~/.local/ share/kolla:
- with `pip install --user kolla`
- with `pip install kolla` as non-root
This patch helps kolla find the share dir in these cases.
Closes-Bug: #1930544
Change-Id: I0b3eb6744a34a6 01266179fb35851 0a5c500e6ba