Bug 1763839 - RFE: Image pre-caching
Summary: RFE: Image pre-caching
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ga
: ---
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-21 17:43 UTC by Dan Smith
Modified: 2023-08-08 16:21 UTC (History)
16 users (show)

Fixed In Version: openstack-nova-23.0.3-0.20210908140341.e39bbdc.el9ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-28 17:59:40 UTC
Target Upstream Version: Victoria
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 687140 0 None MERGED Add image caching API for aggregates 2022-11-28 18:02:09 UTC
Red Hat Issue Tracker OSP-3686 0 None None None 2022-03-19 08:38:17 UTC

Description Dan Smith 2019-10-21 17:43:30 UTC
Support image pre-caching on compute nodes as requested via the API.

Upstream spec: 

https://specs.openstack.org/openstack/nova-specs/specs/ussuri/approved/image-precache-support.html

Procedure for QE will be:

0. Set image_cache_manager_interval to something short like 10m for compute nodes
1. Set up a deployment with multiple compute nodes not using Ceph
2. Create an aggregate around multiple compute nodes
3. Request some image be pre-cached on that aggregate (openstack aggregate cache images)
4. Check logs on compute nodes to confirm (grep for 'Caching.*request' in compute logs. Check for errors around that time. Note timestamp on base image in $nova/instances/_base.
5. Re-request the same image, check that compute logs indicate that the image is already cached. Check base image file timestamp to ensure it has been updated.
6. Ensure that requesting the image be cached keeps the cache manager from removing it, and that it *is* removed once the cache manager runs after $interval time has passed since the last cache request.

Comment 1 melanie witt 2019-10-25 14:58:16 UTC
Setting metadata after the triage call.

Comment 10 Artom Lifshitz 2022-08-23 16:50:47 UTC
This will need an enhancement doctext once this graduates out of Tech preview (https://bugzilla.redhat.com/show_bug.cgi?id=2120757)

Comment 13 Artom Lifshitz 2023-06-28 17:59:40 UTC
Closing as CURRENTRELEASE. The code is present in 17.0 and 17.1, but no further QE work will be performed due to lack of capacity. This puts this RFE into the "implicitly supported" category like most Nova features that originate in the community and that appear in our OSP code without much involvement from Red Hat engineers. If a significant enough bug ends up being reported for this feature, we will re-evaluate the QE situation.

There will, however, be documentation written for this feature: https://issues.redhat.com/browse/RHOSPDOC-1276.


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