← Back to team overview

openstack team mailing list archive

Re: [glance] legacy client removal and python-glanceclient

 

On 01/08/12 15:09, Brian Waldon wrote:

> I do agree that this current upgrade story could be better, but how
> much better do you expect it to be and in what specific ways? If the
> command-line interface were backwards-compatibile, would that solve
> all your problems? I'm fine doing that for the v1.0.0 release as long
> as we can deprecate all the old behavior out for a v2.0.0 release. Do
> you expect the legacy python library to get installed with folsom? As
> a side note, I do want to point out that the python module paths do
> not conflict.

What about providing a legacy "API version" with the new client?
Something a little like the (very not finished) example at
https://review.openstack.org/#/c/10699/ ?

I know it would be some work, but I don't think its more than a couple
of days worth.

An example usage of that proof of concept code:

$ ../glance-client --os-image-api-version legacy details
================================================================================
URI: http://192.168.1.14:9292/v1/images/6d55dd55-053a-4765-b7bc-b30df0ea3861
Id: 6d55dd55-053a-4765-b7bc-b30df0ea3861
Public: No
Protected: No
Name: ubuntu-bucket/oneiric-server-cloudimg-amd64-vmlinuz-generic
Status: active
Size: 4660272
Disk format: aki
Container format: aki
Minimum Ram Required (MB): 0
Minimum Disk Required (GB): 0
Owner: 8aef75b5c0074a59aa99188fdb4b9e90
Property 'image_location':
ubuntu-bucket/oneiric-server-cloudimg-amd64-vmlinuz-generic.manifest.xml
Property 'image_state': available
Property 'architecture': x86_64
Created at: 2012-06-25T02:10:32
Updated at: 2012-06-25T02:10:36
================================================================================

Mikal


Follow ups

References