[CORD-1608]
Fix DNS and ansible timeout issues when building docker images
Change-Id: I549387d458c280ac769e9c3a06a5e035457c0815
diff --git a/scenarios/opencloud/config.yml b/scenarios/opencloud/config.yml
index f705289..e9a6a79 100644
--- a/scenarios/opencloud/config.yml
+++ b/scenarios/opencloud/config.yml
@@ -16,6 +16,7 @@
# Make build config
build_targets:
+ - onos-debug
- onboard-openstack
vagrant_up_prereqs:
@@ -36,6 +37,10 @@
prep_headnode_prereqs:
- prep-buildnode
+# Wait until headnode prepped before building containers, for consistent DNS
+docker_images_prereqs:
+ - prep-headnode
+
# Start elasticstack before XOS/ONOS, which log to it
start_xos_prereqs:
- deploy-elasticstack
@@ -50,14 +55,15 @@
aliases:
- head
- name: compute1
- ipv4_last_octet: 20
+ ipv4_last_octet: 250
- name: compute2
- ipv4_last_octet: 21
+ ipv4_last_octet: 251
# Vagrant VM configuration
vagrant_vms:
- head1
- compute1
+ - compute2
head_vm_mem: 16384
head_vm_cpu: 8
@@ -114,4 +120,5 @@
compute:
compute1:
+ compute2: