]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
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 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 agoStack list now communicating end to end. Time to hook some stuff up.
Ian Main [Fri, 30 Mar 2012 21:05:36 +0000 (14:05 -0700)]
Stack list now communicating end to end.  Time to hook some stuff up.

13 years agoChange default exchange to heat-engine from nova. Hook up 'list' though
Ian Main [Fri, 30 Mar 2012 20:38:48 +0000 (13:38 -0700)]
Change default exchange to heat-engine from nova.  Hook up 'list' though
it doesn't work yet.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoGet simple rpc.call working
Angus Salkeld [Fri, 30 Mar 2012 02:02:28 +0000 (13:02 +1100)]
Get simple rpc.call working

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd needed strtime functions from nova
Angus Salkeld [Fri, 30 Mar 2012 01:42:01 +0000 (12:42 +1100)]
Add needed strtime functions from nova

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd missing references
Angus Salkeld [Fri, 30 Mar 2012 01:26:12 +0000 (12:26 +1100)]
Add missing references

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix up some imports so they work. I think this is right now. :)
Ian Main [Tue, 27 Mar 2012 18:56:30 +0000 (11:56 -0700)]
Fix up some imports so they work.  I think this is right now. :)

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoInitial work on migrating heat-engine to rpc
Angus Salkeld [Tue, 27 Mar 2012 00:38:48 +0000 (11:38 +1100)]
Initial work on migrating heat-engine to rpc

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoBegin the change to a python only implementation.
Angus Salkeld [Mon, 26 Mar 2012 05:45:06 +0000 (16:45 +1100)]
Begin the change to a python only implementation.

- Don't start pacemaker-cloud cape, instead start the
  resources (soon to be implemented).
- kill off systemctl, capelistener and json2capexml

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd an experimental ssh monitoring script.
Angus Salkeld [Mon, 26 Mar 2012 04:18:29 +0000 (15:18 +1100)]
Add an experimental ssh monitoring script.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoCovert AWS instance types into Openstack Flavors
Steven Dake [Fri, 23 Mar 2012 21:43:07 +0000 (14:43 -0700)]
Covert AWS instance types into Openstack Flavors

Issue #34

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoChange run_parser.py to run t1.micro rather then m1.large
Steven Dake [Fri, 23 Mar 2012 20:17:09 +0000 (13:17 -0700)]
Change run_parser.py to run t1.micro rather then m1.large

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoSome glance keystone changes from getting started guide
Steven Dake [Fri, 23 Mar 2012 15:37:59 +0000 (08:37 -0700)]
Some glance keystone changes from getting started guide

https://fedoraproject.org/w/index.php?title=Getting_started_with_OpenStack_on_Fedora_17&diff=prev&oldid=279696

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdated with latest F17 nova auth fix
Steven Dake [Fri, 23 Mar 2012 15:16:29 +0000 (08:16 -0700)]
Updated with latest F17 nova auth fix

https://fedoraproject.org/w/index.php?title=Getting_started_with_OpenStack_on_Fedora_17&diff=next&oldid=279621

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoinstall/erase working better
Steven Dake [Fri, 23 Mar 2012 06:54:46 +0000 (23:54 -0700)]
install/erase working better

nova command operations not quite right yet

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd a openstack helper install script
Angus Salkeld [Fri, 23 Mar 2012 04:54:46 +0000 (15:54 +1100)]
Add a openstack helper install script

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd elastic ip association to parser.
Angus Salkeld [Fri, 23 Mar 2012 01:04:54 +0000 (12:04 +1100)]
Add elastic ip association to parser.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoA few cleanups and some comments. Nothing major.
Ian Main [Fri, 23 Mar 2012 00:37:17 +0000 (17:37 -0700)]
A few cleanups and some comments.  Nothing major.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoUse keystone auth environment variables
Steven Dake [Thu, 22 Mar 2012 16:08:16 +0000 (09:08 -0700)]
Use keystone auth environment variables

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoImproved "test" parser for python orchestration.
Angus Salkeld [Thu, 22 Mar 2012 12:16:48 +0000 (23:16 +1100)]
Improved "test" parser for python orchestration.

./bin/run-parser.py <template>

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRecord events and retrieve them via "heat events_list <stack_name>"
Angus Salkeld [Wed, 21 Mar 2012 23:18:43 +0000 (10:18 +1100)]
Record events and retrieve them via "heat events_list <stack_name>"

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agotweak the templates so the defaults are actually what we want.
Angus Salkeld [Wed, 21 Mar 2012 23:05:26 +0000 (10:05 +1100)]
tweak the templates so the defaults are actually what we want.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse full distro-arch as name of image registered with glance
Steven Dake [Wed, 21 Mar 2012 18:32:41 +0000 (11:32 -0700)]
Use full distro-arch as name of image registered with glance

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoProperly handle templates of invalid format
Tomas Sedovic [Wed, 21 Mar 2012 16:24:53 +0000 (17:24 +0100)]
Properly handle templates of invalid format

Fixes #19

When we receive a template that's not in JSON, we display a meaningful message
instead of a stacktrace.

13 years agoDisplay error message on invalid template URL
Tomas Sedovic [Wed, 21 Mar 2012 16:07:14 +0000 (17:07 +0100)]
Display error message on invalid template URL

Fixes #19

13 years agoDisplay message on heat-api and heat-engine startup
Tomas Sedovic [Wed, 21 Mar 2012 15:41:54 +0000 (16:41 +0100)]
Display message on heat-api and heat-engine startup

When a Heat server is started, the user will now see a message that says so and
shows the port number the server uses.

13 years agoRemoved the *.log from the .gitignore so I can add the dummy files
Chris Alfonso [Wed, 21 Mar 2012 14:52:54 +0000 (10:52 -0400)]
Removed the *.log from the .gitignore so I can add the dummy files

13 years agoRemoving some of the cargo cult copy paste shrapnel
Chris Alfonso [Wed, 21 Mar 2012 14:14:00 +0000 (10:14 -0400)]
Removing some of the cargo cult copy paste shrapnel

13 years agoAdding rpm packaging for heat packages
Chris Alfonso [Wed, 21 Mar 2012 11:44:44 +0000 (07:44 -0400)]
Adding rpm packaging for heat packages

13 years agoteach jeos_create about the debug option.
Angus Salkeld [Wed, 21 Mar 2012 11:27:14 +0000 (22:27 +1100)]
teach jeos_create about the debug option.

Now this command produces lots of output (nice for debugging):
sudo heat -d jeos_create F16 x86_64

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoImprove the error checking in jeos_create
Angus Salkeld [Wed, 21 Mar 2012 10:55:30 +0000 (21:55 +1100)]
Improve the error checking in jeos_create

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdating template example github link
Chris Alfonso [Tue, 20 Mar 2012 13:50:09 +0000 (09:50 -0400)]
Updating template example github link

13 years agoMinor text edits
Chris Alfonso [Tue, 20 Mar 2012 11:26:40 +0000 (07:26 -0400)]
Minor text edits

13 years agoDirectives to not use variable names that conflict with pdb
Chris Alfonso [Tue, 20 Mar 2012 11:16:06 +0000 (07:16 -0400)]
Directives to not use variable names that conflict with pdb

13 years agoFix a module import failure
Tomas Sedovic [Tue, 20 Mar 2012 10:19:01 +0000 (11:19 +0100)]
Fix a module import failure

Running heat-api resulted in:

heat.common.exception.ImportFailure: Failed to import requested object/class:
    'heat.api.v1.API'. Reason: No module named openstack.common

13 years agoFix README bullets
Angus Salkeld [Tue, 20 Mar 2012 02:17:17 +0000 (13:17 +1100)]
Fix README bullets

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix README headings
Angus Salkeld [Tue, 20 Mar 2012 02:14:02 +0000 (13:14 +1100)]
Fix README headings

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdate the README
Angus Salkeld [Tue, 20 Mar 2012 02:11:53 +0000 (13:11 +1100)]
Update the README

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoStart separating the api and the implementation.
Angus Salkeld [Mon, 19 Mar 2012 10:25:20 +0000 (21:25 +1100)]
Start separating the api and the implementation.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agofix delete params (was treated as body)
Angus Salkeld [Tue, 20 Mar 2012 01:01:37 +0000 (12:01 +1100)]
fix delete params (was treated as body)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdate readme with correct "raw" url for template
Steven Dake [Tue, 20 Mar 2012 00:58:39 +0000 (17:58 -0700)]
Update readme with correct "raw" url for template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove erroneous setup operation
Steven Dake [Tue, 20 Mar 2012 00:10:58 +0000 (17:10 -0700)]
Remove erroneous setup operation

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoInstall config files properly.
Angus Salkeld [Tue, 20 Mar 2012 00:08:24 +0000 (11:08 +1100)]
Install config files properly.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRename the etc/ files to what they need to be.
Angus Salkeld [Mon, 19 Mar 2012 11:46:46 +0000 (22:46 +1100)]
Rename the etc/ files to what they need to be.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoPretty up the README
Angus Salkeld [Mon, 19 Mar 2012 11:51:55 +0000 (22:51 +1100)]
Pretty up the README

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd etc to the manifest
Angus Salkeld [Mon, 19 Mar 2012 11:44:25 +0000 (22:44 +1100)]
Add etc to the manifest

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a jeos create operation using oz
Steven Dake [Mon, 19 Mar 2012 04:55:19 +0000 (21:55 -0700)]
Add a jeos create operation using oz

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdated README with install directions
Steven Dake [Mon, 19 Mar 2012 03:24:23 +0000 (20:24 -0700)]
Updated README with install directions

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd MANIFEST.in and add a oz tdl for a F16 jeos
Steven Dake [Mon, 19 Mar 2012 03:20:41 +0000 (20:20 -0700)]
Add MANIFEST.in and add a oz tdl for a F16 jeos

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMerge pull request #12 from markmc/sync-cfg-from-openstack-common
Angus Salkeld [Fri, 16 Mar 2012 22:09:41 +0000 (15:09 -0700)]
Merge pull request #12 from markmc/sync-cfg-from-openstack-common

Sync cfg from openstack-common

13 years agoMerge pull request #11 from markmc/unused-util-code
Angus Salkeld [Fri, 16 Mar 2012 22:05:30 +0000 (15:05 -0700)]
Merge pull request #11 from markmc/unused-util-code

Remove a bunch of unused util code

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSync cfg from openstack-common
Mark McLoughlin [Fri, 16 Mar 2012 15:47:07 +0000 (11:47 -0400)]
Sync cfg from openstack-common

Use openstack-common's update script to sync it to the latest.

Add some dire warnings that changes should be made in the upstream
copy of the code first.

13 years agoRemove a bunch of unused util code
Mark McLoughlin [Fri, 16 Mar 2012 15:28:34 +0000 (11:28 -0400)]
Remove a bunch of unused util code

Eliminates the dependency on the iso8601 module.

13 years agoAdd a cape event listener.
Angus Salkeld [Fri, 16 Mar 2012 12:24:52 +0000 (23:24 +1100)]
Add a cape event listener.

For the moment just log the event, could do more
with the events later.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoCatch errors better when creating the stack
Angus Salkeld [Fri, 16 Mar 2012 01:09:42 +0000 (12:09 +1100)]
Catch errors better when creating the stack

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRemerge common code with glance.
Angus Salkeld [Fri, 16 Mar 2012 01:08:53 +0000 (12:08 +1100)]
Remerge common code with glance.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd config cp to README doc.
Ian Main [Fri, 16 Mar 2012 00:15:05 +0000 (17:15 -0700)]
Add config cp to README doc.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoDon't crash if there is no "AWS::CloudFormation::Init" section.
Angus Salkeld [Fri, 16 Mar 2012 00:02:00 +0000 (11:02 +1100)]
Don't crash if there is no "AWS::CloudFormation::Init" section.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMove the default port number into common.config
Angus Salkeld [Thu, 15 Mar 2012 23:12:45 +0000 (10:12 +1100)]
Move the default port number into common.config

It was defined in multiple places.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoChange the default port references to DEFAULT_PORT
Angus Salkeld [Thu, 15 Mar 2012 22:05:20 +0000 (09:05 +1100)]
Change the default port references to DEFAULT_PORT

If we need to change it again then this will make it easier.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix missing paren.
Ian Main [Thu, 15 Mar 2012 19:22:00 +0000 (12:22 -0700)]
Fix missing paren.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoAdd a call to start cape process.
Angus Salkeld [Thu, 15 Mar 2012 11:25:45 +0000 (22:25 +1100)]
Add a call to start cape process.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoHook up the update and delete (not quite working)
Angus Salkeld [Thu, 15 Mar 2012 11:24:42 +0000 (22:24 +1100)]
Hook up the update and delete (not quite working)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a very rough-and-ready conversion from json to xml for cape
Angus Salkeld [Thu, 15 Mar 2012 10:34:43 +0000 (21:34 +1100)]
Add a very rough-and-ready conversion from json to xml for cape

This needs lots of improvements. And is only tested
with templates/WordPress_Single_Instance.template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd support for getting the template via url else we get RequestUriTooLong
Angus Salkeld [Thu, 15 Mar 2012 10:22:05 +0000 (21:22 +1100)]
Add support for getting the template via url else we get RequestUriTooLong

The nutty cloudforms api passes the template in via parameters.
TemplateUrl is better.

try:
./bin/heat create my_stack --template-url=https://raw.github.com/asalkeld/heat/master/templates/WordPress_Single_Instance.template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd missing RequestUriTooLong exception.
Angus Salkeld [Thu, 15 Mar 2012 05:49:50 +0000 (16:49 +1100)]
Add missing RequestUriTooLong exception.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the systemd service section in the template.
Angus Salkeld [Thu, 15 Mar 2012 05:49:10 +0000 (16:49 +1100)]
Fix the systemd service section in the template.

To be consistent with the sysvinit one.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a disto mapping to get the image name.
Angus Salkeld [Thu, 15 Mar 2012 04:08:59 +0000 (15:08 +1100)]
Add a disto mapping to get the image name.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSimplify the template more.
Angus Salkeld [Thu, 15 Mar 2012 02:43:15 +0000 (13:43 +1100)]
Simplify the template more.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a simple single instance wordpress template
Angus Salkeld [Wed, 14 Mar 2012 23:40:02 +0000 (10:40 +1100)]
Add a simple single instance wordpress template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoRemove openstack copy right assignment as we have not done that yet.
Angus Salkeld [Wed, 14 Mar 2012 22:36:51 +0000 (09:36 +1100)]
Remove openstack copy right assignment as we have not done that yet.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a simple in-memory "db" so we can create/list stacks
Angus Salkeld [Wed, 14 Mar 2012 02:02:53 +0000 (13:02 +1100)]
Add a simple in-memory "db" so we can create/list stacks

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd setup.py and friends
Angus Salkeld [Tue, 13 Mar 2012 22:25:54 +0000 (09:25 +1100)]
Add setup.py and friends

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd simple readme
Angus Salkeld [Tue, 13 Mar 2012 11:27:42 +0000 (22:27 +1100)]
Add simple readme

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix Parameters
Angus Salkeld [Tue, 13 Mar 2012 11:20:40 +0000 (22:20 +1100)]
Fix Parameters

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoInitial commit (basics copied from glance)
Angus Salkeld [Tue, 13 Mar 2012 10:48:07 +0000 (21:48 +1100)]
Initial commit (basics copied from glance)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>