Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-18970

Provide image size to Glance when creating snapshots

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-17.1.3
    • openstack-nova
    • None
    • Provide image size to Glance when creating snapshots
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Proposed
    • Proposed
    • To Do
    • Proposed
    • Proposed
    • Hide

      All required changes in glance, glance_store and python-glanceclient are merged upstream during this cycle (Flamingo). Now consumers like nova and cinder can utilize this feature and fix the behavior mention in this bug.

      Show
      All required changes in glance, glance_store and python-glanceclient are merged upstream during this cycle (Flamingo). Now consumers like nova and cinder can utilize this feature and fix the behavior mention in this bug.
    • Moderate

      Goal:

      • Speed up snapshots of image-backed VMs when the Glance storage backend is Cinder
      • Uploading an image to Glance without providing the image size triggers a slow process called "resize-before-write" which first creates a 1 GB Cinder volume then iteratively extends the volume 1 GB at a time until the image is all written
      • Glance recently added an API allowing specification of image size for upload

      Acceptance Criteria:

      • Nova provides the image size to Glance API when uploading a snapshot and Glance creates a Cinder volume of the required size once

              Unassigned Unassigned
              mwitt@redhat.com melanie witt
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: