Bug 1441620

Summary: All angular-based views are broken
Product: Red Hat OpenStack Reporter: Radomir Dopieralski <rdopiera>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: aortega, apannu, athomas, jschluet, lbopf, mburns, mrunge, rhos-flags, slinaber, srevivo
Target Milestone: rcKeywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: python-XStatic-Angular-Bootstrap- Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 20:20:19 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 Radomir Dopieralski 2017-04-12 11:05:49 UTC
Description of problem:

All AngularJS-based views in Horizon fail with a javascript error:

Uncaught Error: [$injector:unpr] Unknown provider: $uibModalProvider <- $uibModal <- horizon.framework.widgets.modal.wizard-modal.service <- horizon.app.core.images.actions.edit.service
    at 4ae1ca88d058.js:699
    at 4ae1ca88d058.js:913
    at Object.getService [as get] (4ae1ca88d058.js:929)
    at 4ae1ca88d058.js:913
    at getService (4ae1ca88d058.js:929)
    at injectionArgs (4ae1ca88d058.js:932)
    at Object.invoke (4ae1ca88d058.js:937)
    at Object.enforcedReturnValue [as $get] (4ae1ca88d058.js:917)
    at Object.invoke (4ae1ca88d058.js:938)
    at 4ae1ca88d058.js:913

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


How reproducible:


Steps to Reproduce:
1. Go to project→instances and click on the "launch instance" button
2. Try going to project→images
3. Look at the browser's error console

Actual results:

The button does nothing, the images view displays empty. There are errors in the console.

Expected results:

The "launch instance" dialog should appear, and the "images" view should display. There should be no errors in the console.

Additional info:

The problem is due to python-XStatic-Angular-Bootstrap being too old. This commit bumps the requirements upstream: https://github.com/openstack/horizon/commit/ed772a9097fc010560408c7aee07159f657ea636

We need to be shipping XStatic-Angular-Bootstrap>=

Comment 1 Red Hat Bugzilla Rules Engine 2017-04-12 11:07:49 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 4 Radomir Dopieralski 2017-04-12 12:45:45 UTC
A workaround is to install the newer packages from RDO, for instance, from: https://cbs.centos.org/koji/buildinfo?buildID=15447

(Both python-XStatic-Angular-Bootstrap and xstatic-angular-bootstrap-common need to be updated.)

Comment 7 errata-xmlrpc 2017-05-17 20:20:19 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.