Highly inefficient storage allocation on ceph-osd nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
High
|
Oleksiy Molchanov | ||
8.0.x |
Won't Fix
|
High
|
MOS Maintenance | ||
Mitaka |
Won't Fix
|
High
|
Oleksiy Molchanov |
Bug Description
Fuel creates OSD journals within the main storage (on the rotating hard drive) even if an SSD is available.
OSD journal is mostly write-only and gets fsync'ed very often. Therefore it should reside on a fast
device (such as an SSD). Also storing the journal in the filesystem (especially a journaling one)
introduces substantial overhead for nothing good at all, therefore a raw block devices (partitions,
logical volumes, etc) are more appropriate for OSD journals.
* Steps to reproduce:
- Deploy a cluster on several nodes having an SSD and a rotating hard drives, use Ceph for nova, cinder, and glance
* Expected results:
- Fuel allocates OSD journal partitions on SSD on every OSD node
* Actual results:
- Fuel allocates the OSD journal as an ordinary file residing in the main OSD storage (on the rotating hard drive)
* Impact:
- IO to cinder volumes is extremely slow (like ~2 -- 10 MB/sec)
- Creating, resizing glance images (of a reasonable size < 10 GB) is extremely slow (up to few minutes)
- Performance and scale tests fail with a timeout, see https:/
* Workaround:
- Manually repartition SSD and move the SSD journal there. Not suitable for automated tests, though.
no longer affects: | fuel/newton |
Thank you for report, we aware of the issue and it requires refactoring of volumes manager.