[system-tests]Add test for cinder+rbd cow regression

Bug #1379543 reported by Dmitry Borodaenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dennis Dmitriev

Bug Description

Bug #1373096 was a regression of copy-on-write behaviour when creating a Cinder volume from a Glance image, with both using Ceph RBD backend.

We need to add a check to our ceph system test to confirm that the RBD object created for a new volume based on a RAW Glance image has a parent (can be verified using "rbd ls -l volumes/<volume-id>" command).

Changed in fuel:
milestone: next → 6.0
importance: Low → Medium
Changed in fuel:
milestone: 6.0 → 6.1
summary: - Add test for cinder+rbd cow regression
+ [system-tests]Add test for cinder+rbd cow regression
Changed in fuel:
importance: Medium → High
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dennis Dmitriev (ddmitriev)
status: Confirmed → In Progress
tags: added: non-release
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Bug description updated to highlight that you should be creating a Cinder volume from a RAW Glance image. If image in Glance is QCOW2 (which is the format Fuel uses for its CirrOS image), copy-on-write will still not happen.

description: updated
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Here's an example of rbd output for a cloned image with a parent:

 [root@node-10 ~]# rbd info volumes/volume-1981a808-fc21-4a2d-aaf1-7052a4bbb0ee
rbd image 'volume-1981a808-fc21-4a2d-aaf1-7052a4bbb0ee':
       size 1024 MB in 128 objects
       order 23 (8192 kB objects)
       block_name_prefix: rbd_data.163e17d07053
       format: 2
       features: layering
       parent: images/d6860d44-0dfd-48a2-bb28-a44c24f23ba5@snap
       overlap: 40162 kB

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
milestone: 6.1 → 7.0
Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
tags: added: area-qa
removed: ceph non-release
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.