Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1535445

Summary: Update tripleo-ui dependencies
Product: Red Hat OpenStack Reporter: Beth White <beth.white>
Component: openstack-tripleo-uiAssignee: Jiri Tomasek <jtomasek>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: dtrainor, flfuchs, jjoyce, jpichon, jschluet, jtomasek, mburns, rhel-osp-director-maint, slinaber, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-ui-8.3.1-0.20180303225336.57e3d96.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:42:25 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 Beth White 2018-01-17 12:09:33 UTC
We need to keep tripleo-ui dependencies up to date. The goal is to release OSP13 with React 16 so potential backports are not complicated.

Comment 5 Udi Kalifon 2018-04-04 11:22:29 UTC
How do I test what the dependencies are? I don't see React16 in the RPM dependencies:

rpm -qR openstack-tripleo-ui-8.3.1-2.el7ost.noarch
config(openstack-tripleo-ui) = 8.3.1-2.el7ost
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 6 Florian Fuchs 2018-06-19 13:07:51 UTC
(In reply to Udi from comment #5)
> How do I test what the dependencies are? I don't see React16 in the RPM
> dependencies:
> 
> rpm -qR openstack-tripleo-ui-8.3.1-2.el7ost.noarch
> config(openstack-tripleo-ui) = 8.3.1-2.el7ost
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(PayloadIsXz) <= 5.2-1

React 16 isn't installed as an rpm dependency but as part of the RDO build process so it can't be listed with repm/yum commands. 

I am not sure if this sufficient for testing, but React 16 was introduced in tripleo-ui 8.3.0. So openstack-tripleo-ui-8.3.1 is built with 16 as well.

Comment 7 Julie Pichon 2018-06-19 14:29:17 UTC
Opening the source RPM (openstack-tripleo-ui-8.3.1-3.el7ost.src.rpm) and looking in package.json I can confirm it was built with React 16:

$ grep \"react\" package.json
    "react": "^16.2.0",

If someone can confirm that the UI works just fine with openstack-tripleo-ui-8.3.1-3.el7ost installed that seems sufficient to me for a basic SanityCheck.

Comment 8 Dan Trainor 2018-06-19 16:59:56 UTC
Confirmed, and UI appears to work just fine:

(undercloud) [stack@rdo-ci-fx2-04-s8 openstack-tripleo-ui]$ rpm2cpio openstack-tripleo-ui-8.3.1-3.el7ost.src.rpm | cpio -idmv
0001-Downstream-brand-for-Red-Hat-OpenStack-Director-13.patch
0002-Pass-currentPlanName-when-fetching-available-roles.patch
openstack-tripleo-ui.spec
tripleo-ui-8.3.1.tar.gz
tripleo-ui.conf
1621 blocks
(undercloud) [stack@rdo-ci-fx2-04-s8 openstack-tripleo-ui]$ tar -xf tripleo-ui-8.3.1.tar.gz 
(undercloud) [stack@rdo-ci-fx2-04-s8 openstack-tripleo-ui]$ grep grep \"react\" package/package.json 
grep: "react": No such file or directory
(undercloud) [stack@rdo-ci-fx2-04-s8 openstack-tripleo-ui]$  grep \"react\" package/package.json 
    "react": "^16.2.0",
(undercloud) [stack@rdo-ci-fx2-04-s8 openstack-tripleo-ui]$

Comment 10 errata-xmlrpc 2018-06-27 13:42:25 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://access.redhat.com/errata/RHEA-2018:2086