Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1514940 - Upgrade OSP11->OSP12 overwrites tripleo_ui_config.js
Summary: Upgrade OSP11->OSP12 overwrites tripleo_ui_config.js
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-ui
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Jason E. Rist
QA Contact: Arik Chernetsky
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-19 15:08 UTC by Udi
Modified: 2019-04-14 05:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Launchpad 1634131 None None None 2017-12-11 14:25:25 UTC

Description Udi 2017-11-19 15:08:04 UTC
Description of problem:
The upgrade resets the contents of /var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js back to defaults. This might be harmless on most bare metal installations, where the defaults are correct, but in some cases could make the GUI unreachable.

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

How reproducible:

Steps to Reproduce:
1. Install OSP11 and configure /var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js
2. Upgrade the undercloud
3. Check the contents of /var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js

Actual results:
Contents reset to defaults ...

Expected results:
User changes should be preserved. Maybe this file was supposed to be in /etc ?

Additional info:
In virtualized setups you typically need to edit this file. It configures the service endpoints that the GUI will use, and you want those endpoints to be the host and not the VM.

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