horizon can't display user's snapshot images

Bug #1116991 reported by Yaguang Tang
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Yaguang Tang
openstack-dashboard (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

glanceclient need to add params is_public=none to get private images which are created by user. the snapshots are private by default, so can't be displayed on horizon .

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/21288

Changed in horizon:
assignee: nobody → Yaguang Tang (heut2008)
status: New → In Progress
Revision history for this message
Julie Pichon (jpichon) wrote : Re: horizon cann't display user's snapshot images

In any case anyone else shares my initial confusion -- this is about the admin being able to see all private snapshots and images, if I understand correctly.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openstack-dashboard (Ubuntu):
status: New → Confirmed
Revision history for this message
Stephan Fabel (sfabel) wrote :

Even if a user creates a snapshot, those aren't listed in horizon either.

summary: - horizon cann't display user's snapshot images
+ horizon can't display user's snapshot images
Revision history for this message
Julie Pichon (jpichon) wrote :

Which version of Horizon and Glance are you using? Can the user see their snapshots using glance image-list on the CLI?

The only deployment I saw where Horizon didn't display a user's snapshots had glance misconfigured (it hadn't been set up to use Keystone). Horizon then didn't display the snapshots but when using glance image-list, a user could see everyone's snapshots and images.

Revision history for this message
Stephan Fabel (sfabel) wrote :

glance: 2012.2.1-0ubuntu1~cloud0
horizon: 2012.2.1-0ubuntu1~cloud0

I can't see the snapshots using glance image-list. But they're there using nova image-list?

The entire things is rolled out using MAAS. There's no relation-error between keystone and glance.

Revision history for this message
Ante Karamatić (ivoks) wrote :

This bug is. IMHO, invalid. Horizon does show private images. It will fail to show them if glance is misconfigured.

Changed in openstack-dashboard (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Ante Karamatić (ivoks) wrote :

Reason why it shows with MAAS deployments is cause of the problem that is being fixed in glance charm:

https://code.launchpad.net/~james-page/charms/precise/glance/fix-paste-deploy-flavor/+merge/150793

Changed in horizon:
status: In Progress → Invalid
Revision history for this message
Tamas Pasztor (tomcsi) wrote :

This is not bug. I have a similar problem, and I check glance configs, and found a erratum. Check flavors in glance-registry.conf and glance-api.conf.

Revision history for this message
Jacob_DENG (jacob-deng) wrote :

Hi,
How to config this?
I meet the same problem in HAVANA.
glance image-list don't include snapshot, but nova image-list include snapshots.
Who can help me how to check this issue ?

Revision history for this message
Jacob Cherkas (jcherkas) wrote :

You need to set auth_strategy = keystone under [DEFAULT] section and flavor=keystone under [paste-deploy] section.

/etc/glance/glance-api.conf
and
/etc/glance/glance-registry.conf.

restart both services.

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.