Use built-in exception filtering for GreenletExit

Python handles this natively.

Change-Id: I440b87112826f44f4c9c3b4bbdd161d2e202341b
heat docs : Add 2013 to the copyright string

Change-Id: I0c86ccfd7232396d1fc6883b37adc2d5b877d19c
part-handler: add missing import

errno is used in the excption but not imported.

bug 1154887
Change-Id: I1c2961f08824d919ed2483a0a9cf54c50862f354
loguserdata: prevent shadowing of arguments and globals

cleaning this up for bug 1154641

Change-Id: I95271bdeba1bba29e78af79de4e2173d07750e4f
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
loguserdata: handle exceptions from running the userdata

- log the exceptions so the user can diagnose issues.

bug 1154641
Change-Id: Ic085c9f062255a9fa44b3e31b464c9ebd19a947c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Remove ssh from cloud-config-files

the cc_ssh script already executes in cloud config without being
explicitly called.  As it is now, it is executing twice.

Make it execute only once.

Change-Id: I2d53adbea0175f63db71be516639d40aa0f8a1de
Merge "loguserdata: prevent shadowing of arguments and globals"
Allow per-deployment configuration of user id

Previously user ids of new instances were limited to ec2-user.
This patch adds a new configuration option to be placed in
/etc/heat/heat-engine.conf called "default_instance_user" which
allows the default of ec2-user to be overriden.

Note for reviewers that runcmd does not work properly.  It was
actually running after the loguserdata.py script finished execution.

Fixes: Bug #1101347
Change-Id: Ica2dbe63d9dcbce8bb8de298eba452c34ab173d9
Sort the manual page list in conf.py

Change-Id: I81c193c23a3b78cb98d54157a486bf15dc3ab979
Fixes: Bug #1153691
Merge "Remove ssh from cloud-config-files"
Merge "Allow per-deployment configuration of user id"
Merge "loguserdata: handle exceptions from running the userdata"
Merge "part-handler: add missing import"
Add heat-keystone-setup man page

Change-Id: I314ce01d35d65e3b50b72d2abaf51710b8461da7
Fixes: Bug #1153693
Add a manual page for heat-db-setup

Change-Id: I628d9e1295238b0bc405fc6ccb464889b85090e0
Fixes: Bug #1153691
Merge "Use built-in exception filtering for GreenletExit"
Merge "Add a manual page for heat-db-setup"
Merge "heat docs : Add 2013 to the copyright string"
If a stack create fails, ensure the stack is deleteable

The resource delete operation attempts to delete CREATE_FAILED
resources.  Further it attempts to delete resources that were
not created during a creation operation because further processing
of the template does not take place.

This patch special cases these two conditions in the delete operation.

Change-Id: I1c83ba68754f38a0f7e91e77fcf02177c457504e
Fixes: Bug #1155824
Create a wsgi factory method for Debug filter.

This can be enabled by putting the following in the *-paste.ini
file:
[filter:debug]
paste.filter_factory = heat.common.wsgi:filter_factory
heat.filter_factory = heat.common.wsgi:debug_filter

and adding 'debug' to the pipeline.

This assisted with bug #1133792

Change-Id: I4c2d3194ac9673d095b4115d4b6f385fd2f4fa4e