Bad math interpreting rbd_store_chunk_size leads to wrong chunk size and slow upload of images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
David Wilde |
Bug Description
Setting rbd_store_
2014-11-06 11:42:30.619 6986 DEBUG glance_
2014-11-06 11:42:30.626 6986 DEBUG glance_
2014-11-06 11:42:30.633 6986 DEBUG glance_
2014-11-06 11:42:30.638 6986 DEBUG glance_
/usr/lib/
self.chunk_size = chunk * (1024 ^ 2)
should be either
self.chunk_size = chunk * (1024 ** 2)
or
self.chunk_size = chunk * units.Mi
tags: | added: low-hanging-fruit |
Changed in glance: | |
assignee: | nobody → David Wilde (david-wilde-rackspace) |
Duplicate of #1370247