← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1404082] [NEW] rbd_store_chunk_size Sets to Bytes instead of kB

 

Public bug reported:

In Juno-Release I am experiancing rbd_store_chunk_size setting the image
object size to bytes rather than kB resulting in much much more objects
being created

Icehouse Install
root@node-1:~# rbd info images/62e06da9-2d39-4c7f-a2d8-d869953b9996@snap
rbd image '62e06da9-2d39-4c7f-a2d8-d869953b9996':
        size 4096 MB in 512 objects
        order 23 (8192 kB objects)
        block_name_prefix: rbd_data.6a282e18d096
        format: 2
        features: layering
        protected: True

Juno Install
root@hvm003 ~]# rbd info images/136dd921-f6a2-432f-b4d6-e9902f71baa6@snap
rbd image '136dd921-f6a2-432f-b4d6-e9902f71baa6':
        size 4096 MB in 524288 objects
        order 13 (8192 bytes objects)
        block_name_prefix: rbd_data.10d73ac85fb6
        format: 2
        features: layering
        protected: True

Either the documentation needs updating or rbd_store_chunk_size needs to
be changed to set the object size in kB. Currently the workaround to get
back to 8MB object size is 'rbd_store_chunk_size = 8192'

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1404082

Title:
  rbd_store_chunk_size Sets to Bytes instead of kB

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  In Juno-Release I am experiancing rbd_store_chunk_size setting the
  image object size to bytes rather than kB resulting in much much more
  objects being created

  Icehouse Install
  root@node-1:~# rbd info images/62e06da9-2d39-4c7f-a2d8-d869953b9996@snap
  rbd image '62e06da9-2d39-4c7f-a2d8-d869953b9996':
          size 4096 MB in 512 objects
          order 23 (8192 kB objects)
          block_name_prefix: rbd_data.6a282e18d096
          format: 2
          features: layering
          protected: True

  Juno Install
  root@hvm003 ~]# rbd info images/136dd921-f6a2-432f-b4d6-e9902f71baa6@snap
  rbd image '136dd921-f6a2-432f-b4d6-e9902f71baa6':
          size 4096 MB in 524288 objects
          order 13 (8192 bytes objects)
          block_name_prefix: rbd_data.10d73ac85fb6
          format: 2
          features: layering
          protected: True

  Either the documentation needs updating or rbd_store_chunk_size needs
  to be changed to set the object size in kB. Currently the workaround
  to get back to 8MB object size is 'rbd_store_chunk_size = 8192'

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1404082/+subscriptions


Follow ups

References