Replace stackforge name with openstack
All projects moved the week of Oct 12. Change-Id: I62b7accfbe24823ddfa803298067da3e27526631
This commit is contained in:
parent
1f708a8ff7
commit
f6a614ec48
@ -99,7 +99,7 @@ end
|
|||||||
|
|
||||||
# step-11
|
# step-11
|
||||||
userdata = "#!/usr/bin/env bash
|
userdata = "#!/usr/bin/env bash
|
||||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh \
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh \
|
||||||
| bash -s -- \ -i faafo -i messaging -r api -r worker -r demo"
|
| bash -s -- \ -i faafo -i messaging -r api -r worker -r demo"
|
||||||
|
|
||||||
# step-12
|
# step-12
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# step-1
|
# step-1
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
|
|
||||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i faafo -i messaging -r api -r worker -r demo
|
-i faafo -i messaging -r api -r worker -r demo
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ testing_instance = conn.create_server(wait=True, auto_ip=False,
|
|||||||
# step-2
|
# step-2
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
|
|
||||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i faafo -i messaging -r api -r worker -r demo
|
-i faafo -i messaging -r api -r worker -r demo
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ conn.create_security_group_rule(controller_group['name'], 80, 80, 'TCP')
|
|||||||
conn.create_security_group_rule(controller_group['name'], 5672, 5672, 'TCP', remote_group_id=worker_group['id'])
|
conn.create_security_group_rule(controller_group['name'], 5672, 5672, 'TCP', remote_group_id=worker_group['id'])
|
||||||
|
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i messaging -i faafo -r api
|
-i messaging -i faafo -r api
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ else:
|
|||||||
ip_controller = conn.get_server_private_ip(instance_controller_1)
|
ip_controller = conn.get_server_private_ip(instance_controller_1)
|
||||||
|
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i faafo -r worker -e 'http://%(ip_controller)s' -m 'amqp://guest:guest@%(ip_controller)s:5672/'
|
-i faafo -r worker -e 'http://%(ip_controller)s' -m 'amqp://guest:guest@%(ip_controller)s:5672/'
|
||||||
''' % {'ip_controller': ip_controller}
|
''' % {'ip_controller': ip_controller}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ def get_floating_ip(conn):
|
|||||||
|
|
||||||
# step-4
|
# step-4
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i database -i messaging
|
-i database -i messaging
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ services_ip = conn.get_server_private_ip(instance_services)
|
|||||||
|
|
||||||
# step-5
|
# step-5
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i faafo -r api -m 'amqp://guest:guest@%(services_ip)s:5672/' \
|
-i faafo -r api -m 'amqp://guest:guest@%(services_ip)s:5672/' \
|
||||||
-d 'mysql+pymysql://faafo:password@%(services_ip)s:3306/faafo'
|
-d 'mysql+pymysql://faafo:password@%(services_ip)s:3306/faafo'
|
||||||
''' % { 'services_ip': services_ip }
|
''' % { 'services_ip': services_ip }
|
||||||
@ -76,7 +76,7 @@ for instance in [instance_api_1, instance_api_2]:
|
|||||||
|
|
||||||
# step-6
|
# step-6
|
||||||
userdata = '''#!/usr/bin/env bash
|
userdata = '''#!/usr/bin/env bash
|
||||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||||
-i faafo -r worker -e 'http://%(api_1_ip)s' -m 'amqp://guest:guest@%(services_ip)s:5672/'
|
-i faafo -r worker -e 'http://%(api_1_ip)s' -m 'amqp://guest:guest@%(services_ip)s:5672/'
|
||||||
''' % {'api_1_ip': api_1_ip, 'services_ip': services_ip}
|
''' % {'api_1_ip': api_1_ip, 'services_ip': services_ip}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user