Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.9 introspector pod failing with Jq not installed #5115

Open
manvindar-telus opened this issue Oct 16, 2024 · 2 comments
Open

4.2.9 introspector pod failing with Jq not installed #5115

manvindar-telus opened this issue Oct 16, 2024 · 2 comments

Comments

@manvindar-telus
Copy link

The latest Helm chart installation is failing due to a 'jq not installed' error.

ls: cannot access /u01/domains/sample-domain1: No such file or directory
ls -ld /u01/domains:
 ls: cannot access /u01/domains: No such file or directory
ls -ld /u01:
 drwxr-xr-x 1 oracle oracle 4096 Mar 31  2020 /u01
ls -ld /:
 drwxr-xr-x 1 root root 4096 Oct 16 21:11 /
@[2024-10-16T21:11:44.257525927Z][utils_base.sh:211][FINE] WDT_MODEL_HOME='/aux/models'
@[2024-10-16T21:11:44.299422593Z][utils_base.sh:211][FINE] WDT_INSTALL_HOME='/aux/weblogic-deploy'
@[2024-10-16T21:11:44.340666843Z][introspectDomain.sh:175][FINE] Beginning Model In Image
The latest helm chart is failing installation, giving a jq not install error.

ls: cannot access /u01/domains/sample-domain1: No such file or directory
ls -ld /u01/domains:
ls: cannot access /u01/domains: No such file or directory
ls -ld /u01:
drwxr-xr-x 1 oracle oracle 4096 Mar 31  2020 /u01
ls -ld /:
drwxr-xr-x 1 root root 4096 Oct 16 21:11 /
@[2024-10-16T21:11:44.257525927Z][utils_base.sh:211][FINE] WDT_MODEL_HOME='/aux/models'
@[2024-10-16T21:11:44.299422593Z][utils_base.sh:211][FINE] WDT_INSTALL_HOME='/aux/weblogic-deploy'
@[2024-10-16T21:11:44.340666843Z][introspectDomain.sh:175][FINE] Beginning Model In Image
/usr/bin/gzip
/usr/bin/tar
/usr/bin/unzip
@[2024-10-16T21:11:44.393146427Z][introspectDomain.sh:190][SEVERE] DomainSourceType is 'FromModel' and 'onlineUpdate' is enabled; 'jq' is missing in the image. Please use an image with 'jq' installed./usr/bin/gzip
/usr/bin/tar
/usr/bin/unzip
@[2024-10-16T21:11:44.393146427Z][introspectDomain.sh:190][SEVERE] DomainSourceType is 'FromModel' and 'onlineUpdate' is enabled, 'jq' is missing in the image. Please use an image with 'jq' installed
@rjeberhard
Copy link
Member

Looping in @jshum2479.

@manvindar-telus, how are you creating your auxiliary image? The image tool has been adding jq for a long time. The validation that you are hitting was added in operator version 4.2.5 during the summer as part of another fix.

@jshum2479
Copy link
Member

We have added requirement for jq in the introspector since 4.2.5. You will need to make sure your main/base image (not auxiliary image) of the domain resource YAML referenced has jq install. If you are trying to use the arm64 version of the image provided in container-registry.oracle.com, those image is based on OL7 arm64 which does not have jq installed by default. You can update the image to install it. The jq package can be found in oracle-epel-release-el7 repo. amd64 images shouldn't have any problem. If you use imagetool to build your image that, shouldn't be any problem, by default it install jq.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants