Skip to content

libvirt: only cache images in libvirt storage pool #687

@cgwalters

Description

@cgwalters

I think the http cache code the installer carries is an artifact leftover from the V1 pipeline. Previously it was fetching an unversioned URL which could change.

Today, the installer does a 2-phase fetch and the URL of e.g. a -qemu.qcow2 contains a version number and further is by design immutable. The RHCOS pipeline will never overwrite a build.

So...the way I propose this work is that the installer drops the http cache code and instead downloads the image and then uploads it in to the libvirt pool (and ideally then deletes it from the cache). vagrant-libvirt does something like this.

I think the installer can assume it owns images starting with redhat-coreos?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions