]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Configure standalone pipelines for cfn and cloudwatch.
authorSteve Baker <sbaker@redhat.com>
Fri, 19 Jul 2013 02:38:13 +0000 (14:38 +1200)
committerSteve Baker <sbaker@redhat.com>
Fri, 19 Jul 2013 02:38:13 +0000 (14:38 +1200)
This allows waitconditions and cloud watch data to authenticate
using just the ec2token middleware. Stacks have been successfully launched
with a standalone heat onto an external grizzly openstack, including working
waitconditions and watch data.

This means that currently when in standalone mode, heat-cfn cannot
authenticate since it defaults to auth strategy keystone (and it appears
that auth strategy ec2 signing has not been implemented yet). This case
is sufficiently obscure that it most likely won't affect anyone at this
stage.

Implements blueprint heat-standalone

Change-Id: I7d096b11e70c234d0b2322c93bf5f4d4e6b01b4f

etc/heat/api-paste.ini
etc/heat/heat-api-cfn.conf
etc/heat/heat-api-cloudwatch.conf

index 8afcd66bd0bf6c60921705f95d82433674d5e604..72e5e579a45cf55a19ea935a488f710c1be69b32 100644 (file)
@@ -26,10 +26,20 @@ pipeline = versionnegotiation context custombackendauth apiv1app
 [pipeline:heat-api-cfn]
 pipeline = cfnversionnegotiation ec2authtoken authtoken context apicfnv1app
 
+# heat-api-cfn pipeline for standalone heat
+# relies exclusively on authenticating with ec2 signed requests
+[pipeline:heat-api-cfn-standalone]
+pipeline = cfnversionnegotiation ec2authtoken context apicfnv1app
+
 # heat-api-cloudwatch pipeline
 [pipeline:heat-api-cloudwatch]
 pipeline = versionnegotiation ec2authtoken authtoken context apicwapp
 
+# heat-api-cloudwatch pipeline for standalone heat
+# relies exclusively on authenticating with ec2 signed requests
+[pipeline:heat-api-cloudwatch-standalone]
+pipeline = versionnegotiation ec2authtoken context apicwapp
+
 [app:apiv1app]
 paste.app_factory = heat.common.wsgi:app_factory
 heat.app_factory = heat.api.openstack.v1:API
index 06e66814f4e72a7c4e00a555d2b2ede98efd1249..35d0a21ea3c4cf692d0230c293fb4baf805103e2 100644 (file)
@@ -29,6 +29,10 @@ use_syslog = False
 
 rpc_backend=heat.openstack.common.rpc.impl_qpid
 
+# Uncomment to deploy different flavor of heat-api-cfn pipeline:
+# [paste_deploy]
+# flavor = standalone
+
 [keystone_authtoken]
 auth_host = 127.0.0.1
 auth_port = 35357
index e582631d06465ed884c54673ddb9f14062cf076a..b95b016d89dd9363e0ecc728c2950e18f5a5e2e2 100644 (file)
@@ -27,6 +27,10 @@ bind_port = 8003
 
 rpc_backend=heat.openstack.common.rpc.impl_qpid
 
+# Uncomment to deploy different flavor of heat-api-cloudwatch pipeline:
+# [paste_deploy]
+# flavor = standalone
+
 [keystone_authtoken]
 auth_host = 127.0.0.1
 auth_port = 35357