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

[Helm Install Failed] An exception occurred during the deployment of the ES service. #649

Open
cheny-alf opened this issue Nov 24, 2024 · 17 comments

Comments

@cheny-alf
Copy link
Contributor

What happened?

image
Here's some additional information that might be helpful in diagnosing the issue:

kubectl describe pod elasticsearch-864cd54956-q997n -n karpor

image

kubectl logs elasticsearch-864cd54956-q997n -n karpor

image

What did you expect to happen?

null

How can we reproduce it (as minimally and precisely as possible)?

I started the deployment entirely according to the document at https://www.kusionstack.io/zh/karpor/getting-started/quick-start.

Anything else we need to know?

No response

Karpor version

$ karpor -V
# v0.5

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

@elliotxx
Copy link
Collaborator

@cheny-alf Can you share your operating system and architecture? There is a possibility that the image architecture does not match

@cheny-alf
Copy link
Contributor Author

@cheny-alf Can you share your operating system and architecture? There is a possibility that the image architecture does not match

os: macOS 15.0
architecture: ARM64
chip: M4

@elliotxx
Copy link
Collaborator

@cheny-alf I don't have an M4 Mac on hand, so it's a bit difficult to reproduce. I'm okay on an M3 Mac.

I guess there are two possible reasons:

  1. One is architecture mismatch. You can try cloning the charts repository locally, modifying the elasticsearch image in the karpor chart, adding the suffix -arm64, and finally manually installing the local charts.
  2. The second type is due to insufficient running specifications and being killed by the system process. You can check the specifications and limitations of Docker Desktop.

Example:

image

@elliotxx
Copy link
Collaborator

@cheny-alf Hey, how are you doing now? Has the problem been resolved

@cheny-alf
Copy link
Contributor Author

@elliotxx Thanks for the suggestions! I've tried both methods, but unfortunately, they didn't resolve the issue.Still facing the same error :(

@elliotxx
Copy link
Collaborator

@cheny-alf Sad ... Can you provide more information, such as how to start the k8s cluster, karpor chart version, detailed error information for elasticsearch container, etc

Detailed error information for elasticsearch container:
image

@cheny-alf
Copy link
Contributor Author

@elliotxx I'm currently away from my computer, but I'll revisit the issue this evening.

@cheny-alf
Copy link
Contributor Author

cheny-alf commented Nov 27, 2024

@elliotxx I've deployed my k8s cluster using kind(v 0.25.0.), and I'm using the latest version of the charts from kusionstack.github.io/charts/. I've followed the quick start documentation from scratch.
The es container hasn't started at all, I can't access the logs using either kubectl exec -it or kubectl cp methods. so I'm unable to provide detailed error logs.
It's really strange~~~~

@elliotxx
Copy link
Collaborator

@cheny-alf Let me try, maybe it's a hole in M4?

@elliotxx
Copy link
Collaborator

cc @ruquanzhao Take a look

@ruquanzhao
Copy link
Collaborator

@cheny-alf Let me try, maybe it's a hole in M4?

Or in macOS 15🤣. I will try to upgrade to macOS 15 later.

@ruquanzhao
Copy link
Collaborator

@cheny-alf Can you provide your ElasticSearch image version like:
image
By kubectl get pods elasticsearch-xxxxxxx-yyyyy -o yaml | grep image

@ruquanzhao
Copy link
Collaborator

And I also recommend to turns on Rosetta in Docker > Settings > General >Use Rosetta for x86/amd64 emulation on Apple Silicon

@cheny-alf
Copy link
Contributor Author

@cheny-alf Can you provide your ElasticSearch image version like: image By kubectl get pods elasticsearch-xxxxxxx-yyyyy -o yaml | grep image

image image image I've tried these three versions, but all failed.

@cheny-alf
Copy link
Contributor Author

And I also recommend to turns on Rosetta in Docker > Settings > General >Use Rosetta for x86/amd64 emulation on Apple Silicon

this has already been enabled.

@ruquanzhao
Copy link
Collaborator

It's strange. Can you paste your docker version by docker version?

@cheny-alf
Copy link
Contributor Author

cheny-alf commented Dec 2, 2024

Thank you for your patience. I've tried the two latest versions and 4.31.0 as mentioned in the document, but all attempts failed. I'm not familiar with this and need your help. If possible, let's connect on WeChat: MTUxMDU5MDYyMDc= (base64).
image

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