Bug 1729770
Summary: | Translations missing from Horizon's container | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Eldar Weiss <eweiss> | |
Component: | openstack-containers | Assignee: | Dan Prince <dprince> | |
Status: | CLOSED ERRATA | QA Contact: | Beth White <beth.white> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 15.0 (Stein) | CC: | athomas, augol, beth.white, dprince, gouthamr, iovadia, jrist, lhh, m.andre, mburns, rdopiera | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 15.0 (Stein) | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | openstack-horizon-container-15.0-51 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1737503 (view as bug list) | Environment: | ||
Last Closed: | 2019-09-21 16:39:03 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1737503 |
Description
Eldar Weiss
2019-07-14 12:03:53 UTC
I was unable to reproduce this bug. What is the language you choose? How did you install Horizon? Which browser are you using? Do you have any plugins, such as Privacy Badger, that could have prevented Horizon from setting a cookie? This happened to me on Chrome. Tried cleaning cache and history...still same issue. I've tried several languages (Italian, Spanish, Chinese). This was on RHOSP15...latest. This bug was successfully recreated by Ido Ovadia on his own server and his version was a build from at least a week or two ago. My versions are: python3-django-horizon-15.1.1-0.20190701101229.c3ac75e.el8ost.noarch openstack-dashboard-15.1.1-0.20190701101229.c3ac75e.el8ost.noarch openstack-dashboard-theme-15.0.1-1.el8ost.noarch puppet-horizon-14.4.1-0.20190425170346.8a5fe3a.el8ost.noarch I tried with Polish, and now also with Italian, Spanish and Chinese, both with Chromium and Firefox, and they all work for me. Do you have an instance where it doesn't work that I could test? I'm afraid that is in a private network to which I don't have access. Are you sure? what does it say? Were supposed to be on the same network. I checked now; my build is 20190708. I also checked Horizon...the bug still occurs. Please refer to Ido Ovadia and ask for his instance if you can't login to mine (it happens to him too). I get ERR_CONNECTION_REFUSED, I will talk with Ido. # ls /usr/share/openstack-dashboard/openstack_dashboard/locale/ en_AU en_GB Looks like most of the translations are deleted from the container for some reason. Since the problem only appears in the container, and packstack-installed horizon is not missing the translations, they are likely deleted by something in tripleo, so I'm changing the bug's component. After discussion with Lon Hohberger and some experiments, we think that the cause is related to https://bugzilla.redhat.com/show_bug.cgi?id=156477 The solution seems to be installing glibc-langpacks-all So the solution is this: RUN mv /etc/rpm/macros.image-language-conf / \ && dnf -y install openstack-dashboard \ && mv /macros.image-language-conf /etc/rpm \ && ... (rest of dockerfile) I think this will either be moved to tripleo-common or kolla. The /etc/rpm/macros.image-language.conf is provided by ubi8. DNF -> RPM loads this macro file and then prunes anything that isn't in there upon install. Currently running RHOSP15 installation, will verify this bug ASAP. Almost... 1. Install, default is set to EN. 2. Change to, say, DE, click Save. 3. Now in Deutsche, change to English and click on Speichern. 4. Logout. 5. Login. Landing page is English but subtabs, like Compute->Images is in Deutsche. It would seem like a cache issue. Please make sure browser does not use saved cache between language/theme settings changes. Post discussion with Amit we are marking this blocker bug as verified and opening a cloned bug to address the low priority caching issue. The blocking issue has been resolved. 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-2019:2853 |