Delete events fails in postgres

Bug #1301827 reported by Zhang Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Zhang Yang

Bug Description

An error happens when heat delete events in postgres, and you can find this error message in log, "Only deletion via a single table query is currently supported". It seems that JOIN/DELETE is not supported in "sqlalchemy/orm/". This error will breake almost all stack actions.

Changed in heat:
assignee: nobody → Zhang Yang (neil-zhangyang)
description: updated
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/85982

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

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

commit dca6c7b6661d6b972fc9f783051227d2eb849d02
Author: Zhang Yang <email address hidden>
Date: Tue Apr 8 01:48:07 2014 -0700

    Fix delete event error in postgres

    An error happens when heat delete events in postgres,
     It seems that JOIN/DELETE is not supported in
    "sqlalchemy/orm/".

    Let heat delete events in postgres in the common
    way.

    Closes-Bug: #1301827
    Change-Id: Id320abf15c4fd9f58e411ad7de7f044a9b5d1c1e

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