Bug 1535445
| Summary: | Update tripleo-ui dependencies | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Beth White <beth.white> |
| Component: | openstack-tripleo-ui | Assignee: | 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: | beta | Keywords: | 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
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 (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. 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.
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]$
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 |