Bug 1016682

Summary: Horizon offers only "Format" field, containing both, --disk-format and --container-format options.
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: python-django-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: aortega, hateya, jpichon, mrunge, yeylon
Target Milestone: ---   
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-21 15:30:03 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:
Attachments:
Description Flags
foo.png none

Description Jaroslav Henner 2013-10-08 14:16:12 UTC
Created attachment 809322 [details]
foo.png

Description of problem:
$subj. I think it should be split to two option fields.

Version-Release number of selected component (if applicable):
python-django-horizon.noarch          2013.1.3-1.el6ost    @puddle              

How reproducible:
always

Steps to Reproduce:
1. Click on create image
2. Unroll the Format field
3.

Actual results:
see the image

Expected results:
Field for Disk Format as well as field for Container Format

Additional info:
Check  glance help image-create

Comment 2 Julie Pichon 2013-10-21 15:30:03 UTC
Comparing the available options in disk-format and container-format (thanks for including the `glance help image-create` tip), it looks like Horizon is currently showing the list of Disk Formats by default (not a mix of both).

Looking at the upstream Glance documentation, Container Format does not currently matter and has a reasonable default: "Note that the container format string is not currently used by Glance or other OpenStack components, so it is safe to simply specify bare as the container format if you are unsure."  [0]

My preference would be to leave the current form as is rather than add an option that isn't actually necessary. Please feel free to reopen if you disagree. Also for reference this field has recently become configurable as of RHOS 4.0 / Havana [1].

[0] http://docs.openstack.org/developer/glance/formats.html#container-format
[1] http://docs.openstack.org/developer/horizon/topics/settings.html#openstack-image-backend