32 Commits

Author SHA1 Message Date
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
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
Angus Salkeld
ca303152e6 Fix Parameters
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 22:20:40 +11:00
Angus Salkeld
3b9c41fb6c Initial commit (basics copied from glance)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 21:48:07 +11:00