]>
review.fuel-infra Code Review - openstack-build/heat-build.git/log
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>
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>
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>
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>
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.
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>
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>
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>
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>
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>
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"
}
}
}
}
}
}
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>
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>
Tomas Sedovic [Thu, 5 Apr 2012 09:41:12 +0000 (11:41 +0200)]
typo fix in jeos_create
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>
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>
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>
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>
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>
Angus Salkeld [Thu, 5 Apr 2012 00:19:32 +0000 (10:19 +1000)]
Fix events_list
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
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>
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>
Angus Salkeld [Wed, 4 Apr 2012 23:11:59 +0000 (09:11 +1000)]
Merge rpc branch
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
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>
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>
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.
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>
Ian Main [Tue, 3 Apr 2012 23:57:23 +0000 (16:57 -0700)]
Fix stack_delete()
Signed-off-by: Ian Main <imain@redhat.com>
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>
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>
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>
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>
Steven Dake [Tue, 3 Apr 2012 18:51:16 +0000 (11:51 -0700)]
Initial CloudFormations dummy files for vm helper tools
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Tue, 3 Apr 2012 15:21:30 +0000 (08:21 -0700)]
Revert "Allow templates specified from local filesystem"
Unfortunately this patch isn't quite correct. It passes data in the body
of the message, but the API specifies passing in the url parameters. This
results in user parameters not being passed to the instance properly.
This reverts commit
4679fb01c641053d45a197b598e28552144391a9 .
Angus Salkeld [Tue, 3 Apr 2012 06:27:27 +0000 (16:27 +1000)]
Do mimimum to work with anydb.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 3 Apr 2012 05:39:29 +0000 (15:39 +1000)]
Add support for the Output section.
Implements issue #51
To see the outputs run "heat describe <stack name>"
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 3 Apr 2012 04:13:09 +0000 (14:13 +1000)]
Add an Outputs section to the template
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 3 Apr 2012 04:11:35 +0000 (14:11 +1000)]
run dos2unix on the templates
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Chris Alfonso [Mon, 2 Apr 2012 20:17:06 +0000 (16:17 -0400)]
Updating the README to point to the Getting Started Wiki
Chris Alfonso [Mon, 2 Apr 2012 12:12:33 +0000 (08:12 -0400)]
Adding the sqlalchemy db implmentation
Tomas Sedovic [Mon, 2 Apr 2012 16:00:00 +0000 (18:00 +0200)]
Allow templates specified from local filesystem
Fixes #47
Passing a template file (as opposed to a URL) to the CLI:
./heat -d create wordpress \
--template-file=../templates/WordPress_Single_Instance.template
caused a 'URI too long' error. The reason was that we were passing the entire
template contents to the Heat API server inside the URL params.
This makes sure that templates are passed around inside HTTP body rather than
the URL.
Steven Dake [Mon, 2 Apr 2012 14:03:40 +0000 (07:03 -0700)]
Updated openstack script to print a note about the default network
Signed-off-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 2 Apr 2012 13:04:35 +0000 (23:04 +1000)]
Beginings of Volumes and VolumeAttachments
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Tomas Sedovic [Mon, 2 Apr 2012 12:46:59 +0000 (14:46 +0200)]
Update readme with the Keystone service setup
Chris Alfonso [Thu, 29 Mar 2012 19:14:21 +0000 (15:14 -0400)]
Add a heat database to store templates, state, and events
Fixes #39
Angus Salkeld [Mon, 2 Apr 2012 05:48:00 +0000 (15:48 +1000)]
Make the "heat delete" command work.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Mon, 2 Apr 2012 05:15:10 +0000 (15:15 +1000)]
Fix a crash in "heat show/list"
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Mon, 2 Apr 2012 03:54:47 +0000 (13:54 +1000)]
Fix keystone creds in parser
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Mon, 2 Apr 2012 02:15:21 +0000 (19:15 -0700)]
Make wordpress template leave mysql+http running, and start/enable them by default
Signed-off-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 2 Apr 2012 02:00:21 +0000 (12:00 +1000)]
Pass the keystone creds to resource.py so usable from run-parser and heat
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Mon, 2 Apr 2012 01:59:18 +0000 (11:59 +1000)]
temporarily hack out the keystone auth.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Sun, 1 Apr 2012 23:59:51 +0000 (16:59 -0700)]
Updated wordpress single instance template to have quotes in proper place
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 22:36:57 +0000 (15:36 -0700)]
F16 updates broken- Delete F16 and F17 update repos and don't yum update
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 20:40:37 +0000 (13:40 -0700)]
Start userdata script after decoding
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 20:35:53 +0000 (13:35 -0700)]
use << intead of << in Wordpress example
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 19:50:25 +0000 (12:50 -0700)]
Add FnBase64 encoder, encode user data, and feed to nova userdata
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 17:35:35 +0000 (10:35 -0700)]
Add installation of cloud-init to the JEOS creation operation
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sun, 1 Apr 2012 17:33:28 +0000 (10:33 -0700)]
Show how to create a network after using the openstack tools script
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Fri, 30 Mar 2012 21:27:18 +0000 (14:27 -0700)]
Remove errant debugging print from run-parser.py
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Fri, 30 Mar 2012 21:24:15 +0000 (14:24 -0700)]
Update to setup directions
Signed-off-by: Steven Dake <sdake@redhat.com>
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.
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>
Steven Dake [Fri, 30 Mar 2012 17:46:29 +0000 (10:46 -0700)]
Make create Working with recent glance mysql changes in F16/F17 RPMs
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Fri, 30 Mar 2012 15:51:42 +0000 (08:51 -0700)]
Add mysql db creation for glance
Signed-off-by: Steven Dake <sdake@redhat.com>
Tomas Sedovic [Fri, 30 Mar 2012 13:20:37 +0000 (15:20 +0200)]
Fix run_parser.py to work with the db updates
Angus Salkeld [Fri, 30 Mar 2012 10:28:37 +0000 (21:28 +1100)]
Move simpledb to db/anydbm just so we are using the new API.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Fri, 30 Mar 2012 04:36:26 +0000 (15:36 +1100)]
Fix the service toke and endpoint
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Fri, 30 Mar 2012 02:51:24 +0000 (13:51 +1100)]
Add script to add heat service catalog into keystone
Note the user add is not working for me. But could
be because I have partly done this a couple of times.
This is based off of:
https://github.com/openstack/keystone/blob/master/tools/sample_data.sh
Related to issue #31
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
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>
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>
Angus Salkeld [Fri, 30 Mar 2012 01:26:12 +0000 (12:26 +1100)]
Add missing references
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Thu, 29 Mar 2012 23:25:11 +0000 (16:25 -0700)]
Wait for server to enter the ACTIVE state or ERROR state and send events
Signed-off-by: Steven Dake <sdake@redhat.com>
Tomas Sedovic [Thu, 29 Mar 2012 16:02:16 +0000 (18:02 +0200)]
Stub out the database access API
Angus Salkeld [Thu, 29 Mar 2012 11:22:33 +0000 (22:22 +1100)]
s/image/heat in auth code.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Thu, 29 Mar 2012 11:20:59 +0000 (22:20 +1100)]
Copy some glance/common fixes
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Thu, 29 Mar 2012 04:55:36 +0000 (21:55 -0700)]
run_parser.py creates an instance now
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Thu, 29 Mar 2012 04:30:14 +0000 (21:30 -0700)]
Updated run-parser.py to work well with WordPress template
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Thu, 29 Mar 2012 04:29:30 +0000 (21:29 -0700)]
Updated README with more precise setup directions
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Wed, 28 Mar 2012 21:57:48 +0000 (14:57 -0700)]
Produce proper distro-arch variable for use with launching
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Wed, 28 Mar 2012 20:51:35 +0000 (13:51 -0700)]
Update run-parser to work with proper user parameters as sent through the apis
Fixes Issue #42
Signed-off-by: Steven Dake <sdake@redhat.com>
Chris Alfonso [Wed, 28 Mar 2012 20:23:15 +0000 (16:23 -0400)]
Security credentials are now passed into heat engine from cli
The request parameter KeyStoneCreds has the values for username,
password, tenant, and authurl
Fixes #30
Steven Dake [Wed, 28 Mar 2012 18:23:25 +0000 (11:23 -0700)]
Fix spelling error dependancies->dependencies
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Wed, 28 Mar 2012 18:22:30 +0000 (11:22 -0700)]
Fix spelling error
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Wed, 28 Mar 2012 17:52:54 +0000 (10:52 -0700)]
Tidy up README.rst
Signed-off-by: Steven Dake <sdake@redhat.com>
Chris Alfonso [Wed, 28 Mar 2012 16:50:49 +0000 (12:50 -0400)]
Removing OpenStack LLC copyright
Chris Alfonso [Wed, 28 Mar 2012 16:43:54 +0000 (12:43 -0400)]
Adding F17 JEOS tdl
Issue #25
Angus Salkeld [Wed, 28 Mar 2012 08:36:49 +0000 (19:36 +1100)]
Fix some tabbing.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Wed, 28 Mar 2012 08:36:18 +0000 (19:36 +1100)]
Add the ValidateTemplate API.
Implementing the validate is still a TODO.
Re: issue #1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Jeff Peeler [Wed, 28 Mar 2012 02:45:42 +0000 (22:45 -0400)]
Fix misspelling of Ubuntu so tdl is properly found.
Found while looking at issue #29.
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
Angus Salkeld [Wed, 28 Mar 2012 02:32:20 +0000 (13:32 +1100)]
Get the heat --parameters to work.
So now this works:
heat create pile \
--template-url=https://raw.github.com/heat-api/heat/master/templates/WordPress_Single_Instance.template \
--parameters="InstanceType=t1.micro;DBUsername=angus;DBPassword=fruity;LinuxDistribution=F17"
Fixes Issue #40
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Wed, 28 Mar 2012 01:57:25 +0000 (18:57 -0700)]
Add ami conversion to OpenStack style architectures
Signed-off-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Wed, 28 Mar 2012 00:45:53 +0000 (11:45 +1100)]
Account for missing Properties
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Wed, 28 Mar 2012 00:41:19 +0000 (11:41 +1100)]
Install /var/lib/heat directory
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake [Wed, 28 Mar 2012 00:34:30 +0000 (17:34 -0700)]
Fix order of parmeters issue
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Wed, 28 Mar 2012 00:02:27 +0000 (17:02 -0700)]
Fix heat jeos_create F16 x86_64 litters files
Fixes Issue #41.
Output the file to /dev/null instead
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Tue, 27 Mar 2012 23:26:01 +0000 (16:26 -0700)]
Remove unneeded deps
Signed-off-by: Steven Dake <sdake@redhat.com>
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>
Steven Dake [Tue, 27 Mar 2012 17:35:47 +0000 (10:35 -0700)]
Add README to tools directory to help point out what files do
Signed-off-by: Steven Dake <sdake@redhat.com>
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>
Steven Dake [Mon, 26 Mar 2012 16:30:18 +0000 (09:30 -0700)]
Add error checking and help to tool
Signed-off-by: Steven Dake <sdake@redhat.com>