macros.install_pip() fails if working dir is different than /
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| kolla |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Kolla will fail to pip install when not in the root directory.
For example, this is what happens when calling the macros.
INFO:kolla.
INFO:kolla.
INFO:kolla.
INFO:kolla.
We need to pass the absolute path to requirements/

Reviewed: https:/ /review. openstack. org/539859 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=0d4760eaac6 ea4b0f89b36f932 e7b300875e28a4
Committed: https:/
Submitter: Zuul
Branch: master
commit 0d4760eaac6ea4b 0f89b36f932e7b3 00875e28a4
Author: Martin André <email address hidden>
Date: Thu Feb 1 09:26:44 2018 +0100
Use absolute path in install_pip macro
This lets us use the macro in the case there was a WORKDIR instruction
that changed the working directory from / earlier in the dockerfile.
Change-Id: I2369c9997ef189 e7084fac7b5ace0 14f6f76d698
Closes-Bug: #1746682