Bug 1022541

Summary: openstack-glance: glance image-show should have the same output with and without --os-image-api-version 2
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: openstack-glanceAssignee: RHOS Maint <rhos-maint>
Status: CLOSED WONTFIX QA Contact: Haim <hateya>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: abaron, eglynn, fpercoco, hateya, yeylon
Target Milestone: ---   
Target Release: 4.0   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/glance/+bug/1243707
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-29 10:29:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.