should catch GlanceMetadataNotFound in creating cgsnapshot

Bug #1567211 reported by wanghao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
wanghao

Bug Description

When creating cgsnapshot, Cinder will copy bootable volume's image metadata to snapshot, but if the volume don't have image metadata, Cinder should catach GlanceMetadataNotFound and let it pass, but now Cinder only catch CinderException and raise it.

This is inconsistency with creating snapshot. So we should fix it.

wanghao (wanghao749)
Changed in cinder:
assignee: nobody → wanghao (wanghao749)
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/302691

Changed in cinder:
status: New → In Progress
wanghao (wanghao749)
Changed in cinder:
importance: Undecided → Low
milestone: none → mitaka-rc2
wanghao (wanghao749)
Changed in cinder:
milestone: mitaka-rc2 → newton-1
Changed in cinder:
milestone: newton-1 → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/302691
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=79f21bbc5f8d38537a8d6a50c8f2088fb27a37b7
Submitter: Jenkins
Branch: master

commit 79f21bbc5f8d38537a8d6a50c8f2088fb27a37b7
Author: wanghao <email address hidden>
Date: Thu Apr 7 19:39:41 2016 +0800

    Catch GlanceMetadataNotFound in creating cgsnp

    When creating cgsnapshot, Cinder will copy
    bootable volume's image metadata to snapshot,
    but if the volume doesn't have image metadata,
    Cinder should catch GlanceMetadataNotFound
    and let it pass, but now Cinder only catch
    CinderException and raise it.

    This is inconsistency with creating snapshot.

    Change-Id: I52a6183af149440434296a16c1717f53d7fc1dc0
    Closes-Bug: #1567211

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b2

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