Allow changing the image format of the uploaded image

Bug #2037557 reported by Gabriel Samfira
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-octavia-diskimage-retrofit
Fix Committed
Undecided
Unassigned

Bug Description

After the image is retrofited, we need to be able to set the image format to be uploaded back to Glance. On systems that leverage Ceph or any other storage appliance that uses raw as its native storage format, this allows fast CoW VM disk creation. It also means that if force-raw-images is set to true, nova will no longer download the image, convert it to raw and copy it to the storage backend before creating the
VM. This saves a lot of bandwidth and time.

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: New → 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/+/896680
Committed: https://opendev.org/openstack/charm-octavia-diskimage-retrofit/commit/1f44f44d0ed708e2f58e34fc3beb48bd3c01a2e1
Submitter: "Zuul (22348)"
Branch: master

commit 1f44f44d0ed708e2f58e34fc3beb48bd3c01a2e1
Author: Gabriel Adrian Samfira <email address hidden>
Date: Wed Sep 27 17:50:10 2023 +0300

    Allow setting the image format of the image

    After the image is retrofited, we need to be able to set the image
    format to be uploaded back to Glance. On systems that leverage Ceph or
    any other storage appliance that uses raw as its native storage format,
    this allows fast CoW VM disk creation. It also means that if
    force-raw-images is set to true, nova will no longer download the image,
    convert it to raw and copy it to the storage backend before creating the
    VM. This saves a lot of bandwidth and time.

    Closes-Bug: #2037557

    Change-Id: I4eb62e330584635ccecd06c9ccac691723ea20b7
    Signed-off-by: Gabriel Adrian Samfira <email address hidden>

Changed in charm-octavia-diskimage-retrofit:
status: In Progress → Fix Committed
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.