]>
review.fuel-infra Code Review - openstack-build/heat-build.git/log
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>
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>
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>
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>
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>
Steven Dake [Mon, 26 Mar 2012 16:20:02 +0000 (09:20 -0700)]
Add a missing tab
Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake [Mon, 26 Mar 2012 16:18:21 +0000 (09:18 -0700)]
Add code that shows how to create an instance
This creates an instance with a keypair, and saves the private key to
/tmp/private_key.
Then:
ssh -i /tmp/private_key 10.0.0.x where x is the IP address
Signed-off-by: Steven Dake <sdake@redhat.com>
Tomas Sedovic [Mon, 26 Mar 2012 13:50:46 +0000 (15:50 +0200)]
Consistently use Keystone auth from environment
Fixes #33
All mentions of non-keystone auth environment variables were removed. Acessing
the proper Keystone ENV was localized into parse_options.
We can now consistently use the `options` object instead of writing
`options.username or getenv['OS_USERNAME']` all over the place.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
Tomas Sedovic [Wed, 21 Mar 2012 16:07:14 +0000 (17:07 +0100)]
Display error message on invalid template URL
Fixes #19
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.
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
Chris Alfonso [Wed, 21 Mar 2012 14:14:00 +0000 (10:14 -0400)]
Removing some of the cargo cult copy paste shrapnel
Chris Alfonso [Wed, 21 Mar 2012 11:44:44 +0000 (07:44 -0400)]
Adding rpm packaging for heat packages
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>
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>
Chris Alfonso [Tue, 20 Mar 2012 13:50:09 +0000 (09:50 -0400)]
Updating template example github link
Chris Alfonso [Tue, 20 Mar 2012 11:26:40 +0000 (07:26 -0400)]
Minor text edits
Chris Alfonso [Tue, 20 Mar 2012 11:16:06 +0000 (07:16 -0400)]
Directives to not use variable names that conflict with pdb
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
Angus Salkeld [Tue, 20 Mar 2012 02:17:17 +0000 (13:17 +1100)]
Fix README bullets
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 20 Mar 2012 02:14:02 +0000 (13:14 +1100)]
Fix README headings
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 20 Mar 2012 02:11:53 +0000 (13:11 +1100)]
Update the README
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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