Forbid deletes to master if it has slaves attached

Bug #1362299 reported by Denis M.
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Iccha Sethi

Bug Description

Forbid deletes to master if it still has slaves attached to it.

Denis M. (dmakogon)
summary: Once master gets delete without detaching slaves Trove API should mark
- slaves as FAILED or ERROR
+ slaves as FAILED or ERROR or block delete call for master
Changed in trove:
assignee: nobody → Iccha Sethi (iccha-sethi)
description: updated
summary: - Once master gets delete without detaching slaves Trove API should mark
- slaves as FAILED or ERROR or block delete call for master
+ Forbid deletes to master if it has slaves attached
Revision history for this message
Amrith Kumar (amrith) wrote :

this is a replication bug fix that was targeted for Juno during the mid-cycle.

Changed in trove:
milestone: ongoing → juno-rc1
Changed in trove:
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

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

Reviewed: https://review.openstack.org/124504
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=c3139485310893fd1ddd70633fb35cae544f7b6e
Submitter: Jenkins
Branch: master

commit c3139485310893fd1ddd70633fb35cae544f7b6e
Author: Iccha Sethi <email address hidden>
Date: Fri Sep 26 14:36:26 2014 -0500

    Mandate detach replicas before deleting replica source

    If the user attempts to delete an instance which has
    replicas attached to it, forbid the delete.

    Closes bug: #1362299

    Change-Id: I644243aef74d9a34b7726139f9fa5ca8bdb1452c

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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