]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
13 years agoCheck errors better in resolve_attributes()
Angus Salkeld [Mon, 16 Apr 2012 00:00:39 +0000 (10:00 +1000)]
Check errors better in resolve_attributes()

Add a little more debug.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd yum-plugin-fastestmirror on F17-x86_64 cfntools image
Steven Dake [Sun, 15 Apr 2012 18:12:42 +0000 (11:12 -0700)]
Add yum-plugin-fastestmirror on F17-x86_64 cfntools image

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd yum-plugin-fastestmirror to the cfntools images
Steven Dake [Sun, 15 Apr 2012 18:10:50 +0000 (11:10 -0700)]
Add yum-plugin-fastestmirror to the cfntools images

Should speed up the downloading of packages on launch

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdate WordPress_2_Instances.template to use cfntools and cfn-init
Steven Dake [Sun, 15 Apr 2012 17:28:52 +0000 (10:28 -0700)]
Update WordPress_2_Instances.template to use cfntools and cfn-init

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoresources: remove insert_package_and_services
Steven Dake [Sat, 14 Apr 2012 16:36:33 +0000 (09:36 -0700)]
resources: remove insert_package_and_services

Now that we have cfn-init, this hackery is no longer needed

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoProperly launches a cfntools image with the appropriate userdata mime blob
Steven Dake [Sat, 14 Apr 2012 15:10:38 +0000 (08:10 -0700)]
Properly launches a cfntools image with the appropriate userdata mime blob

Note that cfn-init should be run as follows in the userdata script

/opt/aws/bin/cfn-init -f /var/lib/cloud/data/cfn-init-data

This will install the appropriate RPMS and enable them

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoCorrect path to cfninit data
Steven Dake [Sat, 14 Apr 2012 14:57:06 +0000 (07:57 -0700)]
Correct path to cfninit data

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoYet more typos in cfntools template
Steven Dake [Sat, 14 Apr 2012 14:34:08 +0000 (07:34 -0700)]
Yet more typos in cfntools template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix typo in template
Steven Dake [Sat, 14 Apr 2012 14:27:15 +0000 (07:27 -0700)]
Fix typo in template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd a cfn-init call to cfntools
Steven Dake [Sat, 14 Apr 2012 14:23:20 +0000 (07:23 -0700)]
Add a cfn-init call to cfntools

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAutomatic commit of package [heat] release [0.0.1-1].
Chris Alfonso [Sat, 14 Apr 2012 12:15:22 +0000 (08:15 -0400)]
Automatic commit of package [heat] release [0.0.1-1].

13 years agoAdding instructions on building the project with tito
Chris Alfonso [Sat, 14 Apr 2012 12:12:14 +0000 (08:12 -0400)]
Adding instructions on building the project with tito

13 years agoRemoving the PKG-INFO and vcsversion.py from the rpm
Chris Alfonso [Sat, 14 Apr 2012 11:58:27 +0000 (07:58 -0400)]
Removing the PKG-INFO and vcsversion.py from the rpm

13 years agoInitialized to use tito.
Chris Alfonso [Fri, 13 Apr 2012 20:05:40 +0000 (16:05 -0400)]
Initialized to use tito.

13 years agoAdd unit test framework nose and associated helper scripts
Jeff Peeler [Fri, 13 Apr 2012 21:10:30 +0000 (17:10 -0400)]
Add unit test framework nose and associated helper scripts

For usage documentation, refer to heat/tests/testing-overview.txt.
run_tests.sh is what runs the tests.

Fixes #44

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoDocument all methods in the EngineManager class. These ones seem important.
Ian Main [Fri, 13 Apr 2012 20:29:57 +0000 (13:29 -0700)]
Document all methods in the EngineManager class. These ones seem important.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoUpdating the heat spec to pull in cloudinit files and i386 jeos templates
Chris Alfonso [Fri, 13 Apr 2012 19:59:12 +0000 (15:59 -0400)]
Updating the heat spec to pull in cloudinit files and i386 jeos templates

13 years agorenaming CloudFormations to CloudFormation
Chris Alfonso [Fri, 13 Apr 2012 19:01:41 +0000 (15:01 -0400)]
renaming CloudFormations to CloudFormation

13 years agoHandle errors when listing events
Zane Bitter [Fri, 13 Apr 2012 15:58:23 +0000 (17:58 +0200)]
Handle errors when listing events

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoShow stack description when status is unknown
Zane Bitter [Fri, 13 Apr 2012 15:58:23 +0000 (17:58 +0200)]
Show stack description when status is unknown

Apply the same improvement that d41193cbff97caf68a5eaa5b105593af17e3339d
made for list_stacks to show_stack.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoAllow listing of all events
Zane Bitter [Fri, 13 Apr 2012 15:58:23 +0000 (17:58 +0200)]
Allow listing of all events

Make filtering by StackName optional.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoUse security groups in the multi-instance wp template
Tomas Sedovic [Fri, 13 Apr 2012 13:56:29 +0000 (15:56 +0200)]
Use security groups in the multi-instance wp template

13 years agoFix listing stacks
Tomas Sedovic [Fri, 13 Apr 2012 12:43:07 +0000 (14:43 +0200)]
Fix listing stacks

`heat list` was failing for non-empty stacks because the `Stack` model had no
`template` attribute.

Also fixed an issue where we didn't show the template description when the
stack status was unknown.

13 years agoFix the stack.delete() by populating the resource id/state from the db.
Angus Salkeld [Fri, 13 Apr 2012 10:15:23 +0000 (20:15 +1000)]
Fix the stack.delete() by populating the resource id/state from the db.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agomove the db stack delete into parser.py as it is non-blocking.
Angus Salkeld [Fri, 13 Apr 2012 10:13:09 +0000 (20:13 +1000)]
move the db stack delete into parser.py as it is non-blocking.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoCleanup db imports (use heat code, don't import nova modules)
Angus Salkeld [Fri, 13 Apr 2012 07:23:29 +0000 (17:23 +1000)]
Cleanup db imports (use heat code, don't import nova modules)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoConsistently create the db resource entry.
Angus Salkeld [Fri, 13 Apr 2012 06:25:07 +0000 (16:25 +1000)]
Consistently create the db resource entry.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd SecurityGroups to make is easier to use EIP
Angus Salkeld [Fri, 13 Apr 2012 05:26:09 +0000 (15:26 +1000)]
Add SecurityGroups to make is easier to use EIP

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoEliminate overly-broad exception catching
Zane Bitter [Fri, 13 Apr 2012 10:10:10 +0000 (12:10 +0200)]
Eliminate overly-broad exception catching

We probably don't want to catch e.g. KeyboardInterrupt in these cases.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoImprovements to DB setup
Zane Bitter [Fri, 13 Apr 2012 10:10:10 +0000 (12:10 +0200)]
Improvements to DB setup

Don't fail if the database or user already exists.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoIssue #52: Fix error in db-setup script
Zane Bitter [Fri, 13 Apr 2012 10:10:10 +0000 (12:10 +0200)]
Issue #52: Fix error in db-setup script

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoStart systemd services properly with cfn-init tool
Steven Dake [Fri, 13 Apr 2012 04:16:42 +0000 (21:16 -0700)]
Start systemd services properly with cfn-init tool

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix the jeos path when running from installed code.
Angus Salkeld [Fri, 13 Apr 2012 02:37:13 +0000 (12:37 +1000)]
Fix the jeos path when running from installed code.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoDelete extra white space
Angus Salkeld [Fri, 13 Apr 2012 00:16:29 +0000 (10:16 +1000)]
Delete extra white space

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix 'heat list' when there are no stacks
Angus Salkeld [Fri, 13 Apr 2012 00:13:42 +0000 (10:13 +1000)]
Fix 'heat list' when there are no stacks

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMerge branch 'master' of github.com:heat-api/heat
Jeff Peeler [Thu, 12 Apr 2012 22:32:48 +0000 (18:32 -0400)]
Merge branch 'master' of github.com:heat-api/heat

13 years agoMake jeos_create aware of existing disk files and previous glance registrations
Jeff Peeler [Thu, 12 Apr 2012 21:42:52 +0000 (17:42 -0400)]
Make jeos_create aware of existing disk files and previous glance registrations

The user is interactively prompted for decisions to be made when:
-An existing jeos disk image is found: build a fresh JEOS?
-If fresh JEOS is chosen, continue as normal removing the files and
 existing registration if it exists.
-If no fresh JEOS is chosen: register existing JEOS with glance?
-If no registration is chosen, no action is taken.
-If registration is chosen, continues as normal without rerunning oz in the
 case of the image not being previously registered with glance.
-If the image is previously registered: delete existing JEOS in glance?
-If the user chooses to not delete existing registration, no action is taken.
-If registration deletion is chosen, the registration is deleted, rerunning
 oz is skipped, and the registration will occur.

Fixes #50

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoUpdate F17 cfntools image to properly boot for cloudinit
Steven Dake [Thu, 12 Apr 2012 21:16:41 +0000 (14:16 -0700)]
Update F17 cfntools image to properly boot for cloudinit

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd ec2-user to F17 x86_64 tdl
Steven Dake [Thu, 12 Apr 2012 21:05:59 +0000 (14:05 -0700)]
Add ec2-user to F17 x86_64 tdl

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoadd ec2-user to F16 cfntools image
Steven Dake [Thu, 12 Apr 2012 21:05:13 +0000 (14:05 -0700)]
add ec2-user to F16 cfntools image

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdate i386 F16 cfntools image to match latest cloudinit features
Steven Dake [Thu, 12 Apr 2012 21:01:45 +0000 (14:01 -0700)]
Update i386 F16 cfntools image to match latest cloudinit features

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoupdated F17 x86_64 cfntools tdl to new cloudinit model
Steven Dake [Thu, 12 Apr 2012 21:00:24 +0000 (14:00 -0700)]
updated F17 x86_64 cfntools tdl to new cloudinit model

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoInstall cloudinit specific files that are loaded into the mime userdata
Steven Dake [Thu, 12 Apr 2012 20:33:27 +0000 (13:33 -0700)]
Install cloudinit specific files that are loaded into the mime userdata

Partially fixes Issue #48

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdated x86_64 cfntools tdl to work with broken F16 repos and cloud-init
Steven Dake [Thu, 12 Apr 2012 20:17:46 +0000 (13:17 -0700)]
Updated x86_64 cfntools tdl to work with broken F16 repos and cloud-init

Partially fixes Issue #48

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agofixing small sed typo
Chris Alfonso [Thu, 12 Apr 2012 18:00:53 +0000 (14:00 -0400)]
fixing small sed typo

13 years agoAdd elastic IP and userdata to 2-instance template
Tomas Sedovic [Thu, 12 Apr 2012 16:18:35 +0000 (18:18 +0200)]
Add elastic IP and userdata to 2-instance template

Ref: #56

The 2-instance Wordpress template with EBS now uses Elastic IPs for both
servers. The IPs are referenced from the init scripts in UserData.

The template wasn't tested yet.

13 years agoFixing the heat events_list <stack name>
Chris Alfonso [Thu, 12 Apr 2012 15:05:11 +0000 (11:05 -0400)]
Fixing the heat events_list <stack name>

Patch provided by Zane Bitter, thx.

13 years agoMove the EIP settings into a different template
Tomas Sedovic [Thu, 12 Apr 2012 14:57:48 +0000 (16:57 +0200)]
Move the EIP settings into a different template

We'll keep the WordPress_Single_Instance.template simple.

13 years agoInitial ElasticIp work - not quite working
Angus Salkeld [Thu, 12 Apr 2012 10:28:14 +0000 (20:28 +1000)]
Initial ElasticIp work - not quite working

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd newly added tdls to manifest.
Jeff Peeler [Thu, 12 Apr 2012 02:22:43 +0000 (22:22 -0400)]
Add newly added tdls to manifest.

Related to issue #26

13 years agoAdd 32-bit tdls for Fedora 16,17 jeos (gold and cfntools)
Jeff Peeler [Thu, 12 Apr 2012 00:56:45 +0000 (20:56 -0400)]
Add 32-bit tdls for Fedora 16,17 jeos (gold and cfntools)

fixes #26

Note that the templates have been adjusted and the naming of the 32-bit
versions to i386 instead of i686. The install really is i686, but making
the arch match what is listed in the install ISO seems less confusing.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
Although the 32-bit version of Fedora (and others) ISOs are labeled with i386,

13 years agoFix exception getting events list
Zane Bitter [Wed, 11 Apr 2012 17:15:38 +0000 (19:15 +0200)]
Fix exception getting events list

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoImport missing exceptions
Zane Bitter [Wed, 11 Apr 2012 16:59:33 +0000 (18:59 +0200)]
Import missing exceptions

The local definitions of several exceptions were removed by commit
e7f05dba5d899200b9e09b22ea423fa33fd1b612 because OpenStack already provides
them, but we need to import them to actually be able to use them.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoFix setting of admin role in keystone service
Zane Bitter [Wed, 11 Apr 2012 15:17:04 +0000 (17:17 +0200)]
Fix setting of admin role in keystone service

The script was looking for the "admin" user instead of the "admin" *role*.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoResolving functional conflicts from merge
Chris Alfonso [Wed, 11 Apr 2012 13:48:42 +0000 (09:48 -0400)]
Resolving functional conflicts from merge

13 years agoAdding new files to heat.spec file
Chris Alfonso [Wed, 11 Apr 2012 13:00:14 +0000 (09:00 -0400)]
Adding new files to heat.spec file

13 years agoDefaulting to the mysql db_backend, removing anydbm
Chris Alfonso [Wed, 11 Apr 2012 12:24:08 +0000 (08:24 -0400)]
Defaulting to the mysql db_backend, removing anydbm

13 years agoMaking delete stack work
Chris Alfonso [Wed, 11 Apr 2012 11:15:13 +0000 (07:15 -0400)]
Making delete stack work

13 years agoPersisting resources
Chris Alfonso [Tue, 10 Apr 2012 20:58:45 +0000 (16:58 -0400)]
Persisting resources

13 years agoMade datetime objects JSON compatible by calling their to string functions
Chris Alfonso [Tue, 10 Apr 2012 11:57:09 +0000 (07:57 -0400)]
Made datetime objects JSON compatible by calling their to string functions

13 years agoIntegrating all stack, template, and event calls with database
Chris Alfonso [Thu, 5 Apr 2012 15:05:11 +0000 (11:05 -0400)]
Integrating all stack, template, and event calls with database

13 years agoFix reporting of RemoteError exceptions from AMQP
Zane Bitter [Wed, 11 Apr 2012 12:03:37 +0000 (14:03 +0200)]
Fix reporting of RemoteError exceptions from AMQP

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoHandle missing config file
Zane Bitter [Wed, 11 Apr 2012 12:03:37 +0000 (14:03 +0200)]
Handle missing config file

Report a more useful error when no config file can be found.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoFix silly spello
Angus Salkeld [Wed, 11 Apr 2012 09:29:13 +0000 (19:29 +1000)]
Fix silly spello

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRecord the reason for any failures
Angus Salkeld [Wed, 11 Apr 2012 09:28:31 +0000 (19:28 +1000)]
Record the reason for any failures

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMake better use of cloud-init
Steven Dake [Wed, 11 Apr 2012 07:33:40 +0000 (00:33 -0700)]
Make better use of cloud-init

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMake the create/delete non-blocking
Angus Salkeld [Wed, 11 Apr 2012 04:52:12 +0000 (14:52 +1000)]
Make the create/delete non-blocking

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix path to keystonerc
Angus Salkeld [Wed, 11 Apr 2012 02:55:57 +0000 (12:55 +1000)]
Fix path to keystonerc

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRename cftools to cfntools in the wordpress single instance template
Steven Dake [Wed, 11 Apr 2012 01:01:59 +0000 (18:01 -0700)]
Rename cftools to cfntools in the wordpress single instance template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoPut cfn-tools into the cfntool image
Steven Dake [Tue, 10 Apr 2012 20:53:53 +0000 (13:53 -0700)]
Put cfn-tools into the cfntool image

Closes issue #59

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRenamed all occurrances of cftools to cfntools to be more consistent
Steven Dake [Tue, 10 Apr 2012 19:26:44 +0000 (12:26 -0700)]
Renamed all occurrances of cftools to cfntools to be more consistent

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMove cfntools to heat directory so they are accessible by jeos_create
Steven Dake [Tue, 10 Apr 2012 18:59:38 +0000 (11:59 -0700)]
Move cfntools to heat directory so they are accessible by jeos_create

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd 2-instance Wordpress template without EBS
Tomas Sedovic [Tue, 10 Apr 2012 15:18:28 +0000 (17:18 +0200)]
Add 2-instance Wordpress template without EBS

Ref #56

The template has two instances. The Wordpress one depends on DatabaseServer.
Therefore, WP should be started after DB and it should use DB's private IP in
the Wordpress setup.

13 years agoTry harder to detach the server volume.
Angus Salkeld [Tue, 10 Apr 2012 04:13:06 +0000 (14:13 +1000)]
Try harder to detach the server volume.

It seems to need some encouragement.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoDon't use the "depends_on" in resource.start
Angus Salkeld [Tue, 10 Apr 2012 04:12:05 +0000 (14:12 +1000)]
Don't use the "depends_on" in resource.start

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoCleanup some prints in the resources
Angus Salkeld [Tue, 10 Apr 2012 04:10:53 +0000 (14:10 +1000)]
Cleanup some prints in the resources

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a 2 instance wordpress example
Angus Salkeld [Mon, 9 Apr 2012 23:41:23 +0000 (09:41 +1000)]
Add a 2 instance wordpress example

Ref #56

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoImprove the ordering of stopping resources
Angus Salkeld [Mon, 9 Apr 2012 22:57:55 +0000 (08:57 +1000)]
Improve the ordering of stopping resources

Create a common function to generate the start order
and stop in the reverse order.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoIssue #54: Getting started with cfn-init
Greg Blomquist [Tue, 3 Apr 2012 23:45:20 +0000 (19:45 -0400)]
Issue #54: Getting started with cfn-init

Implemented features:
  * sysv and systemd service handling
  * yum package management

Running the script:
  e.g., sudo python cfn-init -f resource-metadata.json

Example resource metadata file contents:
{
    "AWS::CloudFormation::Init": {
        "config": {
            "packages": {
                "yum": {
                    "rubygem-fattr" : []
                }
            },
            "services": {
                "sysvinit": {
                    "httpd": {
                        "enabled" : "true",
                        "ensureRunning" : "true"
                    }
                }
            }
        }
    }
}

13 years agoGet the volumes working properly.
Angus Salkeld [Mon, 9 Apr 2012 12:23:42 +0000 (22:23 +1000)]
Get the volumes working properly.

Tested with:
heat create wp_ebs -t ./templates/WordPress_Single_Instance_With_EBS_Volume.template --parameters="InstanceType=m1.xlarge;KeyName=my_key"

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd documentation for heat jeos_create function
Steven Dake [Thu, 5 Apr 2012 18:42:36 +0000 (11:42 -0700)]
Add documentation for heat jeos_create function

Partially Fixes issue #58

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agotypo fix in jeos_create
Tomas Sedovic [Thu, 5 Apr 2012 09:41:12 +0000 (11:41 +0200)]
typo fix in jeos_create

13 years agoFix "heat list" only showing empty list.
Angus Salkeld [Thu, 5 Apr 2012 06:40:19 +0000 (16:40 +1000)]
Fix "heat list" only showing empty list.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd utils & exception from openstack-common
Angus Salkeld [Thu, 5 Apr 2012 06:39:22 +0000 (16:39 +1000)]
Add utils & exception from openstack-common

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse local.py from openstack-common
Angus Salkeld [Thu, 5 Apr 2012 00:42:52 +0000 (10:42 +1000)]
Use local.py from openstack-common

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd F17 cftools TDL
Steven Dake [Thu, 5 Apr 2012 01:50:03 +0000 (18:50 -0700)]
Add F17 cftools TDL

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd F16 cftools tdl
Steven Dake [Thu, 5 Apr 2012 00:39:24 +0000 (17:39 -0700)]
Add F16 cftools tdl

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix events_list
Angus Salkeld [Thu, 5 Apr 2012 00:19:32 +0000 (10:19 +1000)]
Fix events_list

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix describe and delete
Angus Salkeld [Thu, 5 Apr 2012 00:12:44 +0000 (10:12 +1000)]
Fix describe and delete

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoPass the parameters to the parser
Angus Salkeld [Wed, 4 Apr 2012 23:59:16 +0000 (09:59 +1000)]
Pass the parameters to the parser

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMerge rpc branch
Angus Salkeld [Wed, 4 Apr 2012 23:11:59 +0000 (09:11 +1000)]
Merge rpc branch

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRemove some more unused files.
Ian Main [Wed, 4 Apr 2012 21:29:54 +0000 (14:29 -0700)]
Remove some more unused files.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoDon't need these files anymore. As per the layout in nova compute
Ian Main [Wed, 4 Apr 2012 21:18:44 +0000 (14:18 -0700)]
Don't need these files anymore.  As per the layout in nova compute
the manager is handling all the engine api calls.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix --template-file
Tomas Sedovic [Wed, 4 Apr 2012 17:13:37 +0000 (19:13 +0200)]
Fix --template-file

Fixes #47

The code that causes the URI TOO LONG error is in eventlet.wsgi.

So for the time being we're replacing that with paste.httpserver which serves
WSGI apps, too.

Longer term, we want to use eventlet but they need to make the maximum URL
length configurable.

13 years agoUse some evil to get the jeos tdl path
Steven Dake [Wed, 4 Apr 2012 16:17:25 +0000 (09:17 -0700)]
Use some evil to get the jeos tdl path

Resolves issue #46
heat:251 tdl_path uses get_python_lib() which doesn't work with eggs

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix stack_delete()
Ian Main [Tue, 3 Apr 2012 23:57:23 +0000 (16:57 -0700)]
Fix stack_delete()

Signed-off-by: Ian Main <imain@redhat.com>
13 years agostack_db attributes seem broken. Comment these out for now and the API
Ian Main [Tue, 3 Apr 2012 23:55:20 +0000 (16:55 -0700)]
stack_db attributes seem broken.  Comment these out for now and the API
is generally working.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix create a bit more.
Ian Main [Tue, 3 Apr 2012 23:40:11 +0000 (16:40 -0700)]
Fix create a bit more.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoHook up RPC methods
Ian Main [Tue, 3 Apr 2012 23:31:53 +0000 (16:31 -0700)]
Hook up RPC methods

This commit hooks up all the calls via RPC to the new implementations
in manager.py.  I haven't tested them all yet.. I'm getting HD failure
warnings and want to get this commited before something goes terribly
wrong :).

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoPre-bake cftools into an image
Steven Dake [Tue, 3 Apr 2012 22:53:27 +0000 (15:53 -0700)]
Pre-bake cftools into an image

After this change, new JEOS will need to be created since the JEOS
names have changed.

For a cfntool image:
heat jeos_create F16 x86_64 cftools

For a gold image:
heat jeos_create F16 x86_64 gold

Signed-off-by: Steven Dake <sdake@redhat.com>