Glance can't share images via Horizon dashboard but can show shared images.

Bug #1422674 reported by Victor Ryzhenkin on 2015-02-17
This bug affects 10 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)

Bug Description

Glance have functions for share uploaded images with other tenants. But this functional is unavailable via Horizon Dashboard.

in Project > Compute > Images we can see category named 'Shared with me', but user can't share image.

From CLI this work correctly.

1. Deploy OS with Horizon Dashboard
2. Upload an image to Glance from admin tenant and don't set Public = True in image options.
3. SSH to controller node, use . openrc.
4. Execute `glance member-create` to share image with other non-admin tenant.
5. Log into Horizon as user, which we shared an image.
6. Navigate to Project> Compute > Images

Actual result:
Image, which shared with this tenant was appeared in category 'Shared With Me'

Changed in horizon:
status: New → Confirmed

I f I understood correctly the steps you described are actually not to reproduce the bug, but to show that Horizon managed "shared with me" images. But to actually see the bug, one should log as admin in the dashboard and see there is no way to share an image with other tenants (like can be done via CLI as you described).

Victor Ryzhenkin (vryzhenkin) wrote :

Yes, you are right. In Horizon i'm can't find a way to share image with other tenants.

Changed in horizon:
assignee: nobody → Wu Wenxiang (wu-wenxiang)

Hi Wu,

I was wondering if you've done any work on this bug? I have a working patch for this in Horizon that is being used by a local installation at my company. I'm interested in contributing it back upstream but wanted to inquire on this to see if any work has been done.


Ritesh Paiboina (rsritesh) wrote :

Hi, I am one of the person who is looking for this feature.
David, if you are ready to push the code, then I think you can push the code.

Matt Borland (palecrow) wrote :

Sorry, clicked on wrong buttons...reverting status.

Changed in horizon:
importance: Undecided → Medium
status: Confirmed → Fix Released
status: Fix Released → In Progress
status: In Progress → Confirmed
importance: Medium → Undecided
Rob Cresswell (robcresswell) wrote :

I can log in as an Admin and share Images; was that the desired implementation?

Changed in horizon:
assignee: Wu Wenxiang (wu-wenxiang) → nobody
tags: added: glance
Changed in horizon:
status: Confirmed → Incomplete

What I'm looking for is the ability to share images across projects that are not public. So, for example I create a new image in project A (not public) and want it to show up in project B under "Shared with Me". I don't see that functionality in the UI (I pulled latest devstack to check).

I actually have a patch with this functionality that I can make ready to submit but wanted to check to make sure I'm not missing something first.

Here is what I see on my side:


Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
George (lmihaiescu) wrote :

It would be great if this feature can be added to dashboard.

Asking the users to install python-glanceclient or python-openstackclient in order to share an image or snapshot makes for a poor user experience.

Thank you.

Changed in horizon:
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers