Ceph: can't delete backup if the ceph pool doesn't exist

Bug #1686897 reported by wangxiyuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
wangxiyuan

Bug Description

Eev:
Cinder master with Ceph backend.

Reproduce:
1. create a backup for a volume with a non-exist container:

cinder backup-create {volume_id} --container {fake_container}

the backup will be error.

2. Try to delete the error backup.

Expect:
The error backup could be deleted.

Actually:
The error backup can't be deleted.

wangxiyuan (wangxiyuan)
Changed in cinder:
assignee: nobody → wangxiyuan (wangxiyuan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

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

Reviewed: https://review.openstack.org/461082
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=675089f86d704d4a968c614d7cf15ea873598150
Submitter: Jenkins
Branch: master

commit 675089f86d704d4a968c614d7cf15ea873598150
Author: wangxiyuan <email address hidden>
Date: Fri Apr 28 23:33:01 2017 +0800

    Ceph: Fix delete backup with non-existent pool

    If a non-existent pool is specified, Ceph will raise
    ObjectNotFound error when deleting a backup.

    Cinder should catch this error and delete the db
    record directly.

    Change-Id: I41177b9b1f63c6bd2296a5eff70f0058ce3393e5
    Closes-bug: #1686897

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.0.0.0b2

This issue was fixed in the openstack/cinder 11.0.0.0b2 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.