Bug 1710557

Summary: [RFE] Provide playbooks to pre-cache images on edge glance cache
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: openstack-tripleoAssignee: John Fulton <johfulto>
Status: CLOSED WONTFIX QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: bdobreli, gcharot, gfidente, harsh.kotak, jslagle, mburns, mschuppe, ohochman, owalsh, pdeore, pgrist, rheslop, spower
Target Milestone: ---Keywords: FeatureBackport, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1710574 (view as bug list) Environment:
Last Closed: 2023-04-19 17:38:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1706896, 1710078, 1764511, 1790755    
Bug Blocks:    

Description John Fulton 2019-05-15 18:55:12 UTC
Given the following deployment:

- central control plane
- edge site1
- edge site 2
- edge site 3

Where glance cache [1] is deployed to each edge site, there is a usecase to precache the glance images from the central site to edge sites 1 and 2, but not 3. The precaching operation for image foo can be achieved by running glance and/or nova commands on edge nodes. Running these commands across all edge nodes via Ansible will be useful for operators.

This RFE tracks providing this set of playbooks. An appropriate place for them is probably [2]. This RFE depends on having the inventory produced by 1710078.

[1] https://blueprints.launchpad.net/tripleo/+spec/split-controlplane-glance-cache
[2] https://github.com/openstack/tripleo-ansible

Comment 1 John Fulton 2019-05-15 19:00:07 UTC
This playbook (RFE) should be able to pre-cache the image at the site both for the case where a Glance API worker is there, as well as the case where there are only compute nodes, where the image just gets written to disk in the proper place so that Nova thinks it has already cached the image.

It might be useful to have tags in the playbook for glance vs nova to support both of the options above.

Comment 3 Gregory Charot 2019-05-16 12:34:53 UTC
*** Bug 1700327 has been marked as a duplicate of this bug. ***

Comment 15 Gregory Charot 2019-11-28 15:46:42 UTC
Setting 16.1.1 as the priority for 16.1.0 is glance multi stores

Comment 29 Gregory Charot 2021-12-17 10:59:02 UTC
Glance cache with DCN is not supported at the moment, removing the rhos-16.2 flag. Will reconsider if we have market demands

Comment 31 John Fulton 2023-04-19 17:38:26 UTC
- This bug was put on hold 16 months ago.
- We have no current plans to implement it.
- We can re-open if there are market demands however.