Instance-Delete Should Stop the Database First

Bug #1381174 reported by Auston McReynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Auston McReynolds

Bug Description

on instance-delete, the database should be stopped before deleting the nova compute.

why: if volumes are being used, delete_on_terminate today defaults to true (meaning if the compute is terminated, the volume is deleted). the phrase "the volume is deleted" means different things depending on the vendor you're using. for example, solidfire supports the ability to "undelete" a volume if done so within a specified window after deletion. if you're using such a vendor, you want the database properly stopped before deleting the server+volume to ensure that the data is a-ok for an undelete situation.

relevant code section: https://github.com/openstack/trove/blob/0007a5076aa795fc354b122ae591980c9413f054/trove/taskmanager/models.py#L846-L857

description: updated
Changed in trove:
milestone: none → kilo-1
importance: Undecided → Medium
status: New → Triaged
Changed in trove:
assignee: nobody → Auston McReynolds (amcrn)
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/129104

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

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

commit 9a9477c2225ec05dc8f0a2e45fe0f4cdd0a33e7c
Author: amcrn <email address hidden>
Date: Thu Oct 16 18:32:55 2014 -0700

    Instance-Delete Should Stop the Database First

    on instance-delete, the database should be stopped before deleting
    the nova compute.

    Closes-Bug #1381174

    Change-Id: I94c2fa08be7faac37e1ac0a4460ad61f1f7ef164

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: kilo-1 → 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.