Change bootstrapping series back to xenial. 43/8943/2
authorDavid Garcia <david.garcia@canonical.com>
Mon, 18 May 2020 16:20:43 +0000 (18:20 +0200)
committerbeierlm <mark.beierl@canonical.com>
Wed, 20 May 2020 14:53:16 +0000 (16:53 +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>
(cherry picked from commit 7ca1ec63172ee3e98ce9ad56bc925b90ef771b49)

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"
 }