Improve snapshot handling in Kaminario K2 FC and iSCSI cinder drivers

Bug #1608488 reported by nikeshkm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
nikeshkm

Bug Description

In creating snapshot, we use "Best Effort" retention policy.
In this policy snapshot may be deleted in case capacity is running
out, causing an inconsistency between K2 state and cinder DB.

In order to avoid this inconsistency, add "is_auto_deleteable=False"
to the snapshot properties, in order to avoid auto deleting
the snapshot.

nikeshkm (nike-niec)
summary: - Improve snapshot handling in K2
+ Improve snapshot handling in Kaminario K2 FC and iSCSI cinder drivers
Changed in cinder:
assignee: nobody → nikesh (nike-niec)
Changed in cinder:
status: New → In Progress
Eric Harney (eharney)
tags: added: drivers kaminario
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/348984
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=7e10619e6a549456ed923f9c91b3ce3e9e15a597
Submitter: Jenkins
Branch: master

commit 7e10619e6a549456ed923f9c91b3ce3e9e15a597
Author: Nikesh Mahalka <email address hidden>
Date: Fri Jul 29 13:52:50 2016 -0400

    Improve snapshot handling in K2

    In creating snapshot, we use "Best Effort" retention policy.
    In this policy snapshot may be deleted in case capacity is running
    out, causing an inconsistency between K2 state and cinder DB.

    In order to avoid this inconsistency, add "is_auto_deleteable=False"
    to the snapshot properties, in order to avoid auto deleting
    the snapshot.
    Closes-Bug: #1608488
    Change-Id: I70f770ce42ff56314b893a48ff7ed1a46a4ae55f

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/cinder 9.0.0.0b3

This issue was fixed in the openstack/cinder 9.0.0.0b3 development milestone.

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.