opentelemetry-demo icon indicating copy to clipboard operation
opentelemetry-demo copied to clipboard

Running into issue in Lima VM, MacOS(M1) , frontend Pod is restarting all the time.

Open developer1622 opened this issue 3 months ago • 0 comments

Bug Report

Which version of the demo you are using? (please provide either a specific commit hash or a specific release).

I have followed this to install demo App:

kubectl apply --namespace otel-demo -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-demo/main/kubernetes/opentelemetry-demo.yaml

Symptom

A clear and concise description of what the bug is.

What is the expected behavior? I expected that URL Web store: http://localhost:8080/ would work fine and I can do some operations on the page, but it did not

What do you expect to see? Web store page and content

What is the actual behavior? Web store page and content

What did you see instead?

upstream connect error or disconnect/reset before headers. reset reason: connection termination

After sometime refresh

upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: 111

Logs of Pod: frontend  [opentelemetry-demo-frontend-76f486559f-mlbtp]

│ > [email protected] start                                                                                                                                                                     │
│ > node --require ./Instrumentation.js server.js                                                                                                                                            │
│                                                                                                                                                                                            │
│ npm notice                                                                                                                                                                                 │
│ npm notice New minor version of npm available! 10.2.4 -> 10.5.0                                                                                                                            │
│ npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>                                                                                                                    │
│ npm notice Run `npm install -g [email protected]` to update!                                                                                                                                      │
│ npm notice                                                                                                                                                                                 │
│ npm ERR! path /app                                                                                                                                                                         │
│ npm ERR! command failed                                                                                                                                                                    │
│ npm ERR! signal SIGILL                                                                                                                                                                     │
│ npm ERR! command sh -c node --require ./Instrumentation.js server.js                                                                                                                       │
│                                                                                                                                                                                            │
│ npm ERR! A complete log of this run can be found in: /home/nextjs/.npm/_logs/2024-04-01T18_43_39_297Z-debug-0.log                                                                          │


Reproduce

Provide the minimum required steps to result in the issue you're observing.

Install LimaVM in MacOS: https://github.com/lima-vm/lima/blob/master/examples/k3s.yaml

And install the Otel demo using the Kubectl command(above-mentioned)

Do the said port-forward as per the document: https://opentelemetry.io/docs/demo/kubernetes-deployment/

All the pods are up and running except the Pod named frontend, which restarts continuously and another Pod named opensearch.

We will close this issue if:

  • The steps you provided are complex.
  • If we can not reproduce the behavior you're reporting.

Additional Context

MacOS, M1 Chip. Installed K3s in Lima VM and trying to access in Host MacOS system. Thanks

developer1622 avatar Apr 01 '24 18:04 developer1622