glance image-show <id> show "location"

Registered by Vangelis Tasoulas

Currently "glance image-show <id>" command shows the following information:

# glance image-show 59b38ffb-3185-4acd-b085-277f39f8ab6c
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| container_format | bare |
| created_at | 2013-05-27T15:42:50 |
| deleted | False |
| disk_format | qcow2 |
| id | 59b38ffb-3185-4acd-b085-277f39f8ab6c |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | Ubuntu-12.04-x86_64 |
| protected | False |
| size | 252313600 |
| status | active |
| updated_at | 2013-05-27T15:42:50 |
+------------------+--------------------------------------+

What's missing here is the "location" where this image is coming from when it was added with the "--location" command line option.
This could be useful information and it would be trivial to fetch from the database.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

<jbresnah>
In v2 you can set 'show_image_direct_url = True' and the location will be included in the results.
</jbresnah>

Addressed by : https://review.openstack.org/#/c/61546/
  Display the location in v1 image-show output

There are some security concerns here, but an effort to do this is already being tracked at https://blueprints.launchpad.net/glance/+spec/remove-sensitive-data-from-locations
markwash rejected 2014-02-15

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.