248 Commits

Author SHA1 Message Date
Chris Alfonso
33c4b5f762 Adding rpm packaging for heat packages 2012-03-21 07:45:18 -04: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
Chris Alfonso
fb2227b804 Minor text edits 2012-03-20 07:26:40 -04:00
Chris Alfonso
9482127223 Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
Tomas Sedovic
1b44c7d46d 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
2012-03-20 11:19:01 +01:00
Angus Salkeld
49ed27480e Fix README bullets
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 13:17:17 +11:00
Angus Salkeld
2f041a999f Fix README headings
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 13:14:02 +11:00
Angus Salkeld
939ee8d1a8 Update the README
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 13:11:53 +11: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
Angus Salkeld
4abbc9393e fix delete params (was treated as body)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 12:08:34 +11:00
Steven Dake
c7a01f18ad Update readme with correct "raw" url for template
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-19 17:58:39 -07:00
Steven Dake
a7025cdeb5 Remove erroneous setup operation
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-19 17:10:58 -07:00
Angus Salkeld
c1e3fea7a6 Install config files properly.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 11:09:14 +11:00
Angus Salkeld
2cf38556bf Rename the etc/ files to what they need to be.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-19 22:53:06 +11:00
Angus Salkeld
248a693581 Pretty up the README
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-19 22:51:55 +11:00
Angus Salkeld
d3ca2e3d37 Add etc to the manifest
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-19 22:50:06 +11: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
Steven Dake
61c12cfebb Updated README with install directions
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-18 20:24:23 -07:00
Steven Dake
aa68472a38 Add MANIFEST.in and add a oz tdl for a F16 jeos
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-18 20:20:41 -07:00
Angus Salkeld
5635b453b4 Merge pull request #12 from markmc/sync-cfg-from-openstack-common
Sync cfg from openstack-common
2012-03-16 15:09:41 -07:00
Angus Salkeld
d7256915aa Merge pull request #11 from markmc/unused-util-code
Remove a bunch of unused util code

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 15:05:30 -07:00
Mark McLoughlin
cdc7f5a49c 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.
2012-03-16 11:49:46 -04:00
Mark McLoughlin
4e4126b9e5 Remove a bunch of unused util code
Eliminates the dependency on the iso8601 module.
2012-03-16 11:28:34 -04:00
Angus Salkeld
0141f6da2f 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>
2012-03-16 23:24:52 +11:00
Angus Salkeld
0a26758da0 Catch errors better when creating the stack
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 14:14:25 +11:00
Angus Salkeld
a5fbf17743 Remerge common code with glance.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 14:14:25 +11:00
Ian Main
3fad43a5e2 Add config cp to README doc.
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-15 17:15:05 -07:00
Angus Salkeld
072800e2c2 Don't crash if there is no "AWS::CloudFormation::Init" section.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 11:02:00 +11: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
Ian Main
b987031f7c Fix missing paren.
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-15 13:36:40 -07:00
Angus Salkeld
077ff505d2 Add a call to start cape process.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 22:25:45 +11:00
Angus Salkeld
a76d02e790 Hook up the update and delete (not quite working)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 22:24:42 +11:00
Angus Salkeld
a321e3c880 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>
2012-03-15 21:34:43 +11:00
Angus Salkeld
a5ea8a4c55 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>
2012-03-15 21:22:05 +11:00
Angus Salkeld
97b6c95df0 Add missing RequestUriTooLong exception.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 16:49:50 +11:00
Angus Salkeld
da35a068e9 Fix the systemd service section in the template.
To be consistent with the sysvinit one.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 16:49:10 +11:00
Angus Salkeld
c0b95312c4 Add a disto mapping to get the image name.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 15:08:59 +11:00
Angus Salkeld
83ba8d9519 Simplify the template more.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 13:43:15 +11:00
Angus Salkeld
7739de101e Add a simple single instance wordpress template
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 10:40:02 +11:00
Angus Salkeld
2fde25bc11 Remove openstack copy right assignment as we have not done that yet.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 09:36:51 +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
41d167c560 Add setup.py and friends
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 09:25:54 +11:00
Angus Salkeld
38de4d2564 Add simple readme
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 22:27:42 +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