Multiattach with Image volume backed

Bug #1904546 reported by Aleksey Myltsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
Fix Released
High
Rajat Dhasmana

Bug Description

If we use several glance-api instances and store images in cinder than during creation several VM nova-compute request image from glance-api. For increasing speed of VM creation we allow multiattach for volumes with images. Looks like glance_store use attach/detach workflow v1(https://github.com/openstack/cinder/blob/master/doc/source/contributor/attach_detach_conventions.rst) not attach/detach workflow v2(https://github.com/openstack/cinder/blob/master/doc/source/contributor/attach_detach_conventions_v2.rst). In this case glance_store can not detach volume because it does not have attachment_id.

Erno Kuvaja (jokke)
Changed in glance-store:
importance: Undecided → High
Revision history for this message
Dan Smith (danms) wrote :

I believe this does what is described here:

https://review.opendev.org/c/openstack/glance_store/+/782200

and it's been sitting waiting for reviews for a while now :(

Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote :
Changed in glance-store:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
Changed in glance-store:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

Reviewed: https://review.opendev.org/c/openstack/glance_store/+/786410
Committed: https://opendev.org/openstack/glance_store/commit/ecda7f640fe4e807ba07981abfc1a637ddb496cd
Submitter: "Zuul (22348)"
Branch: master

commit ecda7f640fe4e807ba07981abfc1a637ddb496cd
Author: whoami-rajat <email address hidden>
Date: Thu Apr 15 09:17:59 2021 -0400

    Add volume multiattach handling

    We implemented cinder's new attachment API support with patch[1].
    It was needed to add multiattach volume handling added with this
    patch.
    There is no special configuration change or user interference needed.
    If a volume is of a multiattach type, then it will be handled as
    a multiattach volume.

    [1] https://review.opendev.org/c/openstack/glance_store/+/782200

    Implements: blueprint attachment-api-and-multiattach-support
    Closes-Bug: #1904546

    Change-Id: Iffb825492a20fd877476acad05f817b399072f01

Changed in glance-store:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance_store 2.7.0

This issue was fixed in the openstack/glance_store 2.7.0 release.

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.