Comments (18)
I see that you've already lengthened the timeout of the introspection job. Given that the timeout (activeDeadlineSeconds) is set at 10 minutes, introspection is probably not failing due to a timeout. Can you check the status of the introspection job as described here?: https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/debugging/#check-the-introspector-job.
Likely, we will find that the introspection job is failing for some reason that we can assist with.
from weblogic-kubernetes-operator.
@backwind1233 Can you upload the operator logs and events. From the screen snapshot, I see a Failed
event for Domain with internal error but I can't see the complete event. If you have captured the introspector job pod logs, please upload that as well.
from weblogic-kubernetes-operator.
Please also consult the debugging document for debugging the problem.
from weblogic-kubernetes-operator.
You can try setting the following environment variable before building the domain creation image on your Mac or build the image on a Linux VM.
export DEFAULT_DOCKER_PLATFORM=linux/amd64
from weblogic-kubernetes-operator.
@backwind1233 I don't have access to an AKS environment to run the domain creation sample. From the docker image inspect
command output that you have provided above, the image is still using arm64
architecture and not amd64
. Have you tried to build the image on a virtual machine? I'll check with my colleagues tomorrow about why architecture is still arm64
after you set DEFAULT_DOCKER_PLATFORM
env variable to linux/amd64
.
from weblogic-kubernetes-operator.
Hello @ankedia, could you help to take a look at this issue?
from weblogic-kubernetes-operator.
Thank you @rjeberhard @ankedia,
Please also consult the debugging document for debugging the problem.
I have followed the document trying to debug, but I still can't figure out.
Here are the logs.
-
job-describe-log.txt is the output of
kubectl -n sample-domain1-ns describe job/sample-domain1-introspector
-
job-events-log.txt is the event log.
-
job-introspector-log.txt is the output of
kubectl -n sample-domain1-ns logs pod/sample-domain1-introspector-lhc2k
output.
from weblogic-kubernetes-operator.
It looks like introspector job pod is waiting to iniatilize. It's possible that the init container operator-aux-container1
is failing. How do you build the domain creation image? Is it built on a different chipset or OS? Can you run the below command to get the init container logs of the intospector job pod?
from weblogic-kubernetes-operator.
Run the following command to get the logs ->
kubectl logs <introspector-pod-name> -n <namespace> -c operator-aux-container1
from weblogic-kubernetes-operator.
It looks like introspector job pod is waiting to iniatilize. It's possible that the init container
operator-aux-container1
is failing. How do you build the domain creation image? Is it built on a different chipset or OS? Can you run the below command to get the init container logs of the intospector job pod?
Yes, I build the domain creation image.
Is it built on a different chipset or OS?
Yes, I build it on my Mac OS with M1 .
from weblogic-kubernetes-operator.
Run the following command to get the logs ->
kubectl logs <introspector-pod-name> -n <namespace> -c operator-aux-container1
Yes, here is the result of the command.
exec /weblogic-operator/scripts/auxImage.sh: exec format error
from weblogic-kubernetes-operator.
Ok. It looks like your domain creation image was built on ARM processor but the container runtime environment is different (for e.g. AMD).
You can try setting the env variable before building the image ->
export DEFAULT_DOCKER_PLATFORM=linux/amd64
To confirm the image architecture, you can run this command ->
docker image inspect phx.ocir.io/weblogick8s/wdt-domain-image:WLS-v1 | grep -i architecture
"Architecture": "amd64",
Looping in @jshum2479 and @robertpatrick for other suggestions.
from weblogic-kubernetes-operator.
Ok. It looks like your domain creation image was built on ARM processor but the container runtime environment is different (for e.g. AMD).
You can try setting the env variable before building the image ->
export DEFAULT_DOCKER_PLATFORM=linux/amd64
To confirm the image architecture, you can run this command ->
docker image inspect phx.ocir.io/weblogick8s/wdt-domain-image:WLS-v1 | grep -i architecture "Architecture": "amd64",
Looping in @jshum2479 and @robertpatrick for other suggestions.
Yes, maybe that's the reason.
from weblogic-kubernetes-operator.
You can try setting the following environment variable before building the domain creation image on your Mac or build the image on a Linux VM.
export DEFAULT_DOCKER_PLATFORM=linux/amd64
Ok, I will try that, thank you.
from weblogic-kubernetes-operator.
I used this command export DEFAULT_DOCKER_PLATFORM=linux/amd64
to build the image on my Mac M1,
also check the architecture with
docker image inspect wlsgzhcontainer.azurecr.io/wdt-domain-image:WLS-v2| grep -i architecture
"Architecture": "arm64",
It is "amd64", but the job still failed.
I will try to build the image on a virtual machine.
from weblogic-kubernetes-operator.
Hi @ankedia, could you run the domain creation sample with AKS successfully? Could you have a try, perhaps I made some silly mistakes.
from weblogic-kubernetes-operator.
Thank you @ankedia , I am tring to build the image on VM,
I got an error when I try to build the image
Please set the JAVA_HOME environment variable to match the location of your Java installation. Java 8 or newer is required.
but I do set the JAVA_HOME
azureroot@buildvmimageonubuntu:/tmp/sample/wdt-artifacts/wdt-model-files/WLS-v1$ echo $JAVA_HOME
/home/azureroot/.sdkman/candidates/java/17.0.7-oracle
I am tring to fix it.
from weblogic-kubernetes-operator.
Hello @ankedia , I think you are right, it's the DOCKER_PLATFORM issue.
I build the image on a virtual machine, the architecture of the new image is "amd64".
Now it works as expected on AKS.
from weblogic-kubernetes-operator.
Related Issues (20)
- Solution for Windows: vm.max_map_count=262144 (Docker compose) HOT 1
- Weblogic Operator-3.3.8 rolling restart not happening when the pod is not in Ready State HOT 9
- Consider updating "/scaling" to reference newer blog posts about scaling
- 4.0.6 - SourcePath source-path for .war application is not updated in manager-servers HOT 27
- Is it possible for the wko introspector auxiliary image config version diff/merge to use the memory instead of the /tmp? HOT 5
- project version 4.1.0-SNAPSHOT in 4.0.6 release HOT 2
- Weblogic SQLAuthenticator AuthenticationProvider delete all users and groups from DB on the creation domain step HOT 4
- JMS Server Health And Active Destinations Are Not Showing In Console If Target is Cluster HOT 2
- Couldn't create a domain by following steps in WLS on AKS Domain on PV sample HOT 3
- OWSM Policies - Caching HOT 6
- Fixing FAILED_NOT_RESTARTABLE HOT 2
- Weblogic operator 4.1.1 and 4.1.2 mount issues HOT 1
- wdt-and-wit-utility.sh used wrong url and filename in function install_wit HOT 2
- Helm chart value, tolerations, is not applied to webhook deployment HOT 1
- Server Start Arguments from Server Template not used in Dynamic Server instance. HOT 2
- Request for Helm Charts to Facilitate WebLogic Operator and WebLogic Monitoring Exporter Installation on OpenShift HOT 1
- ReadyApp framework does not detect failed deployment HOT 15
- kubectl scale up fails- weblogic.validating.webhook validation error HOT 3
- Add possibility to add extra Service Selector HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weblogic-kubernetes-operator.