Description
When using the UI and trying to create an Aux image we are getting the following error:
JDK version is 11.0.15.1+2-LTS-10
JAVA_HOME = /usr/java/jdk-11.0.15.1
CLASSPATH = /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/Middleware/wlserver/server/lib/weblogic.jar
JAVA_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=
/usr/java/jdk-11.0.15.1/bin/java -cp /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/Middleware/wlserver/server/lib/weblogic.jar -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console= -Dpython.path=/u01/Middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib org.python.util.jython /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/python/prepare_model.py -oracle_home /u01/Middleware -model_file /home/opc/edea-oke-prod-models/model.yaml -output_dir /home/opc/prepareModelPrNofw -target wko
####<Jun 28, 2022 3:40:33 PM> <> <> <The prepareModel program will write its log to /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/logs/prepareModel.log>
####<Jun 28, 2022 3:40:35 PM> <The WebLogic Deploy Tooling prepareModel version is 2.1.0:.a158563:Feb 18, 2022 19:09 UTC>
####<Jun 28, 2022 3:40:35 PM> <> <No patches home at inventory/patches>
####<Jun 28, 2022 3:40:35 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:35 PM> <> <No patches home at /u01/Middleware/inventory/patches>
####<Jun 28, 2022 3:40:35 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:36 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:36 PM> <filter_helper> <_apply_filter> <Applying filter with ID "wko_filter">
####<Jun 28, 2022 3:40:36 PM> <wlsdeploy.prepare_model> <_apply_filter_and_inject_variable>
####<Jun 28, 2022 3:40:36 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:36 PM> <variable_injector> <inject_variables_keyword_file> <Will inject variable replacement strings into model using keyword directions found in file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:37 PM> <variable_injector> <inject_variables_keyword_file>
####<Jun 28, 2022 3:40:37 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:37 PM> <filter_helper> <_apply_filter> <Applying filter with ID "wko_filter">
####<Jun 28, 2022 3:40:38 PM> <_substitute> <Could not resolve secret token "weblogic-credentials:username". Known secrets include: . Secrets can only be resolved in Kubernetes environment. The secret tokens name and keys must have a matching Kubernetes secret name and literals in the same namespace. For WebLogic Kubernetes Operator deployment, you must specify the secret name in "domain.spec.configuration.secrets">
####<Jun 28, 2022 3:40:38 PM> <_substitute> <Could not resolve secret token "weblogic-credentials:password". Known secrets include: . Secrets can only be resolved in Kubernetes environment. The secret tokens name and keys must have a matching Kubernetes secret name and literals in the same namespace. For WebLogic Kubernetes Operator deployment, you must specify the secret name in "domain.spec.configuration.secrets">
####<Jun 28, 2022 3:40:38 PM> <path_utils> <find_config_path> <Using configuration file /opt/WebLogic Kubernetes Toolkit UI/tools/wdt-config/targets/wko/target.json>
####<Jun 28, 2022 3:40:38 PM> <filter_helper> <_apply_filter> <Applying filter with ID "wko_filter">
####<Jun 28, 2022 3:40:38 PM> <vz_config_helper> <_create_file> <Creating target configuration file /home/opc/prepareModelPrNofw/wko-domain.yaml>
Issue Log for prepareModel version 2.1.0 running WebLogic version 14.1.1.0.0 offline mode:
Total: WARNING : 0 SEVERE : 0
prepareModel.sh completed successfully (exit code = 0)
/opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/bin/prepareModel.sh exited with exit code 0
[INFO ] WebLogic Image Tool version 1.11.0
[INFO ] Image Tool build ID: c85d3beb-322f-4a37-8e07-f2b5ea3b1791
[INFO ] Temporary directory used for image build context: /tmp/wlsimgbuilder_temp2770645632245691960
[INFO ] Copying /home/opc/edea-oke-prod-models/model.yaml to build context folder.
[INFO ] Copying /home/opc/Downloads/weblogic-deploy.tar.gz to build context folder.
[INFO ] Starting build: /usr/bin/podman build --no-cache --force-rm --tag lhr.ocir.io/lrtg4a4iixwu/cfl-prod-reg-aux-image:4 /tmp/wlsimgbuilder_temp2770645632245691960
java.io.IOException: Build command failed with error: Error: kernel does not support overlay fs: unable to create kernel-style whiteout: operation not permitted
at com.oracle.weblogic.imagetool.util.Utils.processError(Utils.java:272)
at com.oracle.weblogic.imagetool.util.Utils.runDockerCommand(Utils.java:250)
at com.oracle.weblogic.imagetool.util.Utils.removeIntermediateDockerImages(Utils.java:706)
at com.oracle.weblogic.imagetool.cli.menu.CommonOptions.cleanup(CommonOptions.java:240)
at com.oracle.weblogic.imagetool.cli.menu.CreateAuxImage.call(CreateAuxImage.java:55)
at com.oracle.weblogic.imagetool.cli.menu.CreateAuxImage.call(CreateAuxImage.java:21)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at com.oracle.weblogic.imagetool.cli.ImageTool.run(ImageTool.java:79)
at com.oracle.weblogic.imagetool.cli.ImageTool.main(ImageTool.java:51)
/opt/WebLogic Kubernetes Toolkit UI/tools/imagetool/bin/imagetool.sh exited with exit code 0