Validate all resource properties

Change-Id: Ib0346fd22636d3eae31c688426b966f07acda19c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add U10 JEOS support to heat jeos_create

This requires oz 0.9.0 (or latest master).  0.8.0 shipped with
most distros does not have customization support for Ubuntu
images.

fixes issue #23

Change-Id: I854aaf9657353b3fdb4768a277b527304e88ac8e
Signed-off-by: Steven Dake <sdake@redhat.com>
Make i386 cfntools jeos work

was expectin cfg-* instead of cfn-*

Change-Id: I6234829d92a33e8bd4a8fab246ded2c1a43afc55
Signed-off-by: Steven Dake <sdake@redhat.com>
Changes to checkeddict for tuples and required
Allow login to U10 jeos launched from heat

cloudinit on debian expects the user "ubuntu" - hard code to ec2-user
useradd doesn't create home directories on U10 without -m option

Change-Id: Iaaee6df560b60e203b17a36bba57ac410ad6ed56
Signed-off-by: Steven Dake <sdake@redhat.com>
Merge "Changes to checkeddict for tuples and required"
Fix jeos_path when not intalled as an egg

Also use os.path.join() to sort out trailing "/"

Change-Id: I212cffacc018f456894e9b7921fef75256edcf45
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add missing "properties_schema" to WaitConditionHandle

Change-Id: I475ac4f72613a2f20275949a01168246cae1fb52
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add the basic cloudwatch feature

Fix watch db tables and silly programming errors.
get basic posting data to metadata server working
add watch_rule_get_all()
check for alarms in a periodic task
delete watch_data when the rule is deleted
add a last_evaluated field to the watch_rule
remove unused option to watch_data_get
take better account of the sample period.
- still much to be done here (evaluation periods).
add some useful stats to cfn-push-stats
fix how the metric is accessed
fix a divide by zero

Change-Id: Iaf98499d0e3ac6d6f951ea38b3b0f409669258da
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
cloudwatch: set HA template to send watch data

The Wordpress HA template is now able to utilize the cfn-push-stats and send
alarm messages to the metadata server.

Change-Id: I52b615d3401dc2665e2b30e4a925d61ed204c827
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
Add missing flags to enable working with RabbitMQ

Note: rpc_backend=heat.rpc.impl_kombu must be set in both heat-api.conf
and heat-engine.conf.

Change-Id: Ia7f5af8805240381f28ecae1efc0a677155f898e
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
Change the policies for User to TuplesList

Change-Id: I105071135a6b20a414c2f4016ca3a8312a4ee2a2
Changed SecurityGroups property type to TuplesList

Change-Id: I31d97b0de6e72bd24f0f78d86890726fc1e8a138
Merge changes I475ac4f7,I212cffac

* changes:
  Add missing "properties_schema" to WaitConditionHandle
  Fix jeos_path when not intalled as an egg
Merge changes I31d97b0d,I10507113

* changes:
  Changed SecurityGroups property type to TuplesList
  Change the policies for User to TuplesList
Authentication Overhaul

This patch updates the authentication system set up in heat:

- We now authenticate against the 'heat' service at the entry
  point to each api call in the engine.
- We are now using the 'Context' class to contain the authentication
  information as intended.
- The two context classes are unified and we now use the same one
  for both WSGI and RPC.  This is the intended design as the
  context is loaded by the WSGI middleware and then passed into the
  RPC methods.
- We are now doing token authentication in the API that works with
  both native keystone and AWS style authentication.  That token is
  then passed on to the engine for further authentication for various
  endpoints.

Note that the heat-api-paste.ini file requires updating in order for
this to work on your system.  Admin user and password must be set
properly in the authtoken section in order to perform token based
authentication.

I suspect there will be a few bugs in here yet.  This is just part of
the authentication/identification changes we need to make but I wanted
to get this in so we could continue to work with a boto based client.

Change-Id: Ib635ecd3088304e8d51d8e1fc31a8b1bf751caf3
Signed-off-by: Ian Main <imain@redhat.com>
Add a name to the checkeddict to improve the error messages

Change-Id: I11edc3bce77cd84d0393d6d95c6733b7901f95a1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add instance restarter

Change-Id: I8ef28efc7d86a1a3a44f4784cb496c415a14f95c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Set stack's `updated_at` time

Fixes #126

Change-Id: Ie7abe6c3385632138671cb0b7f12dfa33e69bae0
Fix auth failed exception handler

This patch fixes the auth failed exception handler so that we
get back a meaningful result when authentication fails.

Change-Id: I2f37daed3890fd685fa6f701938b675460e76b0c
Signed-off-by: Ian Main <imain@redhat.com>