In AWS::EC2::Instance UserData should be optional but is failing..

Bug #1090544 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Zane Bitter

Bug Description

If an instance is listed in a template without UserData the following CREATE_FAILED error is shown in event-list:

unsupported operand type(s) for +=: 'NoneType' and 'str'

Not sure if this is specific to yaml or not, but thats what I was using when this was seen.

description: updated
Zane Bitter (zaneb)
Changed in heat:
assignee: nobody → Zane Bitter (zaneb)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/18157
Committed: http://github.com/openstack/heat/commit/a64fc0bc4b3a3104778efcbf5151783922172e49
Submitter: Jenkins
Branch: master

commit a64fc0bc4b3a3104778efcbf5151783922172e49
Author: Zane Bitter <email address hidden>
Date: Fri Dec 14 22:45:07 2012 +0100

    Handle empty UserData for instance

    UserData is not required, so handle the case where it is not supplied (i.e.
    is None).

    bug 1090544

    Change-Id: If8bfe9ba2aafe3bb2e9de14b01c57d1ddcf9b21d
    Signed-off-by: Zane Bitter <email address hidden>

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-2 → 2013.1
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.