Steven Dake
98649be02d
updated F17 x86_64 cfntools tdl to new cloudinit model
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-12 14:00:24 -07:00
Steven Dake
797ea880d9
Install cloudinit specific files that are loaded into the mime userdata
...
Partially fixes Issue #48
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-12 13:33:27 -07:00
Steven Dake
af451c2074
Updated x86_64 cfntools tdl to work with broken F16 repos and cloud-init
...
Partially fixes Issue #48
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-12 13:17:46 -07:00
Chris Alfonso
1a3186dc6f
fixing small sed typo
2012-04-12 14:00:53 -04:00
Tomas Sedovic
b633c768c4
Add elastic IP and userdata to 2-instance template
...
Ref: #56
The 2-instance Wordpress template with EBS now uses Elastic IPs for both
servers. The IPs are referenced from the init scripts in UserData.
The template wasn't tested yet.
2012-04-12 18:28:00 +02:00
Chris Alfonso
c226a24efc
Fixing the heat events_list <stack name>
...
Patch provided by Zane Bitter, thx.
2012-04-12 11:06:54 -04:00
Tomas Sedovic
ead1838fb7
Move the EIP settings into a different template
...
We'll keep the WordPress_Single_Instance.template simple.
2012-04-12 16:57:48 +02:00
Angus Salkeld
d41059f6a9
Initial ElasticIp work - not quite working
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-12 13:23:15 +02:00
Jeff Peeler
9358f20d40
Add newly added tdls to manifest.
...
Related to issue #26
2012-04-11 22:22:43 -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
Zane Bitter
adf53e972a
Fix exception getting events list
...
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 19:17:48 +02:00
Zane Bitter
f2a952c790
Import missing exceptions
...
The local definitions of several exceptions were removed by commit
e7f05dba5d899200b9e09b22ea423fa33fd1b612 because OpenStack already provides
them, but we need to import them to actually be able to use them.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 18:59:33 +02:00
Zane Bitter
34962ac074
Fix setting of admin role in keystone service
...
The script was looking for the "admin" user instead of the "admin" *role*.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 17:17:04 +02:00
Chris Alfonso
1185476275
Resolving functional conflicts from merge
2012-04-11 09:48:42 -04:00
Chris Alfonso
0dc8d604ab
Adding new files to heat.spec file
2012-04-11 09:06:46 -04:00
Chris Alfonso
dc696e5e9c
Defaulting to the mysql db_backend, removing anydbm
2012-04-11 09:06:46 -04:00
Chris Alfonso
1c96afa502
Making delete stack work
2012-04-11 09:06:46 -04:00
Chris Alfonso
f2f4aff187
Persisting resources
2012-04-11 09:06:46 -04:00
Chris Alfonso
c8868921fa
Made datetime objects JSON compatible by calling their to string functions
2012-04-11 09:02:18 -04:00
Chris Alfonso
77a004167a
Integrating all stack, template, and event calls with database
2012-04-11 09:02:18 -04:00
Zane Bitter
95e1031495
Fix reporting of RemoteError exceptions from AMQP
...
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 14:03:37 +02:00
Zane Bitter
f45f677a5f
Handle missing config file
...
Report a more useful error when no config file can be found.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 14:03:37 +02:00
Angus Salkeld
7523932c5d
Fix silly spello
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-11 20:05:46 +10:00
Angus Salkeld
4539bdeca6
Record the reason for any failures
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-11 20:05:46 +10:00
Steven Dake
9bad232991
Make better use of cloud-init
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-11 00:38:52 -07:00
Angus Salkeld
df1ad15c8a
Make the create/delete non-blocking
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-11 14:52:12 +10:00
Angus Salkeld
2c492583e1
Fix path to keystonerc
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-11 12:55:57 +10:00
Steven Dake
4b360e33c2
Rename cftools to cfntools in the wordpress single instance template
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-10 18:01:59 -07: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
39f953802f
Move cfntools to heat directory so they are accessible by jeos_create
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-10 11:59:38 -07:00
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.
2012-04-10 18:06:24 +02:00
Angus Salkeld
20c2b8891a
Try harder to detach the server volume.
...
It seems to need some encouragement.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-10 14:20:51 +10:00
Angus Salkeld
da38f9af18
Don't use the "depends_on" in resource.start
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-10 14:20:51 +10:00
Angus Salkeld
b3893cde96
Cleanup some prints in the resources
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-10 14:20:51 +10:00
Angus Salkeld
555bb45cd5
Add a 2 instance wordpress example
...
Ref #56
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-10 14:20:23 +10:00
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>
2012-04-10 09:41:39 +10:00
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"
}
}
}
}
}
}
2012-04-09 13:37:04 -04:00
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>
2012-04-09 22:23:42 +10: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
c0fd06bc1f
Fix "heat list" only showing empty list.
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 16:43:09 +10: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
aff20aca99
Use local.py from openstack-common
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 16:43:09 +10:00
Steven Dake
f4d4f60f8f
Add F17 cftools TDL
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-04 18:50:03 -07:00
Steven Dake
d6cce8198d
Add F16 cftools tdl
...
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-04 17:39:24 -07:00
Angus Salkeld
bd598a8399
Fix events_list
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 10:19:32 +10:00
Angus Salkeld
d9ab5bdad4
Fix describe and delete
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 10:12:44 +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