Create a better exception in Fn::Replace

if the replace value is the wrong type we get a generic exception
out of string.replace that does not really help with debugging
a template.

Change-Id: I2d6d5509b8900b11bfbf148230d57438e1f9962a
Save parse errors in TemplateResource for later

If there was a parse error re-raise it in the validate.

Change-Id: I25759c4f03fe8f9353c03f8fd4d9bb099ea1b478
Close-bug: #1232127
Increase support for the AllocationId property

This patch makes it possible to use the following snippet:

  "VpcIp": {
    "Type": "AWS::EC2::EIP",
    "Properties": {
      "Domain":"vpc"
    }
  },
  "VpcIPAssoc" : {
    "Type" : "AWS::EC2::EIPAssociation",
    "Properties" : {
       "InstanceId" : { "Ref" : "Server"},
       "AllocationId" : { "Ref" : "VpcIp" }
     }
  }

Previously the Heat service would fail the stack creation because it was
looking for the Neutron router created by means of AWS::EC2::VPC
resource.

Fixes bug: 1234671
Change-Id: I6fb6a5cd0d034d15516fcc0cb266c695836d972c
Catch the appropriate exception for missing instance

Catch ClientException instead of NotFound since this is
what the underlying client library actually throws.

Closes-Bug: #1236911
Change-Id: I1e7f3c69c216d19705cab9bdcd7302e1b917fdd4
A resource to generate random strings

A common pattern for templates is to define parameters
for passwords and specify the password on stack create.
For complex templates this can impact template maintainability
and makes stack creation more complicated.

In addition, a password parameter leaves the temptation of
using the same password (or worse, the parameter default) on
each stack launch which raises the security risk.

This resource allows secrets to be generated in the template and
propagated to compute resources as needed. Often the user will
never want to see the generated string, but if they do they
can put it in a stack output.

This resource has been requested by the tripleo project
who run trunk heat, so it will be of immediate benefit to them.

Implements blueprint random-string-resource

Change-Id: I044fc7717133fc7a3520dca774300024925ff2aa
Remove obsolete redhat-eventlet.patch

See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
Fix some docs warnings and errors

These came out of "make html".

Change-Id: Iff009879de16bdad806b64e9f6beb64bb9cf6240
Return Integer or Float casted value in NumberParam

Integer value used in parameter, so failed validation in properties.
The solution here is return Integer casted value or Float casted value
as value of NumberParam.

The method of which type choose for cast is same of Property.str_to_num.

Fixes bug #1226494

Change-Id: I9f7d894ffae8a728dce783d5881af3d377268b93
Allow overriding the instance_user per server

I have called the property 'admin_user' as the bug suggests.

Closes-bug: #1229825
Change-Id: I578ba9c0419383b34ac137e714f9cc00fe696ea3
Imported Translations from Transifex

Change-Id: Ie1605371add0b8fca445f993f3a2767a72fbd484
Raise error if instances are created with names > 63 chars

The maximum hostname on Linux is 64 characters.  DHCP is limited to
this host maximum.  Unfortunately Nova allows the creation of servers
with names > 63 characters in length.  This patch is a short-term
solution to improve the failure condition, so we draw attention to
the problem, enabling the user to work around with shorter names.
A subsequent patch will be required which mangles names such that we
truncate or compact names automatically.

Closes-Bug: 1238272
Change-Id: I2114135b7f4b649a906c3adaea1869d1a1290a3b
Merge "Fix some docs warnings and errors"
Merge "Allow overriding the instance_user per server"
Merge "Return Integer or Float casted value in NumberParam"
Merge "Imported Translations from Transifex"
Merge "Catch the appropriate exception for missing instance"
Merge "Create a better exception in Fn::Replace"
Merge "Save parse errors in TemplateResource for later"
Merge "Raise error if instances are created with names > 63 chars"
Merge "Increase support for the AllocationId property"