From 9ffe93f64c120331bc14b69d66ee460e566aa4e1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:54:07 +0000 Subject: [PATCH] Reinitialize the virtualenv In the previous patch removing the virtualenv-tools, we've updated paths to the proper binaries, but we don't reset the virtualenv like what we used to do. Change-Id: I8fe7209662fd198cfc18bb324f74eaf53bc1711d Partial-Bug: #1741634 --- tasks/nova_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/nova_install.yml b/tasks/nova_install.yml index fe597b5c..b7ed3902 100644 --- a/tasks/nova_install.yml +++ b/tasks/nova_install.yml @@ -160,6 +160,7 @@ shell: | find {{ nova_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ nova_bin | replace ('/','\/') }}\/python/' {{ nova_bin }}/* + virtualenv {{ nova_bin | dirname }} when: - nova_get_venv | changed tags: