I believe this is a result of moving manageiq-gems-pending into a separate gem. Now, the productization files that are copied to /var/www/miq/vmdb/gems/pending/appliance_console/locales are no longer picked up by the line that was grabbing all the locales in the console (https://github.com/ManageIQ/manageiq-gems-pending/blob/master/lib/gems/pending/appliance_console.rb#L30) I think the easiest way to do this would be to make an environment variable that is the paths to search for these files. With this I think the SCAP stuff will also need an update as it is looking for its configuration in the local directory also (https://github.com/ManageIQ/manageiq-gems-pending/blob/master/lib/gems/pending/appliance_console/scap.rb#L23)
https://github.com/ManageIQ/manageiq-gems-pending/pull/66
*** Bug 1428705 has been marked as a duplicate of this bug. ***
New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/b8fe0cee968de9d71b385c101aabc0372a395dcd commit b8fe0cee968de9d71b385c101aabc0372a395dcd Author: Gregg Tanzillo <gtanzill> AuthorDate: Tue Feb 21 14:44:24 2017 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Fri Mar 3 14:38:56 2017 -0500 Update SCAP rules yaml file path to new location under productization directory. Now that gems/pending is a real gem, productized file is no longer in a path relative to the ruby script that loads it. The file will now created under the productization directory during the build. We need to point to that location to load the file. https://bugzilla.redhat.com/show_bug.cgi?id=1422433 lib/gems/pending/appliance_console.rb | 4 +++- lib/gems/pending/appliance_console/scap.rb | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-)
New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/7d12a12f3f0e482629ccab1a5128743310425b42 commit 7d12a12f3f0e482629ccab1a5128743310425b42 Author: Gregg Tanzillo <gtanzill> AuthorDate: Mon Feb 20 17:32:18 2017 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Tue Feb 21 16:02:59 2017 -0500 Look for translation files under Rails root directory in addition to to inside the gem Now that gems/pending is a real gem, the translation file for productization is no longer in a path relative to the ruby script that loads it. That file is in the original location under the Rail root directory. We need to load files from that location as well. https://bugzilla.redhat.com/show_bug.cgi?id=1422433 lib/gems/pending/appliance_console.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=8f640f793546dba07896408f135f8e1b664f5e83 commit 8f640f793546dba07896408f135f8e1b664f5e83 Author: Gregg Tanzillo <gtanzill> AuthorDate: Tue Feb 21 15:04:40 2017 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Tue Mar 7 16:00:46 2017 -0500 Updated location for productization files loaded by the gems-pending gem Now that gems/pending is a gem, we can no longer place these files in a directory that is relative to the scripts in the gem that load them. Instead, we'll put user the `productization` directory in the app root. https://bugzilla.redhat.com/show_bug.cgi?id=1422433 linker.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=d38ebf437c671f525c64c13494d39dc9db50ee7c commit d38ebf437c671f525c64c13494d39dc9db50ee7c Author: Gregg Tanzillo <gtanzill> AuthorDate: Wed Feb 22 18:02:51 2017 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Tue Mar 7 16:00:46 2017 -0500 Removed productization files for appliance_console altogether because manageiq/productization is already linked https://bugzilla.redhat.com/show_bug.cgi?id=1422433 linker.rb | 3 --- 1 file changed, 3 deletions(-)
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=ffa72d3ef382c2d5218cbb50fb93a8a29c5d5fb7 commit ffa72d3ef382c2d5218cbb50fb93a8a29c5d5fb7 Author: Gregg Tanzillo <gtanzill> AuthorDate: Tue Mar 7 15:59:01 2017 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Tue Mar 7 16:00:46 2017 -0500 Move productized appliance console files under manageiq/productization - so they are outside of the gems-pending path - so they will be picked up by the gem after https://github.com/ManageIQ/manageiq-gems-pending/pull/66 https://bugzilla.redhat.com/show_bug.cgi?id=1422433 .../appliance_console/config/scap_rules.yml | 72 ---------------------- .../locales/appliance/en_productization.yml | 28 --------- .../locales/container/en_productization.yml | 21 ------- .../appliance_console/config/scap_rules.yml | 72 ++++++++++++++++++++++ .../locales/appliance/en_productization.yml | 28 +++++++++ .../locales/container/en_productization.yml | 21 +++++++ 6 files changed, 121 insertions(+), 121 deletions(-) delete mode 100644 manageiq/gems/pending/appliance_console/config/scap_rules.yml delete mode 100644 manageiq/gems/pending/appliance_console/locales/appliance/en_productization.yml delete mode 100644 manageiq/gems/pending/appliance_console/locales/container/en_productization.yml create mode 100644 manageiq/productization/appliance_console/config/scap_rules.yml create mode 100644 manageiq/productization/appliance_console/locales/appliance/en_productization.yml create mode 100644 manageiq/productization/appliance_console/locales/container/en_productization.yml
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=12dbfe6fcabf435c0c456ee61b4d5924ac01120b commit 12dbfe6fcabf435c0c456ee61b4d5924ac01120b Merge: 0c6258d ffa72d3 Author: Jason Frey <jfrey> AuthorDate: Fri Mar 10 15:40:14 2017 -0500 Commit: Jason Frey <jfrey> CommitDate: Fri Mar 10 15:40:14 2017 -0500 Merge branch 'bz-1422433-locale-path' into 'master' Updated location for productization files loaded by the gems-pending gem Depends on https://github.com/ManageIQ/manageiq-gems-pending/pull/66 Now that gems/pending is a gem, we can no longer place these files in a directory that is relative to the scripts in the gem that load them. Instead, we'll put user the `productization` directory in the app root. https://bugzilla.redhat.com/show_bug.cgi?id=1422433 See merge request !421 linker.rb | 3 - .../appliance_console/config/scap_rules.yml | 72 ---------------------- .../locales/appliance/en_productization.yml | 28 --------- .../locales/container/en_productization.yml | 21 ------- .../appliance_console/config/scap_rules.yml | 72 ++++++++++++++++++++++ .../locales/appliance/en_productization.yml | 28 +++++++++ .../locales/container/en_productization.yml | 21 +++++++ 7 files changed, 121 insertions(+), 124 deletions(-)
Verified in 5.8.0.6