Remove crankcase patch since fix was merged upstream

Added a patch to force yum to retry indefinately on crankcase builds
because the OpenShift repositories were too busy.  I submitted this upstream
in:

  https://github.com/openshift/crankcase/pull/336

and it was merged.

As a result, removing this workaround.

Change-Id: I26e0a162d5cfb4bc23843c93678318ff21610973
Signed-off-by: Steven Dake <sdake@redhat.com>
change amd64 reference to x86_64 to match latest cfntools

Change-Id: I11f4bd974326c7f1b4e287389b22c5ec3f20bdf9
Signed-off-by: Steven Dake <sdake@redhat.com>
Merge "change amd64 reference to x86_64 to match latest cfntools"
Make template params resolution standalone

This makes the two functions for resolving template data (Fn::FindInMap,
Ref, etc.) available outside of a Stack object.

Other programs can then import these functions and see how the template
parameters get resolved.

Change-Id: I92de937a3fb25f907404335cb71554036a807c50
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
Getting Started: Use install.sh script

Change-Id: I7f189f8d3e0557503eca23a5489a98589bfff4f3
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Getting Started: Add configuration info for the metadata server

Change-Id: Ie99bfd1c5e7bcaedd7757872d7d618d2cf29b137
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat templates : Add openshift template for pre-built jeos

Add new openshift template which uses a pre-built JEOS
also creates the example application allowing a fairly
quick full demo of a two-instance openshift setup

Fixes #186

Change-Id: I9bd886b0717c8b0d810eff036b76883b537c2421
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat api : bugfix, save config correctly in EC2Token

Fix issue where EC2Token fails to save the config correctly,
which breaks AWS Authentication

Fixes #191

Change-Id: I77dfe182aac81c55b7d487d88073b40eac1faadd
Signed-off-by: Steven Hardy <shardy@redhat.com>
Update Getting started to match change to heat-jeos

heat-jeos list will no longer list jeos in the image name.  As a result,
we can't specify "-jeos" in the getting started guide.

Signed-off-by: Steven Dake <sdake@redhat.com>
heat cli : remove unused paths from heat cli tool

Cleanup the the jeos and cfntools paths which are no longer needed

Change-Id: Idc7d37446a0072e38369939cbd3fd5fb374c15c9
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat cli : remove some duplication from parameter formatting

Cleanup - bin/heat move some duplicated code into a function

Change-Id: Ib74077c557a2b8d7c640ee1686237bb5223b2a85
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat cli : Rework to separate cli tool from client-API wrappers

Rework to remove duplication between heat and heat-boto, and to
provide better separation between the CLI tool logic and the
underlying client API (should allow easier porting to new ReST API)

Ref #175 (partially fixes)
Fixes #192

Change-Id: Ib1f821667c40c78770a345204af923163daeffae
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat cli : Workaround inconsistent boto return type

Work around the inconsistent boto return type for DescribeStackResource
action, upstream patch pending but not yet merged, so this provides
a simple workaround

Fixes #175

Change-Id: I026ec7b1845fb591a47a5fb12cfcb25705b33909
Signed-off-by: Steven Hardy <shardy@redhat.com>
Use cached keystoneclient

Change-Id: I787edd10bcc29746a08878fd371204f81f0400db
Signed-off-by: Steven Dake <sdake@redhat.com>
heat template : Align two Openshift template varieties

Align the build-from-scratch Openshift.template with the
now-working OpenShift_Prebuilt_JEOS.template

Change-Id: I8d164b0837b4cb28a6ce4ad1573b19f8daf68b8a
Signed-off-by: Steven Hardy <shardy@redhat.com>
Add a tool to register prebuilt JEOS images into glance from github

Change-Id: Idb02e892f390516557c9cce3ca0fbab7109d33e1
Signed-off-by: Steven Dake <sdake@redhat.com>
Inject command into userdata

The injected command touches /var/lib/cloud/instance/provision-finished
so it is easily determinable if provision has been completed.

Change-Id: Ib5b93f7bd14f533af41182ffdab6a029a3b9e13a
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
heat tools : glance-jeos-add-from-github scrape image names

Scrape image names from github index page to avoid hard-coded
names in the script

Change-Id: Ifca85b71a1c20d436486a80cc5e9347a7791e5fa
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat tools : glance-jeos-add-from-github avoid duplicates

Avoid adding images to glance when they already exist

Change-Id: Ia914cc3015fcdcc0c12e3773985298fce6872751
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat engine : Fix engine.api variable shadowing

Fix weird-looking/confusing variable shadowing in
the engine api

Change-Id: Ic7aca18ef877149bbdb49ee33abc62241706a3f3
Signed-off-by: Steven Hardy <shardy@redhat.com>