Align glance-upload and glance add

Bug #767344 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Brian Waldon

Bug Description

glance-upload sets is_public to True. glance add does not, by default. Align these...

Revision history for this message
Jay Pipes (jaypipes) wrote :

Make sure you specify is_public=True otherwise your image won't show up in the glance index calls :) It *will* show up in calls to glance show <ID>, though.

Revision history for this message
Chris Behrens (cbehrens) wrote :

Hm. Is this new? I didn't specify it when adding ami's just last week. Should it perhaps default to True so the behavior is the same as glance-upload's defaults?

Revision history for this message
Jay Pipes (jaypipes) wrote :

No, not new :) And there is already a bug for that ;) https://bugs.launchpad.net/glance/+bug/755917

Revision history for this message
Jay Pipes (jaypipes) wrote :

FYI, the reason Glance is this way is because of the *CloudServers* API, which /images only returns public images, but images/<ID> shows non-public images...silly, but that's why it is the way it is. In Diablo, and after auth is finalized, this shouldn't be as big of a deal, because what gets displayed will be whatever the auth'd user is allowed to see, which should make more sense...

Jay Pipes (jaypipes)
summary: - glance add silently failing with vhd/ovf
+ Align glance-upload and glance add
description: updated
Changed in glance:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Dan Prince (dan-prince) wrote :

Now that we have a more capable command line tool shouldn't 'glance-upload' actually go away? Should we remove it?

Brian Waldon (bcwaldon)
Changed in glance:
assignee: nobody → Brian Waldon (bcwaldon)
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/1102
Committed: http://github.com/openstack/glance/commit/e46c0a620619758e22f7f73e7668ffe5c95d722b
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit e46c0a620619758e22f7f73e7668ffe5c95d722b
Author: Brian Waldon <email address hidden>
Date: Tue Oct 25 22:02:10 2011 -0400

    Removing glance-upload

    The glance-upload tool targets a very specific use-case that is easily
    handled by simply using the standard glance client. It's not worth keeping
    around. This addresses bug 767344.

    Change-Id: Ie7cf42ba517b744a2a440deb15336c0ee372b2e7

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-1 → 2012.1
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.