Rebuild instance panel does not show shared images

Bug #1655259 reported by Mateusz Kowalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Liping Mao

Bug Description

When opening rebuild instance panel, the images shared with a specific project id are not shown. Only public or project-owned images are available which causes lack of some images in an environment where there are images which are neither public nor project-owned.

Steps to reproduce:
* Create private image in project A
* Share image with project B
* In project B select an instance and try to rebuild it
* Image not available in project B for rebuilding the instance

Also the API calls in this method shall be merged not to create any additional performance overhead as following the current schema, there would be three calls to Glance:

* list public images
* list owned images
* list shared images

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/418246

Changed in horizon:
assignee: nobody → Mateusz Kowalski (makowals)
status: New → In Progress
description: updated
Changed in horizon:
assignee: Mateusz Kowalski (makowals) → Dr. Jens Rosenboom (j-rosenboom-j)
Changed in horizon:
assignee: Dr. Jens Rosenboom (j-rosenboom-j) → Mateusz Kowalski (makowals)
Changed in horizon:
assignee: Mateusz Kowalski (makowals) → Liping Mao (limao)
Changed in horizon:
assignee: Liping Mao (limao) → Mateusz Kowalski (makowals)
Changed in horizon:
assignee: Mateusz Kowalski (makowals) → Liping Mao (limao)
Changed in horizon:
importance: Undecided → High
milestone: none → pike-rc2
Ying Zuo (yingzuo)
Changed in horizon:
milestone: pike-rc2 → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/418246
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d20c941d0df4088041cd9b2549bf04cfe8946403
Submitter: Jenkins
Branch: master

commit d20c941d0df4088041cd9b2549bf04cfe8946403
Author: Mateusz Kowalski <email address hidden>
Date: Wed Feb 8 15:02:19 2017 +0100

    Make get_available_images() return all the images available

    This patch fixes get_available_images() not returning images which
    are shared with a project. Old version returns only public images
    or project-owned ones, missing images which were shared with
    the project.

    Closes-bug: #1655259
    Change-Id: I2a264d83f3e2b3f10c1e00ac7e88db29bb34bd02

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/498342

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

Reviewed: https://review.openstack.org/498342
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=af57db48aabf54648393a5c8f0474b24ac2bbec6
Submitter: Jenkins
Branch: stable/pike

commit af57db48aabf54648393a5c8f0474b24ac2bbec6
Author: Mateusz Kowalski <email address hidden>
Date: Wed Feb 8 15:02:19 2017 +0100

    Make get_available_images() return all the images available

    This patch fixes get_available_images() not returning images which
    are shared with a project. Old version returns only public images
    or project-owned ones, missing images which were shared with
    the project.

    Closes-bug: #1655259
    Change-Id: I2a264d83f3e2b3f10c1e00ac7e88db29bb34bd02
    (cherry picked from commit d20c941d0df4088041cd9b2549bf04cfe8946403)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.0.0b1

This issue was fixed in the openstack/horizon 13.0.0.0b1 development milestone.

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

This issue was fixed in the openstack/horizon 12.0.1 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.