Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1267888 - spa_ui: hardcoded API endpoint makes it not work on an appliance.
spa_ui: hardcoded API endpoint makes it not work on an appliance.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
Unspecified Unspecified
high Severity high
: GA
: 5.5.0
Assigned To: Gregg Tanzillo
Milan Falešník
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-01 06:16 EDT by Milan Falešník
Modified: 2015-12-08 08:34 EST (History)
6 users (show)

See Also:
Fixed In Version: 5.5.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-08 08:34:28 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Milan Falešník 2015-10-01 06:16:57 EDT
Current code of spa_ui assumes that the API endpoint is http://localhost:3000/ so it works in development but not in the appliance: https://github.com/ManageIQ/manageiq/blob/master/spa_ui/self_service/client/app/config/api.config.js#L5

I removed the endpoint and left just '' there, ran gulp build again and it started working.

I used an appliance from 29. September - upstream build.
Comment 2 Dave Johnson 2015-10-05 09:22:10 EDT
Milan, is this still the case with 5.5.0.3
Comment 3 Milan Falešník 2015-10-05 09:50:32 EDT
I think I tested it on 5.5.0.3. Did not file the version because it is in upstream master (and it is still there according to the link).
Comment 4 Gregg Tanzillo 2015-10-05 13:32:51 EDT
This should be fixed with https://github.com/ManageIQ/manageiq/pull/4649. It can be tested with the latest nightly build on http://releases.manageiq.org/
Comment 5 Milan Falešník 2015-10-12 04:04:22 EDT
Verified in 5.5.0.5-beta1.1.20151007163855_ed40d96

Login works.
Comment 7 errata-xmlrpc 2015-12-08 08:34:28 EST
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://access.redhat.com/errata/RHSA-2015:2551

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