AWS EIPAssociation resource fails when referencing EIP resource

Bug #1473984 reported by Rakesh H S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Rakesh H S

Bug Description

When trying to deploy the following template:
http://paste.openstack.org/show/371270/

getting error:
heatclient.exc.HTTPBadRequest: ERROR: Either 'EIP' or 'AllocationId' must be provided.

Though I have provided EIP value by referencing the eip resource.

Rakesh H S (rh-s)
Changed in heat:
assignee: nobody → Rakesh H S (rh-s)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/201469

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/201469
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=99d4dac6e101884300f50d293c994458fe3008ef
Submitter: Jenkins
Branch: master

commit 99d4dac6e101884300f50d293c994458fe3008ef
Author: Rakesh H S <email address hidden>
Date: Tue Jul 14 14:23:34 2015 +0530

    Return EIP resource name during template validation

    In template if a resource tries to reference an AWS EIP resource,
    stack create will fail.
    This is because during the stack validation phase IP is not generated
    yet, and an empty string is returned by the intrinsic function
    Ref.

    Like all other resources we need to return the resource name if the
    physical resource is not created yet.

    Change-Id: I310af771ec414f8f5cda3de55861fa960673e7ff
    Closes-Bug: #1473984

Changed in heat:
status: In Progress → Fix Committed
Changed in heat:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-2 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.