Bug 1389295

Summary: Unable to select image source
Product: Red Hat OpenStack Reporter: Ido Ovadia <iovadia>
Component: puppet-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: urgent Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: akrivoka, aortega, athomas, iovadia, jjoyce, jschluet, mrunge, mtanino, slinaber, srevivo, tvignaud
Target Milestone: rcKeywords: Rebase, Triaged
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-horizon-9.4.1-1.el7ost Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:26:06 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1382039    
Attachments:
Description Flags
create_image_screenshot none

Description Ido Ovadia 2016-10-27 11:53:37 UTC
Created attachment 1214578 [details]
create_image_screenshot

Description of problem:
=======================
User cannot create an image on Horizon

The following error appears on Create Image wizard

" The current Horizon settings indicate no valid image creation methods are available. Providing an image location and/or uploading from the local file system must be allowed to support image creation."

Version-Release number of selected component:
=============================================
python-django-horizon-10.0.0-3.el7ost.noarch
puppet-horizon-9.4.0-1.el7ost.noarch

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Deploy undercloud and overcloud 
2. Login to Horizon
3. Browse: Project --> Compute --> Images
4. Click Create Image

Actual results:
===============
Error appears on Create Image wizard:

"The current Horizon settings indicate no valid image creation methods are available. Providing an image location and/or uploading from the local file system must be allowed to support image creation."


Expected results:
=================
No error, user allow to select image source

Additional info:
================
Screenshot is enclosed

Comment 1 Ido Ovadia 2016-10-27 11:55:21 UTC
I was able to create an image from CLI

Comment 2 Radomir Dopieralski 2016-10-28 09:01:31 UTC
Do you have OPENSTACK_IMAGE_FORMATS in the REST_API_REQUIRED_SETTINGS in your local_settings as per http://docs.openstack.org/releasenotes/horizon/newton.html#id3 ?

Comment 3 Radomir Dopieralski 2016-10-31 08:53:32 UTC
Posted a patch to puppet-horizon: https://review.openstack.org/#/c/391754/

Comment 4 Radomir Dopieralski 2016-10-31 13:09:11 UTC
Backported the patch to Newton: https://review.openstack.org/#/c/391825/

Comment 5 Radomir Dopieralski 2016-11-07 08:20:10 UTC
*** Bug 1382007 has been marked as a duplicate of this bug. ***

Comment 7 Ana Krivokapic 2016-11-28 11:19:47 UTC
Works with:

python-django-horizon-10.0.1-3.el7ost.noarch
puppet-horizon-9.4.1-1.el7ost.noarch

Comment 9 errata-xmlrpc 2016-12-14 16:26:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html