From: chenjiankun Date: Tue, 6 Dec 2016 09:15:33 +0000 (+0000) Subject: Bugfix: create stack failed due to not export EXTERNAL_NETWORK environment viarable X-Git-Tag: danube.1.0~177 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=65ea41ee90e4fa49cfb693abcb32076e9be6cb87;p=yardstick.git Bugfix: create stack failed due to not export EXTERNAL_NETWORK environment viarable JIRA: YARDSTICK-449 Now if we run prepare env, we will not source the EXTERNAL_NETWORK. I will source the EXTERNAL_NETWORK after I get it. Change-Id: I917fcecae2cac13b7511667c0687d10eccfac751 Signed-off-by: chenjiankun --- diff --git a/api/actions/env.py b/api/actions/env.py index 9e53dde4d..78f9b72ed 100644 --- a/api/actions/env.py +++ b/api/actions/env.py @@ -191,6 +191,9 @@ def _prepare_env_daemon(): _append_external_network(rc_file) + # update the external_network + _source_file(rc_file) + _load_images()