Hi Team, In RHOCP4.7, we can install 'jq' command from `rhel-7-server-ose-4.7-rpms`. But in RHOCP4.8, we cannot find 'jq' command in `rhel-7-server-ose-4.8-rpms`. So our questions are: Q1. How can we install jq command with RHOCP4.8? Q2. Why did Red Hat remove 'jq' command from rhel-7-server-ose-4.x-rpms repository? 'jq' is one of most important tools in OpenShift. Without this command, we cannot run several examples written in OpenShift manual. Findings: jq package is currently not available in repository rhel-7-server-ose-4.8-rpms Please let us know in case of any information is requried.
There is no version lock between the jq package and OCP releases as far as I know so the customer can use the jq package from the rhel-7-server-ose-4.7-rpms repo with OCP 4.8. The jq package is also available in the RHEL repositories and will probably only be available from there going forward.
Is there anything specifically not working with the jq package from the 4.7 repo? Do you need the package for a RHEL 7 worker node or for another RHEL 7 system?
Dear Timothée, Thank you for your comment. > There is no version lock between the jq package and OCP releases as far as I know so the customer can use the jq package from the rhel-7-server-ose-4.7-rpms repo with OCP 4.8. However, there is no description about such thing in OCP manual. Red Hat provides a new rhel-7-server-ose-4.X-rpms repository every time they releases a new OCP version. So user will naturally think that they should use the same version of rhel-7-server-ose-4.X-rpms as their OCP version. > Is there anything specifically not working with the jq package from the 4.7 repo? There is no problem if Red Hat allows user to install jq from 4.7 repo. But it must be written in OCP manual. User who upgrades OpenShift from 4.7 to 4.8 would know that jq is available in 4.7 repo, but user who starts to use OpenShift from 4.8 won't notice it. > The jq package is also available in the RHEL repositories and will probably only be available from there going forward. Which repository can we use for jq with RHEL7? We found jq from RHEL8's repository(rhel-8-for-x86_64-appstream-rpms) but cannot find from RHEL7's repository. Our bastion node is RHEL7 so we want a jq package for RHEL7. Best Regards, Masaki Hatada
I'll clarify something that I should have mentioned earlier: you can use the package from the 4.7 repo for now as a workaround until we fix this issue. I am waiting on feedback from other team members about how we should proceed as the package was only provided in 4.6 and 4.7.
Hello Timothee, Thank you for your comment. Yes, We can install jq from ose 4.7 repo (and also we need "oniguruma" that will install from ose 4.7 repo as a dependency.) as a temporary workaround. I mean, we need "jq" and "oniguruma" are also required for the repository after 4.8. In addition to 4.6 and 4.7, jq had been available since 4.1. https://access.redhat.com/downloads/content/jq/1.6-2.el7/x86_64/fd431d51/package
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 (OpenShift Container Platform 4.9.8 packages update), 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/RHBA-2021:4711