> The 'details' view doesn't appear to be working properly. It finds my 7
> images, but only prints details on the first one of them.
>
> cwright@maverick:~/openstack/glance-cli-tool$ ./bin/glance details
> Found 7 public images...
> ============================================================================
> ====
> URI: http://0.0.0.0/images/1
> Id: 1
> Public? Yes
> Name: ramdisk
> Size: 3976716
> Location: file:///home/cwright/openstack/images/glance/1
> 'disk_format'
> 'disk_format'
> cwright@maverick:~/openstack/glance-cli-tool$
>
> From the code it looks like it should print image properties, but it isn't for
> one of my images. Also, notice the duplicate 'disk_format' lines in the
> output.
Hmm, looks like this might be because of the admittedly missing database migration file. Looks like disk_format isn't a column returned from the db because the schema hasn't been migrated. Are you using an existing db?
> It would also be nice to be able to specify a particular image to get details
> for instead of having it print all of them. glance details could accept an
> optional image id.
> The 'details' view doesn't appear to be working properly. It finds my 7 maverick: ~/openstack/ glance- cli-tool$ ./bin/glance details ======= ======= ======= ======= ======= ======= ======= ======= ======= ====== 0.0.0.0/ images/ 1 /home/cwright/ openstack/ images/ glance/ 1 maverick: ~/openstack/ glance- cli-tool$
> images, but only prints details on the first one of them.
>
> cwright@
> Found 7 public images...
> =======
> ====
> URI: http://
> Id: 1
> Public? Yes
> Name: ramdisk
> Size: 3976716
> Location: file://
> 'disk_format'
> 'disk_format'
> cwright@
>
> From the code it looks like it should print image properties, but it isn't for
> one of my images. Also, notice the duplicate 'disk_format' lines in the
> output.
Hmm, looks like this might be because of the admittedly missing database migration file. Looks like disk_format isn't a column returned from the db because the schema hasn't been migrated. Are you using an existing db?
> It would also be nice to be able to specify a particular image to get details
> for instead of having it print all of them. glance details could accept an
> optional image id.
You mean glance show <ID>? :)
-jay