glance-cache-prefetcher does not have access to multistore backends

Bug #1979699 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Takashi Kajinami

Bug Description

The glance-cache-prefetcher command requires access to backend stores so that it can pull image data.

However, currently only legacy store is registered/initialized in glance-cache-prefetcher, and it can't access to backend stores when multi-store is enabled.

https://opendev.org/openstack/glance/src/commit/53f322f1d8c0a5c1e8c494f88f1f05c47b29729a/glance/cmd/cache_prefetcher.py#L53

Changed in glance:
assignee: nobody → Takashi Kajinami (kajinamit)
summary: - glance-cache-prefetcher does not have access to multistore
+ glance-cache-prefetcher does not have access to multistore backends
Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/847422
Committed: https://opendev.org/openstack/glance/commit/6964e627d5b98c2034aea4bebb72cdab7549b6b5
Submitter: "Zuul (22348)"
Branch: master

commit 6964e627d5b98c2034aea4bebb72cdab7549b6b5
Author: Takashi Kajinami <email address hidden>
Date: Fri Jun 24 10:02:39 2022 +0900

    glance-cache-prefetcher: Set up access to multistore backends

    ... because the command requires access to backend stores to pull image
    data.

    Closes-Bug: #1979699
    Change-Id: I04efbb7fd47b8b1e022d96c40011b6f03508db2e

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/glance/+/848715

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/glance/+/848715
Committed: https://opendev.org/openstack/glance/commit/b4091752b4a771a54b5298d15729352ae9552e81
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit b4091752b4a771a54b5298d15729352ae9552e81
Author: Takashi Kajinami <email address hidden>
Date: Fri Jun 24 10:02:39 2022 +0900

    glance-cache-prefetcher: Set up access to multistore backends

    ... because the command requires access to backend stores to pull image
    data.

    Closes-Bug: #1979699
    Change-Id: I04efbb7fd47b8b1e022d96c40011b6f03508db2e
    (cherry picked from commit 6964e627d5b98c2034aea4bebb72cdab7549b6b5)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/glance/+/848992

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/glance/+/848992
Committed: https://opendev.org/openstack/glance/commit/2f125d83293ab4bf8037770fe8f620bc3664d0c6
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 2f125d83293ab4bf8037770fe8f620bc3664d0c6
Author: Takashi Kajinami <email address hidden>
Date: Fri Jun 24 10:02:39 2022 +0900

    glance-cache-prefetcher: Set up access to multistore backends

    ... because the command requires access to backend stores to pull image
    data.

    Closes-Bug: #1979699
    Change-Id: I04efbb7fd47b8b1e022d96c40011b6f03508db2e
    (cherry picked from commit 6964e627d5b98c2034aea4bebb72cdab7549b6b5)
    (cherry picked from commit b4091752b4a771a54b5298d15729352ae9552e81)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 25.0.0.0b2

This issue was fixed in the openstack/glance 25.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/glance/+/850036

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 23.1.0

This issue was fixed in the openstack/glance 23.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 24.2.0

This issue was fixed in the openstack/glance 24.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (stable/wallaby)

Change abandoned by "Cyril Roelandt <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/glance/+/850036
Reason: This branch is too old, we will not merge this.

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.