No cron type of job to refresh retrofitted image

Bug #1937013 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-octavia-diskimage-retrofit
Fix Released
Wishlist
Marcin Wilk

Bug Description

For example, charm-glance-simplestreams-sync charm has an option as "run" to enable cron job to fetch up-to-date cloud images with the latest security fixes included.
https://jaas.ai/glance-simplestreams-sync#charm-config-run

charm-octavia-diskimage-retrofit doesn't have such option so "retrofit-image" action has to be invoked by hand each time if I'm not mistaken.

Would be nice to have a way to refresh the retrofitted image periodically to have the latest security fixes out of the box.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Triage: Sounds like a useful feature to have.

Changed in charm-octavia-diskimage-retrofit:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: good-first-bug
Marcin Wilk (wilkmarcin)
Changed in charm-octavia-diskimage-retrofit:
assignee: nobody → Marcin Wilk (wilkmarcin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-octavia-diskimage-retrofit (master)
Changed in charm-octavia-diskimage-retrofit:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-octavia-diskimage-retrofit (master)

Reviewed: https://review.opendev.org/c/openstack/charm-octavia-diskimage-retrofit/+/830792
Committed: https://opendev.org/openstack/charm-octavia-diskimage-retrofit/commit/00036c8151667baeff1297dcfa38824d6fd5f16a
Submitter: "Zuul (22348)"
Branch: master

commit 00036c8151667baeff1297dcfa38824d6fd5f16a
Author: Marcin Wilk <email address hidden>
Date: Tue Feb 22 12:03:17 2022 +0000

    Add support for refreshing images by cron

    This change adds charm config parameters: `auto-retrofit` and
    `frequency` that control if a cron job is added to periodically
    refresh retrofitted images based on corresponding glance images.

    Closes-Bug: #1937013
    Change-Id: I5e12f1a5ea4fe94aebc307484ac68a00a1f3f5fa

Changed in charm-octavia-diskimage-retrofit:
status: In Progress → Fix Committed
Felipe Reyes (freyes)
Changed in charm-octavia-diskimage-retrofit:
milestone: none → 22.04
Changed in charm-octavia-diskimage-retrofit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.