Angus Salkeld
4539bdeca6
Record the reason for any failures
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Steven Dake
9bad232991
Make better use of cloud-init
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Angus Salkeld
df1ad15c8a
Make the create/delete non-blocking
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
2c492583e1
Fix path to keystonerc
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Steven Dake
4b360e33c2
Rename cftools to cfntools in the wordpress single instance template
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Steven Dake
c8f6c1752c
Put cfn-tools into the cfntool image
...
Closes issue #59
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Steven Dake
34f55bdbd6
Renamed all occurrances of cftools to cfntools to be more consistent
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Steven Dake
39f953802f
Move cfntools to heat directory so they are accessible by jeos_create
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Tomas Sedovic
434438d2e1
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.
11 years ago
Angus Salkeld
20c2b8891a
Try harder to detach the server volume.
...
It seems to need some encouragement.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
da38f9af18
Don't use the "depends_on" in resource.start
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
b3893cde96
Cleanup some prints in the resources
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
555bb45cd5
Add a 2 instance wordpress example
...
Ref #56
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
a9fd72c21c
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>
11 years ago
Greg Blomquist
c51273efaa
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"
}
}
}
}
}
}
11 years ago
Angus Salkeld
56e8d80630
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>
11 years ago
Steven Dake
22c2dde2ac
Add documentation for heat jeos_create function
...
Partially Fixes issue #58
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Tomas Sedovic
8483e2219f
typo fix in jeos_create
11 years ago
Angus Salkeld
c0fd06bc1f
Fix "heat list" only showing empty list.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
e7f05dba5d
Add utils & exception from openstack-common
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
aff20aca99
Use local.py from openstack-common
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Steven Dake
f4d4f60f8f
Add F17 cftools TDL
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Steven Dake
d6cce8198d
Add F16 cftools tdl
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Angus Salkeld
bd598a8399
Fix events_list
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
d9ab5bdad4
Fix describe and delete
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
8a6eb03d62
Pass the parameters to the parser
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
ebcb364e79
Merge rpc branch
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Ian Main
e4a27e88f2
Remove some more unused files.
...
Signed-off-by: Ian Main <imain@redhat.com>
11 years ago
Ian Main
3eb40cae13
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>
11 years ago
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.
11 years ago
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>
11 years ago
Ian Main
485b0dcb29
Fix stack_delete()
...
Signed-off-by: Ian Main <imain@redhat.com>
11 years ago
Ian Main
c94960563a
stack_db attributes seem broken. Comment these out for now and the API
...
is generally working.
Signed-off-by: Ian Main <imain@redhat.com>
11 years ago
Ian Main
1163ec9ce7
Fix create a bit more.
...
Signed-off-by: Ian Main <imain@redhat.com>
11 years ago
Ian Main
06d5b8c378
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>
11 years ago
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>
11 years ago
Steven Dake
2915c99d46
Initial CloudFormations dummy files for vm helper tools
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Steven Dake
12b75ffa7f
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 4679fb01c6
.
11 years ago
Angus Salkeld
07e99ea570
Do mimimum to work with anydb.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
20cdc46a94
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>
11 years ago
Angus Salkeld
59b89dfbe2
Add an Outputs section to the template
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Angus Salkeld
c7d3e2179c
run dos2unix on the templates
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Chris Alfonso
447e73a82f
Updating the README to point to the Getting Started Wiki
11 years ago
Chris Alfonso
04d73a59ba
Adding the sqlalchemy db implmentation
11 years ago
Tomas Sedovic
4679fb01c6
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.
11 years ago
Steven Dake
daa4fc256b
Updated openstack script to print a note about the default network
...
Signed-off-by: Steven Dake <sdake@redhat.com>
11 years ago
Angus Salkeld
e354226876
Beginings of Volumes and VolumeAttachments
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago
Tomas Sedovic
be476524a1
Update readme with the Keystone service setup
11 years ago
Chris Alfonso
4018da0186
Add a heat database to store templates, state, and events
...
Fixes #39
11 years ago
Angus Salkeld
1f861a50cd
Make the "heat delete" command work.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
11 years ago