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

Bug #1422674 reported by Victor Ryzhenkin
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Undecided
Unassigned

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.

Steps:
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'

Tags: glance
Changed in horizon:
status: New → Confirmed
Revision history for this message
Pasquale Porreca (pasquale-porreca) wrote :

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).

Revision history for this message
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)
Revision history for this message
David Grizzanti (david-grizzanti) wrote :

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.

Thanks!

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) 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
Revision history for this message
David Grizzanti (david-grizzanti) wrote :

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:
https://www.dropbox.com/s/g4hbu5s8vy3ra1q/Screenshot%202016-05-03%2016.30.40.png?dl=0

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in horizon:
status: Incomplete → Expired
Revision history for this message
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
Revision history for this message
Rico Lin (rico-lin) wrote :

I think this still a valid bug that affect users, would be great to see this implemented as it been hanging for so long already.

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.