Bug 1022541 - openstack-glance: glance image-show should have the same output with and without --os-image-api-version 2
Summary: openstack-glance: glance image-show should have the same output with and with...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 4.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.0
Assignee: RHOS Maint
QA Contact: Haim
URL: https://bugs.launchpad.net/glance/+bu...
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-23 13:38 UTC by Yogev Rabl
Modified: 2016-04-27 00:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-29 10:29:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yogev Rabl 2013-10-23 13:38:25 UTC
Description of problem:
The glance image-show output is different when using API version 1 and API version 2. There is no reason why we need API version 1 output in this command, it should run with API version 2 as default.

Version-Release number of selected component (if applicable):
openstack-glance-2013.2-0.12.rc1.el6ost.noarch

How reproducible:
everytime

Steps to Reproduce:
1. Run: 
  # glance image-show <image-id>
2.Run:
  # glance --os-image-api-version 2  image-show <image-id>
3. 

Actual results:
There's different output.

Expected results:
the same output

Additional info:

Comment 2 Ayal Baron 2013-10-29 10:29:20 UTC
The issue here is that the API defaults to V1 and not V2.
This is a general discussion for upstream to have.


Note You need to log in before you can comment on or make changes to this bug.