Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova ceph copy-on-write images doesn't work even if it's configured to

Hello,

I've a problem.

I have Openstack + ceph cluster and I'm using RAW images.

Unfortunately, only cinder volumes is copy-on-write clones. If i create nova instance its disk is flattened.

during instance creation i see(its okay i see the parent):

# rbd info compute/e9414caf-f60a-43bf-929f-45bab96550a9_disk
rbd image 'e9414caf-f60a-43bf-929f-45bab96550a9_disk':
        size 2252 MB in 282 objects
        order 23 (8192 kB objects)
        block_name_prefix: rbd_data.3271361285c77
        format: 2
        features: layering, striping
        flags:
        parent: images/83f1ae0a-864a-4130-a4a3-0fd492cc100e@snap
        overlap: 2252 MB
        stripe unit: 8192 kB
        stripe count: 1

when instance is already created i don't see parent image

# rbd info compute/e9414caf-f60a-43bf-929f-45bab96550a9_disk
rbd image 'e9414caf-f60a-43bf-929f-45bab96550a9_disk':
        size 40960 MB in 5120 objects
        order 23 (8192 kB objects)
        block_name_prefix: rbd_data.3271361285c77
        format: 2
        features: layering, striping
        flags:
        stripe unit: 8192 kB
        stripe count: 1

My glance-api.conf seems to be fine(pasting important lines):

show_image_direct_url = True
show_multiple_locations = True
enable_v2_api = true

Maybe someone have any idea why it isn't working or how can i debug this?