This reverts commit f99d1771ba1882dfbb69186212a197edae3ef02c.
Added workarounds that might want to get split into their own patch
before merging:
- Don't install python-psutil
- Don't run peakmem_tracker
Change-Id: If4fb16555e15082a4d97cffdf3cfa608a682997d
| ... | ... |
@@ -320,14 +320,12 @@ |
| 320 | 320 |
dstat: true |
| 321 | 321 |
etcd3: true |
| 322 | 322 |
mysql: true |
| 323 |
- peakmem_tracker: true |
|
| 324 | 323 |
rabbit: true |
| 325 | 324 |
group-vars: |
| 326 | 325 |
subnode: |
| 327 | 326 |
devstack_services: |
| 328 | 327 |
# Shared services |
| 329 | 328 |
dstat: true |
| 330 |
- peakmem_tracker: true |
|
| 331 | 329 |
devstack_localrc: |
| 332 | 330 |
# Multinode specific settings |
| 333 | 331 |
HOST_IP: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
|
| ... | ... |
@@ -394,7 +392,6 @@ |
| 394 | 394 |
dstat: true |
| 395 | 395 |
etcd3: true |
| 396 | 396 |
mysql: true |
| 397 |
- peakmem_tracker: true |
|
| 398 | 397 |
rabbit: true |
| 399 | 398 |
tls-proxy: true |
| 400 | 399 |
# Keystone services |
| ... | ... |
@@ -450,7 +447,6 @@ |
| 450 | 450 |
# This list replaces the test-matrix. |
| 451 | 451 |
# Shared services |
| 452 | 452 |
dstat: true |
| 453 |
- peakmem_tracker: true |
|
| 454 | 453 |
tls-proxy: true |
| 455 | 454 |
# Nova services |
| 456 | 455 |
n-cpu: true |
| ... | ... |
@@ -89,9 +89,9 @@ function install_get_pip {
|
| 89 | 89 |
die $LINENO "Download of get-pip.py failed" |
| 90 | 90 |
touch $LOCAL_PIP.downloaded |
| 91 | 91 |
fi |
| 92 |
- sudo -H -E python $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt |
|
| 93 |
- if python3_enabled; then |
|
| 94 |
- sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
|
|
| 92 |
+ sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP
|
|
| 93 |
+ if ! python3_enabled; then |
|
| 94 |
+ sudo -H -E python $LOCAL_PIP |
|
| 95 | 95 |
fi |
| 96 | 96 |
} |
| 97 | 97 |
|