'copy-image' import job should not try to run additional plugins

Bug #1885725 reported by Erno Kuvaja on 2020-06-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Status tracked in Victoria
Ussuri
High
Erno Kuvaja
Victoria
High
Erno Kuvaja

Bug Description

The import plugins were designed to be additional tasks to be performed against the image data or metadata before image being set to active. Things like uncompression or conversion etc. just does not make sense while target is just to copy the data between stores.

Erno Kuvaja (jokke) on 2020-06-30
Changed in glance:
assignee: nobody → Erno Kuvaja (jokke)
Changed in glance:
status: New → In Progress

Reviewed: https://review.opendev.org/738675
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=b8332d9b6b5e1e6cadc87927d0c7f115700d49bb
Submitter: Zuul
Branch: master

commit b8332d9b6b5e1e6cadc87927d0c7f115700d49bb
Author: Erno Kuvaja <email address hidden>
Date: Tue Jun 30 14:28:09 2020 +0100

    Don't include plugins on 'copy-image' import

    The import plugins were designed to interact with the image data
    or metadata before the image becomes active. It does not make sense
    to try to run them on 'copy-image' taskflow which is just copying
    the data between stores on active image.

    Co-Authored-By: Erno Kuvaja <email address hidden>
    Co-Authored-By: Abhishek Kekane <email address hidden>

    Closes-Bug: #1885725
    Change-Id: I2df30aa26f96a0f210989758868b42bcb9d2d72f

Changed in glance:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/740444
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=2df2792fee66c32a8b04bab8e2a4e1880c248ef1
Submitter: Zuul
Branch: stable/ussuri

commit 2df2792fee66c32a8b04bab8e2a4e1880c248ef1
Author: Erno Kuvaja <email address hidden>
Date: Tue Jun 30 14:28:09 2020 +0100

    Don't include plugins on 'copy-image' import

    The import plugins were designed to interact with the image data
    or metadata before the image becomes active. It does not make sense
    to try to run them on 'copy-image' taskflow which is just copying
    the data between stores on active image.

    Co-Authored-By: Erno Kuvaja <email address hidden>
    Co-Authored-By: Abhishek Kekane <email address hidden>

    Closes-Bug: #1885725
    Change-Id: I2df30aa26f96a0f210989758868b42bcb9d2d72f
    (cherry picked from commit b8332d9b6b5e1e6cadc87927d0c7f115700d49bb)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers