Deleting a recordset returns 204 (Deleted) even though it is async

Bug #1420359 reported by Vinod Mangalpally
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Medium
Vinod Mangalpally

Bug Description

Deleting a recordset returns 204 (deleted) and not a 202 (pending). This is because the status and action on a delete of a recordset are not set correctly. Even though central tries to set the records to "delete/pending", when it is returned to the api the status/action are set to "active/none"

Tim Simmons (timsim)
Changed in designate:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

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

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

Reviewed: https://review.openstack.org/156334
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=2dac606a3a508897ebf7d678b1f1f621e5ef9f1c
Submitter: Jenkins
Branch: master

commit 2dac606a3a508897ebf7d678b1f1f621e5ef9f1c
Author: Vinod Mangalpally <email address hidden>
Date: Mon Feb 16 14:43:16 2015 -0600

    Deleting a recordset returns 202

    * Update the recordset's status correctly before deleting it.
    * Deleting a zone now returns 202 with the zone, showing
    the status and action
    * Deleting a recordset now returns 202 with the recordset,
    showing the status and action

    One issue still remains (needs a different fix):
    Deleting a recordset without any records returns 202,
    but the recordset returned shows a status of 'ACTIVE'
    and not 'PENDING'. This is because recordset does
    not have a status field.

    Change-Id: Id7bf645adbbf8eadc509781a4ab16bef51f0536f
    Closes-Bug: 1420359

Changed in designate:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in designate:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in designate:
milestone: kilo-3 → 2015.1.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.