Angus Salkeld
dfe12cbaba
Fix a heap of pep8 errors
...
./run_tests.sh is much cleaner now.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-16 17:07:07 +10:00
Chris Alfonso
f0862d8b88
renaming CloudFormations to CloudFormation
2012-04-13 15:01:41 -04:00
Zane Bitter
5c69b6087a
Allow listing of all events
...
Make filtering by StackName optional.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-13 17:58:23 +02:00
Zane Bitter
16986b4062
Improvements to DB setup
...
Don't fail if the database or user already exists.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-13 12:12:13 +02:00
Zane Bitter
a03a307d33
Issue #52 : Fix error in db-setup script
...
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-13 12:10:35 +02:00
Angus Salkeld
2a9a87dc3e
Fix the jeos path when running from installed code.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-13 12:38:47 +10:00
Jeff Peeler
2f5ec8738d
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>
2012-04-12 17:42:52 -04:00
Jeff Peeler
01488938cf
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,
2012-04-11 20:56:45 -04:00
Chris Alfonso
77a004167a
Integrating all stack, template, and event calls with database
2012-04-11 09:02:18 -04:00
Steven Dake
c8f6c1752c
Put cfn-tools into the cfntool image
...
Closes issue #59
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-10 13:53:53 -07:00
Steven Dake
34f55bdbd6
Renamed all occurrances of cftools to cfntools to be more consistent
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-10 12:26:44 -07:00
Steven Dake
22c2dde2ac
Add documentation for heat jeos_create function
...
Partially Fixes issue #58
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-05 11:43:59 -07:00
Tomas Sedovic
8483e2219f
typo fix in jeos_create
2012-04-05 11:41:12 +02:00
Angus Salkeld
e7f05dba5d
Add utils & exception from openstack-common
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 16:43:09 +10:00
Angus Salkeld
8a6eb03d62
Pass the parameters to the parser
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 09:59:16 +10:00
Angus Salkeld
ebcb364e79
Merge rpc branch
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 09:11:59 +10:00
Tomas Sedovic
7690e1b5d4
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.
2012-04-04 19:28:47 +02:00
Steven Dake
ec9c7009fa
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>
2012-04-04 09:18:41 -07:00
Steven Dake
ebdf76e1e8
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>
2012-04-03 15:53:27 -07:00
Chris Alfonso
4018da0186
Add a heat database to store templates, state, and events
...
Fixes #39
2012-04-02 06:44:10 -04:00
Angus Salkeld
8d372fcb16
Pass the keystone creds to resource.py so usable from run-parser and heat
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-02 12:00:21 +10:00
Steven Dake
ade5e43c46
Remove errant debugging print from run-parser.py
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-30 14:27:18 -07:00
Tomas Sedovic
1cc0f413ec
Fix run_parser.py to work with the db updates
2012-03-30 15:20:37 +02:00
Angus Salkeld
ba17e5286b
Move simpledb to db/anydbm just so we are using the new API.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-30 21:28:37 +11:00
Steven Dake
1ccc461f59
Updated run-parser.py to work well with WordPress template
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 21:30:14 -07:00
Steven Dake
4c93dcf75a
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>
2012-03-28 13:53:31 -07:00
Chris Alfonso
1e7c0eff6c
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
2012-03-28 16:25:22 -04:00
Chris Alfonso
589eaa75e4
Removing OpenStack LLC copyright
2012-03-28 12:50:49 -04:00
Angus Salkeld
3bc820fba4
Add the ValidateTemplate API.
...
Implementing the validate is still a TODO.
Re: issue #1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 19:37:00 +11:00
Jeff Peeler
3b49124ee3
Fix misspelling of Ubuntu so tdl is properly found.
...
Found while looking at issue #29 .
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-03-27 22:45:42 -04:00
Steven Dake
6153879cff
Fix order of parmeters issue
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-27 17:34:30 -07:00
Steven Dake
21f1f7abd2
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>
2012-03-27 17:03:10 -07:00
Angus Salkeld
5c30a02e00
Initial work on migrating heat-engine to rpc
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-27 11:38:48 +11:00
Tomas Sedovic
072cc84d49
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.
2012-03-26 17:44:24 +02:00
Steven Dake
a252379091
Change run_parser.py to run t1.micro rather then m1.large
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-23 13:17:09 -07:00
Ian Main
622bb9a702
A few cleanups and some comments. Nothing major.
...
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-22 17:37:17 -07:00
Steven Dake
024ccee734
Use keystone auth environment variables
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-22 09:08:16 -07:00
Angus Salkeld
6dc0039468
Improved "test" parser for python orchestration.
...
./bin/run-parser.py <template>
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-22 23:16:48 +11:00
Angus Salkeld
d1daeb01d0
Record events and retrieve them via "heat events_list <stack_name>"
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-22 10:18:43 +11:00
Steven Dake
8693984a9b
Use full distro-arch as name of image registered with glance
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-21 11:32:41 -07:00
Tomas Sedovic
53859a38ca
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.
2012-03-21 16:41:54 +01:00
Angus Salkeld
68d8778cca
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>
2012-03-21 22:27:14 +11:00
Angus Salkeld
175fa18831
Improve the error checking in jeos_create
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-21 21:55:30 +11:00
Chris Alfonso
f5e43a3ffc
Updating template example github link
2012-03-20 09:50:09 -04:00
Angus Salkeld
6161c7aa85
Start separating the api and the implementation.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 12:58:54 +11:00
Steven Dake
a7025cdeb5
Remove erroneous setup operation
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-19 17:10:58 -07:00
Steven Dake
d67fcf180d
Add a jeos create operation using oz
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-18 21:55:19 -07:00
Angus Salkeld
82888427f3
Move the default port number into common.config
...
It was defined in multiple places.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 10:12:45 +11:00
Angus Salkeld
0f6375a931
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>
2012-03-16 09:05:20 +11:00
Angus Salkeld
fc413d9327
Add a simple in-memory "db" so we can create/list stacks
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 13:02:53 +11:00