]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
13 years agoUpdate heat-api docstring
Tomas Sedovic [Fri, 27 Apr 2012 13:25:50 +0000 (15:25 +0200)]
Update heat-api docstring

13 years agomore pep fixups.
Angus Salkeld [Fri, 27 Apr 2012 03:12:33 +0000 (13:12 +1000)]
more pep fixups.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd cfn-get-metadata make all cfn tools more consistent
Angus Salkeld [Fri, 27 Apr 2012 03:02:58 +0000 (13:02 +1000)]
Add cfn-get-metadata make all cfn tools more consistent

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoopenstack-common: timeutils and importutils seperated out
Angus Salkeld [Fri, 27 Apr 2012 00:21:43 +0000 (10:21 +1000)]
openstack-common: timeutils and importutils seperated out

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoopenstack-common: update cfg.py
Angus Salkeld [Thu, 26 Apr 2012 22:28:55 +0000 (08:28 +1000)]
openstack-common: update cfg.py

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMove jeos_create into utils so it can be imported
Jeff Peeler [Thu, 26 Apr 2012 20:51:00 +0000 (16:51 -0400)]
Move jeos_create into utils so it can be imported

The main reason for this move is so that jeos_create can be tested with
the aide of Mox.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoPut Starting Heat API in log file and add logging setup to bin/heat-api
Steven Dake [Thu, 26 Apr 2012 18:02:15 +0000 (11:02 -0700)]
Put Starting Heat API in log file and add logging setup to bin/heat-api

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove stray print debug message
Steven Dake [Thu, 26 Apr 2012 17:55:23 +0000 (10:55 -0700)]
Remove stray print debug message

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoQuiet down the QPID logging since it isn't helpful and makes logs hard to read
Steven Dake [Thu, 26 Apr 2012 17:49:10 +0000 (10:49 -0700)]
Quiet down the QPID logging since it isn't helpful and makes logs hard to read

Should likely be removed later, but for the moment, logs readable without
grep now.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoKill prints and replace with LOG in heat/rpc/__init__.py
Steven Dake [Thu, 26 Apr 2012 17:29:26 +0000 (10:29 -0700)]
Kill prints and replace with LOG in heat/rpc/__init__.py

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoStub out system calls in metadata_files test
Tomas Sedovic [Thu, 26 Apr 2012 15:29:42 +0000 (17:29 +0200)]
Stub out system calls in metadata_files test

Since CommandRunner now honours `runas`, the tests would have to be run as root
for the commands to succeed.

13 years agoImplement runas for cfn-hup
Tomas Sedovic [Thu, 26 Apr 2012 15:27:25 +0000 (17:27 +0200)]
Implement runas for cfn-hup

As a side effect, this fixes #109. By running everything through `su -c`, all
the piping and redirection issues are outsourced there.

13 years agoAdd test artifacts to gitignore
Angus Salkeld [Thu, 26 Apr 2012 14:32:15 +0000 (00:32 +1000)]
Add test artifacts to gitignore

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMerge branch 'ha'
Angus Salkeld [Thu, 26 Apr 2012 14:22:24 +0000 (00:22 +1000)]
Merge branch 'ha'

Conflicts:
heat/db/sqlalchemy/session.py

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoHandle cfn-hup non-value parameters
Angus Salkeld [Thu, 26 Apr 2012 14:05:59 +0000 (00:05 +1000)]
Handle cfn-hup non-value parameters

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMoving db error wrapping into heat session to avoid a nova import
Chris Alfonso [Thu, 26 Apr 2012 13:33:01 +0000 (09:33 -0400)]
Moving db error wrapping into heat session to avoid a nova import

13 years agoAdd an easier way to update the cfn scripts
Angus Salkeld [Thu, 26 Apr 2012 13:16:59 +0000 (23:16 +1000)]
Add an easier way to update the cfn scripts

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix up the template - some scripts not right.
Angus Salkeld [Thu, 26 Apr 2012 13:16:25 +0000 (23:16 +1000)]
Fix up the template - some scripts not right.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the cfn logging
Angus Salkeld [Thu, 26 Apr 2012 13:15:39 +0000 (23:15 +1000)]
Fix the cfn logging

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix userdata mime creation
Angus Salkeld [Thu, 26 Apr 2012 12:51:38 +0000 (22:51 +1000)]
Fix userdata mime creation

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix userdata mime creation
Angus Salkeld [Thu, 26 Apr 2012 12:51:38 +0000 (22:51 +1000)]
Fix userdata mime creation

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a real creds file for the cfn-hup config tests
Angus Salkeld [Thu, 26 Apr 2012 11:46:02 +0000 (21:46 +1000)]
Add a real creds file for the cfn-hup config tests

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRe-add the file logging to cfn tools.
Angus Salkeld [Thu, 26 Apr 2012 11:45:01 +0000 (21:45 +1000)]
Re-add the file logging to cfn tools.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMake sure AWS::StackName is avaliable
Angus Salkeld [Thu, 26 Apr 2012 07:01:38 +0000 (17:01 +1000)]
Make sure AWS::StackName is avaliable

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd cfn-hup config into template
Angus Salkeld [Thu, 26 Apr 2012 07:01:13 +0000 (17:01 +1000)]
Add cfn-hup config into template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoCopy the single inst. wordpress template to With_HA
Angus Salkeld [Thu, 26 Apr 2012 04:13:56 +0000 (14:13 +1000)]
Copy the single inst. wordpress template to With_HA

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoremoving import of common config because it needs credentials
Chris Alfonso [Tue, 24 Apr 2012 21:08:36 +0000 (17:08 -0400)]
removing import of common config because it needs credentials

13 years agoAdding the nova.exeption import to fix the tree
Chris Alfonso [Tue, 24 Apr 2012 20:53:31 +0000 (16:53 -0400)]
Adding the nova.exeption import to fix the tree

13 years agoAdd file support to cfn-init
Angus Salkeld [Thu, 26 Apr 2012 04:07:12 +0000 (14:07 +1000)]
Add file support to cfn-init

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdding instance delete test
Chris Alfonso [Wed, 25 Apr 2012 14:46:27 +0000 (10:46 -0400)]
Adding instance  delete test

13 years agoLog when cfn-hup couldn't restart a service
Tomas Sedovic [Wed, 25 Apr 2012 14:34:59 +0000 (16:34 +0200)]
Log when cfn-hup couldn't restart a service

`service.restarted` hooks are not run when the restart failed.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoputting python-novaclient back in pip requires
Chris Alfonso [Wed, 25 Apr 2012 13:42:28 +0000 (09:42 -0400)]
putting python-novaclient back in pip requires

13 years agoRemoving nova from pip requires
Chris Alfonso [Wed, 25 Apr 2012 13:39:39 +0000 (09:39 -0400)]
Removing nova from pip requires

13 years agoMake heat-db-setup generic enough to run on RPM or DEB distributions
Steven Dake [Tue, 24 Apr 2012 22:29:08 +0000 (15:29 -0700)]
Make heat-db-setup generic enough to run on RPM or DEB distributions

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdding the nova module to the pip-requires
Chris Alfonso [Tue, 24 Apr 2012 21:32:17 +0000 (17:32 -0400)]
Adding the nova module to the pip-requires

13 years agoremoving import of common config because it needs credentials
Chris Alfonso [Tue, 24 Apr 2012 21:08:36 +0000 (17:08 -0400)]
removing import of common config because it needs credentials

13 years agoAdding the nova.exeption import to fix the tree
Chris Alfonso [Tue, 24 Apr 2012 20:53:31 +0000 (16:53 -0400)]
Adding the nova.exeption import to fix the tree

13 years agoUse pip package name, not the RPM one
Jeff Peeler [Tue, 24 Apr 2012 18:48:38 +0000 (14:48 -0400)]
Use pip package name, not the RPM one

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoUpdate virtual-env requires and documentation
Jeff Peeler [Tue, 24 Apr 2012 18:17:40 +0000 (14:17 -0400)]
Update virtual-env requires and documentation

Document the necessitity to keep tools/*-requires up to date and add
missing dependency.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoMake cfn-hup configuration handling closer to aws
Tomas Sedovic [Tue, 24 Apr 2012 14:41:35 +0000 (16:41 +0200)]
Make cfn-hup configuration handling closer to aws

We now enforce the presence of the [main] configuration section, check that the
credentials file exists and ensure that there is at least one hook defined.

13 years agoBetter error messages for cfn-hup configuration
Tomas Sedovic [Tue, 24 Apr 2012 12:56:15 +0000 (14:56 +0200)]
Better error messages for cfn-hup configuration

13 years agomore work on cfn-hup
Angus Salkeld [Tue, 24 Apr 2012 03:57:51 +0000 (13:57 +1000)]
more work on cfn-hup

- correct the default config files
- seperate out the monitoring of services

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMerge remote-tracking branch 'origin/master' into ha
Angus Salkeld [Tue, 24 Apr 2012 00:34:38 +0000 (10:34 +1000)]
Merge remote-tracking branch 'origin/master' into ha

13 years agoAdd test case for boolean.
Angus Salkeld [Tue, 24 Apr 2012 00:32:58 +0000 (10:32 +1000)]
Add test case for boolean.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAssert the instance auto increment on the id worked
Chris Alfonso [Mon, 23 Apr 2012 20:37:09 +0000 (16:37 -0400)]
Assert the instance auto increment on the id worked

13 years agoRemoving the run_tests.py, was replaced by heat/testing/runner.py
Chris Alfonso [Mon, 23 Apr 2012 18:47:44 +0000 (14:47 -0400)]
Removing the run_tests.py, was replaced by heat/testing/runner.py

13 years agoChanging version scheme to just major
Chris Alfonso [Mon, 23 Apr 2012 18:46:49 +0000 (14:46 -0400)]
Changing version scheme to just major

13 years agoMerge branch 'resource_unit_tests'
Chris Alfonso [Mon, 23 Apr 2012 13:26:57 +0000 (09:26 -0400)]
Merge branch 'resource_unit_tests'

13 years agoAdding instance creation test
Chris Alfonso [Thu, 19 Apr 2012 23:24:28 +0000 (19:24 -0400)]
Adding instance creation test

Signed-off-by: Chris Alfonso <calfonso@redhat.com>
13 years agoFix `to_boolean` in cfn_helper
Tomas Sedovic [Mon, 23 Apr 2012 13:10:33 +0000 (15:10 +0200)]
Fix `to_boolean` in cfn_helper

The lowercase conversion and striping whitespace from strings was being ignored.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoTry and keep track of the stack status.
Angus Salkeld [Mon, 23 Apr 2012 12:59:27 +0000 (22:59 +1000)]
Try and keep track of the stack status.

Ref: #93

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdded db setup and teardown with sqlite
Chris Alfonso [Thu, 19 Apr 2012 22:10:20 +0000 (18:10 -0400)]
Added db setup and teardown with sqlite

13 years agoAdding unit test for instance creation
Chris Alfonso [Wed, 18 Apr 2012 13:03:17 +0000 (09:03 -0400)]
Adding unit test for instance creation

13 years agoAdding resource initialization test
Chris Alfonso [Tue, 17 Apr 2012 19:55:36 +0000 (15:55 -0400)]
Adding resource initialization test

13 years agoAdding instance creation test
Chris Alfonso [Thu, 19 Apr 2012 23:24:28 +0000 (19:24 -0400)]
Adding instance creation test

13 years agoAdded db setup and teardown with sqlite
Chris Alfonso [Thu, 19 Apr 2012 22:10:20 +0000 (18:10 -0400)]
Added db setup and teardown with sqlite

13 years agoAdding unit test for instance creation
Chris Alfonso [Wed, 18 Apr 2012 13:03:17 +0000 (09:03 -0400)]
Adding unit test for instance creation

13 years agoAdding resource initialization test
Chris Alfonso [Tue, 17 Apr 2012 19:55:36 +0000 (15:55 -0400)]
Adding resource initialization test

13 years agoInitial cfn-hup (wip)
Angus Salkeld [Mon, 23 Apr 2012 09:54:11 +0000 (19:54 +1000)]
Initial cfn-hup (wip)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMove common cfn code into cfn_helper.py
Angus Salkeld [Mon, 23 Apr 2012 03:08:32 +0000 (13:08 +1000)]
Move common cfn code into cfn_helper.py

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix more pep8 errors.
Angus Salkeld [Mon, 23 Apr 2012 02:04:46 +0000 (12:04 +1000)]
Fix more pep8 errors.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdate version to v3
Steven Dake [Mon, 23 Apr 2012 01:39:11 +0000 (18:39 -0700)]
Update version to v3

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoWordpress 2 instance with EBS and EIP
Steven Dake [Fri, 20 Apr 2012 21:48:59 +0000 (14:48 -0700)]
Wordpress 2 instance with EBS and EIP

srs.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoheat cli : Add bash_completion.d entry for heat
Steven Hardy [Fri, 20 Apr 2012 19:54:04 +0000 (20:54 +0100)]
heat cli : Add bash_completion.d entry for heat

issue #87 Adds basic bash smart-complete script for heat to bash_completion.d

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoheat cli: Use python logging module
Steven Hardy [Fri, 20 Apr 2012 19:42:29 +0000 (20:42 +0100)]
heat cli: Use python logging module

Issue #88 : Adds support for logging via the python logging module

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoFix another print -> logger.warn.
Ian Main [Fri, 20 Apr 2012 18:49:13 +0000 (11:49 -0700)]
Fix another print -> logger.warn.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoresources.py had a bunch of print's in it.
Ian Main [Fri, 20 Apr 2012 18:45:07 +0000 (11:45 -0700)]
resources.py had a bunch of print's in it.

This patch removes all the print statements and puts in proper logging
statements.  Some of these (db tracebacks) are now logged as warnings.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoAdd an exception around EIP fetching.
Ian Main [Fri, 20 Apr 2012 18:38:59 +0000 (11:38 -0700)]
Add an exception around EIP fetching.

I was getting a traceback here causing the whole 'heat describe' to
return an error when really it was just the one aspect failing.  Use
try/rescue and log a warning.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix a typo in the command line help.
Ian Main [Fri, 20 Apr 2012 18:07:36 +0000 (11:07 -0700)]
Fix a typo in the command line help.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoUse v1 / v2 / v3 for version numbers to match tags
Steven Dake [Fri, 20 Apr 2012 17:43:18 +0000 (10:43 -0700)]
Use v1 / v2 / v3 for version numbers to match tags

In the next several months since we wont be supporting maintenance releases,
Just use v1/v2/v3/v4 for releases to match our tags.

We can switch to an x.y.z or openstack style versioning when appropriate

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoSet proper author and mailing list in setup.py
Steven Dake [Fri, 20 Apr 2012 17:36:18 +0000 (10:36 -0700)]
Set proper author and mailing list in setup.py

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove BUILDING.rst since there is no building taking place inside project
Steven Dake [Fri, 20 Apr 2012 17:31:39 +0000 (10:31 -0700)]
Remove BUILDING.rst since there is no building taking place inside project

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove rpm spec file and Makefile. Will track packaging in a different repo
Steven Dake [Fri, 20 Apr 2012 17:29:51 +0000 (10:29 -0700)]
Remove rpm spec file and Makefile.  Will track packaging in a different repo

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove tito - likely track this in a different repo
Steven Dake [Fri, 20 Apr 2012 17:28:55 +0000 (10:28 -0700)]
Remove tito - likely track this in a different repo

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix the EIP cleanup
Tomas Sedovic [Thu, 19 Apr 2012 16:23:56 +0000 (18:23 +0200)]
Fix the EIP cleanup

Fixes #69

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoAdd documentation for the per command CLI help options.
Ian Main [Wed, 18 Apr 2012 20:25:44 +0000 (13:25 -0700)]
Add documentation for the per command CLI help options.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoheat, heat-api: Add missing licence to header
Steven Hardy [Wed, 18 Apr 2012 19:47:03 +0000 (20:47 +0100)]
heat, heat-api: Add missing licence to header

Adds missing licence header to heat and heat-api

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoRemove rootpw from tdls and add ec2-user to sudoers file
Jeff Peeler [Wed, 18 Apr 2012 19:17:51 +0000 (15:17 -0400)]
Remove rootpw from tdls and add ec2-user to sudoers file

Fixes #72
Fixes #73

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoDeleting parsed and raw template when deleting stacks
Chris Alfonso [Wed, 18 Apr 2012 16:29:52 +0000 (12:29 -0400)]
Deleting parsed and raw template when deleting stacks

13 years agoA little more detail on network create.
Ian Main [Wed, 18 Apr 2012 15:53:54 +0000 (08:53 -0700)]
A little more detail on network create.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix the test environment
Tomas Sedovic [Wed, 18 Apr 2012 09:29:48 +0000 (11:29 +0200)]
Fix the test environment

Made sure that `run_tests.sh` works properly (it was failing on the heat/bin
directory) and that all tests pass and the generated logs are .gitignored.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoFix another template attribute in the output section
Angus Salkeld [Wed, 18 Apr 2012 06:16:32 +0000 (16:16 +1000)]
Fix another template attribute in the output section

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse the correct api to get the volume object.
Angus Salkeld [Wed, 18 Apr 2012 06:15:47 +0000 (16:15 +1000)]
Use the correct api to get the volume object.

It must be volume not nova. But nova is used for the attachment.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSave the resource if complete or failed
Angus Salkeld [Wed, 18 Apr 2012 06:14:24 +0000 (16:14 +1000)]
Save the resource if complete or failed

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the delete of a volume attach when the create partially succeeded
Angus Salkeld [Wed, 18 Apr 2012 05:47:21 +0000 (15:47 +1000)]
Fix the delete of a volume attach when the create partially succeeded

Fixes #70

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoTo properly populate the output section.
Angus Salkeld [Wed, 18 Apr 2012 05:08:47 +0000 (15:08 +1000)]
To properly populate the output section.

We need to get ipaddresses which are lost as they are
not stored in the template so we need to retrieve them
at runtime.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse the instance_id for the event "physical_resource_id"
Angus Salkeld [Wed, 18 Apr 2012 04:45:22 +0000 (14:45 +1000)]
Use the instance_id for the event "physical_resource_id"

Just to provide a bit more info.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the output attribute in single instance wp template
Angus Salkeld [Wed, 18 Apr 2012 04:44:08 +0000 (14:44 +1000)]
Fix the output attribute in single instance wp template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSave the parsed_template so user parameters are available.
Angus Salkeld [Wed, 18 Apr 2012 04:43:18 +0000 (14:43 +1000)]
Save the parsed_template so user parameters are available.

This caused parsing errors when deleting, as required
references were not available.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the parsed_template columns (missing created_at and updated_at)
Angus Salkeld [Wed, 18 Apr 2012 04:02:25 +0000 (14:02 +1000)]
Fix the parsed_template columns (missing created_at and updated_at)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the version file (don't import glance's git commit)
Angus Salkeld [Wed, 18 Apr 2012 02:25:16 +0000 (12:25 +1000)]
Fix the version file (don't import glance's git commit)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd WordPress_Single_Instance_With_EBS_EIP.template
Steven Dake [Tue, 17 Apr 2012 17:12:04 +0000 (10:12 -0700)]
Add WordPress_Single_Instance_With_EBS_EIP.template

This template uses EBS, EIP, security groups in a single instance.
Unfortunately because of issue #83 the template doesn't fully start.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRename EBS_Volume to just EBS to pave way for EBS_EIP
Steven Dake [Tue, 17 Apr 2012 16:36:31 +0000 (09:36 -0700)]
Rename EBS_Volume to just EBS to pave way for EBS_EIP

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMake WordPress_Single_Instance_With_EIP.template work
Steven Dake [Tue, 17 Apr 2012 16:30:21 +0000 (09:30 -0700)]
Make WordPress_Single_Instance_With_EIP.template work

Note I receive an exception in engine.log:
ClientException: Associate floating ip failed (HTTP 500)

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoInitialize sec to None to avoid exception in security group
Steven Dake [Tue, 17 Apr 2012 16:06:16 +0000 (09:06 -0700)]
Initialize sec to None to avoid exception in security group

When an existing security group is not found in nova, heat will trigger
an exception and the stack won't be created.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix invalid JSON in template
Zane Bitter [Tue, 17 Apr 2012 16:04:04 +0000 (18:04 +0200)]
Fix invalid JSON in template

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoStore all event data in DB
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Store all event data in DB

Fixes #64

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoRemove hard-coded paths from DB setup script
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Remove hard-coded paths from DB setup script

Since versions of heat can and will change, we do not want want them
hard-coded in the DB setup script. Instead, use the Python import logic to
determine the location of the module.

This will use the local copy of heat (which is usually what you want) if
run from the top level of the repository. Otherwise it will use the
installed version, as determined by Python.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoAvoid printing exception in db-setup
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Avoid printing exception in db-setup

If the db-setup is run multiple times without dropping the database, the
attempt to set up version control again causes an exception. Since this is
an expected condition, just print a message and exit normally.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoHandle exception on Ctrl-C
root [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Handle exception on Ctrl-C

Signed-off-by: Zane Bitter <zbitter@redhat.com>