Bug 1006483 - No format list available
Summary: No format list available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: RDO
Classification: Community
Component: python-django-horizon
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: RC
: Havana
Assignee: Julie Pichon
QA Contact: Ami Jeain
URL:
Whiteboard:
: 1008940 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 17:05 UTC by mlessard
Modified: 2019-09-10 14:09 UTC (History)
6 users (show)

Fixed In Version: python-django-horizon-2013.2-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-29 19:49:11 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1223317 0 None None None Never
Launchpad 1223427 0 None None None Never
OpenStack gerrit 46045 0 None None None Never

Description mlessard 2013-09-10 17:05:20 UTC
Description of problem:
When we want to create an image, there is no drop-down list available in the format box, resulting that it's impossible to create an image. 

Version-Release number of selected component (if applicable):
Havana

Expected results:

We shoud see a list of avaible type of images. 

Additional info:

I resolved this by adding this block of text in the /etc/openstack-dashboard/local_settings, right after the OPENSTACK_NEUTRON_NETWORK section : 


# The OPENSTACK_IMAGE_BACKEND settings can be used to customize features
# in the OpenStack Dashboard related to the Image service, such as the list
# of supported image formats.
OPENSTACK_IMAGE_BACKEND = {
    'image_formats': [
        ('', ''),
        ('aki', _('AKI - Amazon Kernel Image')),
        ('ami', _('AMI - Amazon Machine Image')),
        ('ari', _('ARI - Amazon Ramdisk Image')),
        ('iso', _('ISO - Optical Disk Image')),
        ('qcow2', _('QCOW2 - QEMU Emulator')),
        ('raw', _('Raw')),
        ('vdi', _('VDI')),
        ('vhd', _('VHD')),
        ('vmdk', _('VMDK'))
    ]
}

Comment 1 Julie Pichon 2013-09-10 17:18:17 UTC
This is due to the horizon puppet modules using an outdated copy of local_settings.py when deploying - the bug for this is filed upstream at https://bugs.launchpad.net/puppet-horizon/+bug/1223317 .

I also filed https://bugs.launchpad.net/horizon/+bug/1223427 to have Horizon provide a sensible default as a workaround, since this is a surprising behaviour which could be considered a backwards-incompatible change.

Comment 2 Julie Pichon 2013-09-11 10:32:00 UTC
Bug 1006766 was filed for the packstack/puppet side of the problem. Will keep this one to track the Horizon-side resolution.

Comment 3 Matthias Runge 2013-09-17 11:56:10 UTC
*** Bug 1008940 has been marked as a duplicate of this bug. ***


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