248 Commits

Author SHA1 Message Date
Angus Salkeld
bf651f4207 s/image/heat in auth code.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-29 22:22:33 +11:00
Angus Salkeld
d94b53c312 Copy some glance/common fixes
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-29 22:20:59 +11:00
Steven Dake
2b0465c30d run_parser.py creates an instance now
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 21:55:36 -07: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
f1ddc407d3 Updated README with more precise setup directions
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 21:29:30 -07:00
Steven Dake
61b54e7b7c Produce proper distro-arch variable for use with launching
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 14:57:48 -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
Steven Dake
5b78cd7f6b Fix spelling error dependancies->dependencies
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 11:23:25 -07:00
Steven Dake
2198a722a4 Fix spelling error
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 11:22:30 -07:00
Steven Dake
98bf9b95dd Tidy up README.rst
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 10:52:54 -07:00
Chris Alfonso
589eaa75e4 Removing OpenStack LLC copyright 2012-03-28 12:50:49 -04:00
Chris Alfonso
6d9387bb28 Adding F17 JEOS tdl
Issue #25
2012-03-28 12:43:54 -04:00
Angus Salkeld
a4b8e8afb8 Fix some tabbing.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 19:37:00 +11: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
Angus Salkeld
5a66af974b Get the heat --parameters to work.
So now this works:
heat create pile \
 --template-url=https://raw.github.com/heat-api/heat/master/templates/WordPress_Single_Instance.template \
 --parameters="InstanceType=t1.micro;DBUsername=angus;DBPassword=fruity;LinuxDistribution=F17"

Fixes Issue #40

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 13:32:33 +11:00
Steven Dake
7dd042134c Add ami conversion to OpenStack style architectures
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-27 18:57:52 -07:00
Angus Salkeld
b7377176be Account for missing Properties
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 11:45:53 +11:00
Angus Salkeld
d35f4ac648 Install /var/lib/heat directory
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 11:41:19 +11: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
Steven Dake
9b23feadae Remove unneeded deps
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-27 16:26:01 -07:00
Ian Main
8b005f9514 Fix up some imports so they work. I think this is right now. :)
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-27 11:56:30 -07:00
Steven Dake
903529c05a Add README to tools directory to help point out what files do
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-27 10:35:47 -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
Steven Dake
fbd62cb9c7 Add error checking and help to tool
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:30:18 -07:00
Steven Dake
b4b6ac333e Add a missing tab
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:20:02 -07:00
Steven Dake
d6fb3be156 Add code that shows how to create an instance
This creates an instance with a keypair, and saves the private key to
/tmp/private_key.

Then:
ssh -i /tmp/private_key 10.0.0.x where x is the IP address

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:18:21 -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
Angus Salkeld
91ee085a0d Begin the change to a python only implementation.
- Don't start pacemaker-cloud cape, instead start the
  resources (soon to be implemented).
- kill off systemctl, capelistener and json2capexml

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-26 16:45:06 +11:00
Angus Salkeld
88b77d2bed Add an experimental ssh monitoring script.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-26 15:18:29 +11:00
Steven Dake
2846b18251 Covert AWS instance types into Openstack Flavors
Issue #34

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-23 14:43:07 -07: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
Steven Dake
bce24c6aa6 Some glance keystone changes from getting started guide
https://fedoraproject.org/w/index.php?title=Getting_started_with_OpenStack_on_Fedora_17&diff=prev&oldid=279696

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-23 08:37:59 -07:00
Steven Dake
51ecb350c9 Updated with latest F17 nova auth fix
https://fedoraproject.org/w/index.php?title=Getting_started_with_OpenStack_on_Fedora_17&diff=next&oldid=279621

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-23 08:16:29 -07:00
Steven Dake
7d290c2032 install/erase working better
nova command operations not quite right yet

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-22 23:54:46 -07:00
Angus Salkeld
6c39ee3521 Add a openstack helper install script
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-23 15:54:46 +11:00
Angus Salkeld
ea6571d29b Add elastic ip association to parser.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-23 12:05:06 +11: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
Angus Salkeld
4cea0f1589 tweak the templates so the defaults are actually what we want.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-22 10:05:26 +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
faddc4daae Properly handle templates of invalid format
Fixes #19

When we receive a template that's not in JSON, we display a meaningful message
instead of a stacktrace.
2012-03-21 17:24:53 +01:00
Tomas Sedovic
8acb771bb9 Display error message on invalid template URL
Fixes #19
2012-03-21 17:07:14 +01: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
Chris Alfonso
5d8d645f4e Removed the *.log from the .gitignore so I can add the dummy files 2012-03-21 10:52:54 -04:00
Chris Alfonso
d38de842e0 Removing some of the cargo cult copy paste shrapnel 2012-03-21 10:14:00 -04:00