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...')