From e3cb9ba10878dcf5f310230ee24e2f83fd749251 Mon Sep 17 00:00:00 2001 From: Sebastian Rieger Date: Wed, 8 May 2019 11:27:46 +0200 Subject: [PATCH] fixed userdata, thanks again to Stefan ;) --- demo4-scale-out.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/demo4-scale-out.py b/demo4-scale-out.py index 98a9fb1..8e907bb 100644 --- a/demo4-scale-out.py +++ b/demo4-scale-out.py @@ -214,9 +214,18 @@ def main(): # ########################################################################### + # https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh + # is currently broken, hence the "rabbitctl" lines were added in the example + # below, see also https://bugs.launchpad.net/faafo/+bug/1679710 + # + # Thanks to Stefan Friedmann for finding this fix ;) + userdata = '''#!/usr/bin/env bash curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \ -i database -i messaging + rabbitmqctl add_user faafo guest + rabbitmqctl set_user_tags faafo administrator + rabbitmqctl set_permissions -p / faafo ".*" ".*" ".*" ''' print('Starting new app-services instance and wait until it is running...')