add support for image cache
Bug #1869903 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Fix Released
|
Medium
|
Eric Chen |
Bug Description
If you boot a vm from a bootable volume and that volume, when that volume is created it might be necessary to convert the image to raw format if it is stored as qcow2 in Glance. By default Cinder will not cache downloaded images but doing so can save a lot of time when booting from volume where conversions and/or downloads are necessary.
https:/
Changed in charm-cinder: | |
milestone: | none → 20.05 |
importance: | Undecided → Medium |
Changed in charm-cinder: | |
milestone: | 20.05 → 20.08 |
Changed in charm-cinder: | |
milestone: | 20.08 → none |
tags: | added: onboarding |
tags: |
added: good-first-bug removed: onboarding |
Changed in charm-cinder: | |
assignee: | nobody → YenHung Chen (eric-chen) |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bug hygiene:
Triage:
Adding the following to the template and any other requirements per the doc [0]
[ceph] cache_enabled
image_volume_
1) Add a config option to turn on the cache which should default to off cache_max_ size_gb and image_volume_ cache_max_ count.
2) Update pertinent templates i.e. parts/backends
3) * Potentially add config options or calculations for image_volume_
* Keep in mind cinder instances are most often in a LXD container and may not have an infinite amount of disk space.
This would make an excellent on-boarder task.
[0] https:/ /docs.openstack .org/cinder/ latest/ admin/blockstor age-image- volume- cache.html