Template with an OS::Trove::Instance restore_point property fails with 400 error

Bug #1338626 reported by Jason Dunsmore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Jason Dunsmore

Bug Description

The following template fails with a 400 error:

heat_template_version: 2013-05-23
resources:
  database:
     type: "OS::Trove::Instance"
     properties:
       restore_point: "437a45a2-b8bb-4b8b-b437-b7eec287b37a"
       size: 5
       name: dbtest
       flavor: 2GB Instance
outputs:
  database_hostname:
    description: The hostname of the db instance
    value: { get_attr: [database, hostname] }

Heat fails with:

Resource CREATE failed: BadRequest: Validation error: instance['restorePoint'] u'ef3a4892-4e8b-4b8b-8a88-7c36247d115d' is not of type 'object' (HTTP 400)

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/105210

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/105210
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=299baef1f6adabd598834c1db9577d0f014db9e5
Submitter: Jenkins
Branch: master

commit 299baef1f6adabd598834c1db9577d0f014db9e5
Author: Jason Dunsmore <email address hidden>
Date: Mon Jul 7 10:24:37 2014 -0500

    Fix OS::Trove::Instance restore_point property

    python-troveclient expects restorePoint to be a dictionary with a
    "backupRef" key.

    Change-Id: Ib4d83e82dcd5c012fdc12255a93682a6c2d9f47c
    Closes-Bug: #1338626

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