Change bootstrapping series back to xenial. 35/8935/2 v7.1.0rc1
authorDavid Garcia <david.garcia@canonical.com>
Mon, 18 May 2020 16:20:43 +0000 (18:20 +0200)
committerbeierlm <mark.beierl@canonical.com>
Mon, 18 May 2020 17:34:29 +0000 (19:34 +0200)
This is a temporary fix. Jenkins slave can't bootstrap a bionic series right now.

Change-Id: I28da224c093a102a964f15bcbd7fadfca771b9af
Signed-off-by: David Garcia <david.garcia@canonical.com>
installers/full_install_osm.sh

index f44664a..eaf79d7 100755 (executable)
@@ -395,7 +395,7 @@ function juju_createcontroller() {
     if ! juju show-controller $OSM_STACK_NAME &> /dev/null; then
         # Not found created, create the controller
         sudo usermod -a -G lxd ${USER}
-    sg lxd -c "juju bootstrap $OSM_VCA_CLOUDNAME $OSM_STACK_NAME"
+        sg lxd -c "juju bootstrap --bootstrap-series=xenial $OSM_VCA_CLOUDNAME $OSM_STACK_NAME"
     fi
     [ $(juju controllers | awk "/^${OSM_STACK_NAME}[\*| ]/{print $1}"|wc -l) -eq 1 ] || FATAL "Juju installation failed"
 }