Bug 1710574 - [RFE] Provide playbooks to pre-cache images on edge nova cache
Summary: [RFE] Provide playbooks to pre-cache images on edge nova cache
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Ollie Walsh
QA Contact: Marian Krcmarik
URL:
Whiteboard:
Depends On: 1710078
Blocks: 1879154
TreeView+ depends on / blocked
 
Reported: 2019-05-15 19:41 UTC by Ollie Walsh
Modified: 2020-11-12 14:41 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170155.29a02c1.el8ost, tripleo-ansible-0.5.1-1.20200914163922.902c3c8.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of: 1710557
Environment:
Last Closed: 2020-10-28 15:36:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 713661 0 None MERGED Add role/playbook to manage nova image cache 2021-01-24 12:15:56 UTC
OpenStack gerrit 749568 0 None MERGED Workaround tripleo_nova_cache issue in ansible 2.9.11 2021-01-24 12:16:38 UTC
OpenStack gerrit 749569 0 None MERGED Stop relying on future mtime in tripleo_nova_image_cache 2021-01-24 12:15:56 UTC
OpenStack gerrit 749896 0 None MERGED Add the NovaImageCacheTTL to the nova compute service 2021-01-24 12:15:56 UTC
Red Hat Product Errata RHEA-2020:4284 0 None None None 2020-10-28 15:37:54 UTC

Description Ollie Walsh 2019-05-15 19:41:05 UTC
+++ This bug was initially created as a clone of Bug #1710557 +++

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

--- Additional comment from John Fulton on 2019-05-15 20:00:07 IST ---

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 20 spower 2020-09-03 12:12:22 UTC
This has been given conditional approval for 16.1.2 if the patch is landed by Sept 08. If not, we will automatically remove this.

Comment 28 errata-xmlrpc 2020-10-28 15:36:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4284


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