diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-06-12 20:35:29 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-08-25 23:11:54 +1200 |
commit | dfa5ce93d5f7caa49950d4565bab12fe2dc56ffb (patch) | |
tree | 43cab6ca3da72c55d4d1975c7d46d95b4432a106 /devstack | |
parent | c247e4842eb424214da55ca751535d107d87ceab (diff) | |
download | trove-dfa5ce93d5f7caa49950d4565bab12fe2dc56ffb.tar.gz |
Improve devmode=flase when building the image
During debugging, the following changes are also included:
- Support to specify an image ID to run the integration test.
- Fix the reboot function bug.
- Remove the unsuccessful restart test.
How to run integration test with dev_mode=false:
ADMIN_PASSWORD=password \
SERVICE_PASSWORD=password \
DEV_MODE=false \
/opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql
Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/plugin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 09c2121e..a54d9480 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -404,7 +404,7 @@ function create_mgmt_subnet_v4 { local name=$3 local ip_range=$4 - subnet_id=$(openstack subnet create --project ${project_id} --ip-version 4 --subnet-range ${ip_range} --gateway none --network ${net_id} $name -c id -f value) + subnet_id=$(openstack subnet create --project ${project_id} --ip-version 4 --subnet-range ${ip_range} --gateway none --dns-nameserver 8.8.8.8 --network ${net_id} $name -c id -f value) die_if_not_set $LINENO subnet_id "Failed to create private IPv4 subnet for network: ${net_id}, project: ${project_id}" echo $subnet_id } |