Bug 1419530

Summary: Images page shows empty in Horizon UI
Product: [Community] RDO Reporter: Javier Peña <jpena>
Component: openstack-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: rdopiera
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-07 13:03:59 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:

Description Javier Peña 2017-02-06 12:43:27 UTC
Description of problem:
After an installation of the latest packages from RDO Trunk (Ocata), going to the Compute->Images page in the dashboard shows a blank page.


Version-Release number of selected component (if applicable):
openstack-dashboard-11.0.0-0.20170202223411.a3e2a1e.el7.centos.noarch

How reproducible: Always


Steps to Reproduce:
1. Setup latest RDO Trunk repos
2. packstack --allinone
3. Log on as the demo user, go to Compute -> Images

Actual results:
Blank page shown

Expected results:
Images should be shown, together with options to upload a new image, etc.

Additional info:
I've tested it using the puppet-openstack-integration scripts, and found the same issue, so it's not unique to Packstack.

Comment 1 Radomir Dopieralski 2017-02-07 10:28:38 UTC
The Angular.js code fails on it:

Uncaught Error: [$injector:unpr] Unknown provider: $uibModalProvider <- $uibModal <- horizon.framework.widgets.modal.wizard-modal.service <- horizon.app.core.images.actions.edit.service
http://errors.angularjs.org/1.3.7/$injector/unpr?p0=%24uibModalProvider%20%…wizard-modal.service%20%3C-%20horizon.app.core.images.actions.edit.service
    at b9c46339908e.js:699
    at b9c46339908e.js:891
    at Object.getService [as get] (b9c46339908e.js:907)
    at b9c46339908e.js:891
    at getService (b9c46339908e.js:907)
    at Object.invoke (b9c46339908e.js:911)
    at Object.enforcedReturnValue [as $get] (b9c46339908e.js:895)
    at Object.invoke (b9c46339908e.js:913)
    at b9c46339908e.js:891
    at getService (b9c46339908e.js:907)

Comment 2 Radomir Dopieralski 2017-02-07 10:29:15 UTC
This is most likely a problem with too old javascript libraries.

Comment 3 Javier Peña 2017-02-07 13:03:59 UTC
Indeed, this has been fixed after some XStatic libraries have been updated in the RDO dependency repo.