Bug 2002755 - Cinder and Glance rbd chunk size should be the same and configurable [NEEDINFO]
Summary: Cinder and Glance rbd chunk size should be the same and configurable
Keywords:
Status: ON_DEV
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Giulio Fidente
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-09 15:56 UTC by Giulio Fidente
Modified: 2023-08-15 14:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
gfidente: needinfo? (eharney)
gfidente: needinfo? (ltoscano)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1957759 0 None None None 2022-01-13 09:54:30 UTC
OpenStack gerrit 824520 0 None NEW Add support for rbd_store_chunk_size configuration in cinder/rbd 2022-04-11 21:32:22 UTC
OpenStack gerrit 824525 0 None NEW Add support for RbdStoreChunkSize configuration, defaults to 8MB 2022-04-11 21:32:24 UTC
Red Hat Issue Tracker OSP-9475 0 None None None 2021-11-15 12:52:01 UTC

Description Giulio Fidente 2021-09-09 15:56:21 UTC
Glance and Cinder appear to be using different defaults for the rbd_chunk_size while they should not or operations which involve snapshotting/cloning images will fail.

This is especially important when the Ceph cluster is at the Pacific level, where such a thing is enforced with the cluster returning error if it isn't, see https://review.opendev.org/c/openstack/cinder/+/804265

While recent versions of Cinder are trying to workaround this by adopting whichever chunk size is in use for the source image, we should configure the services to use by the same value and eventually make it configurable for performance reasons.

puppet-glance and puppet-cinder support this already

https://github.com/openstack/puppet-glance/blob/master/manifests/backend/multistore/rbd.pp#L32

https://github.com/openstack/puppet-cinder/blob/master/manifests/backend/rbd.pp#L62

Comment 2 Alan Bishop 2022-01-13 17:26:34 UTC
There's a discussion in #rhos-storage that suggests this BZ should be an RFE, and coordinated with the cinder squad to address any questions such as whether there's a performance impact on changing the chunk size for all newly created cinder volumes. The change might be suitable for a future release, but may not be suitable for slipping into an OSP-16 maintenance release.


Note You need to log in before you can comment on or make changes to this bug.