https://signoz.io logo
#general
Title
# general
e

Eugene

07/10/2023, 2:04 PM
Hello, I am trying to install sample-application and generate tracing data https://signoz.io/docs/install/kubernetes/others/#optional-install-a-sample-application-and-generate-tracing-data But pods cannot start:
Copy code
Normal   Pulling    6s (x3 over 48s)   kubelet            Pulling image "signoz/locust:0.8.1-py3.6"                                                                                                                   ││   Warning  Failed     5s (x3 over 47s)   kubelet            Failed to pull image "signoz/locust:0.8.1-py3.6": rpc error: code = NotFound desc = failed to pull and unpack image "<http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>":  ││ failed to resolve reference "<http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>": <http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>: not found                                                                                                       ││   Warning  Failed     5s (x3 over 47s)   kubelet            Error: ErrImagePull
p

Prashant Shahi

07/11/2023, 5:32 AM
Hello @Eugene 👋 This issue has been addressed in this PR: https://github.com/SigNoz/signoz/pull/3096
e

Eugene

07/11/2023, 6:46 PM
now image can be download and pods start but they crush with the following logs:
p

Prashant Shahi

07/11/2023, 6:51 PM
we have updated the Hotrod manifest as well as updated docs. can you delete the
sample-application
namespace and retry the Hotrod sample-app installation?
e

Eugene

07/12/2023, 1:50 PM
I tried to deploy sample-application from the scratch. uninstall it completely and install again. it did not help. the result and the logs are still the same.
p

Prashant Shahi

07/12/2023, 3:03 PM
Fix was merged 4 hours back: https://github.com/SigNoz/signoz/pull/3112
Did you retry recently?
e

Eugene

07/12/2023, 3:05 PM
let me try once more…
p

Prashant Shahi

07/12/2023, 3:05 PM
yes please.
do let us know if this works
e

Eugene

07/12/2023, 3:28 PM
the problem with image pulling returned
Copy code
docker pull signoz/locust:0.8.1-py3.6
Error response from daemon: manifest for signoz/locust:0.8.1-py3.6 not found: manifest unknown: manifest unknown
Copy code
Warning  Failed     3s    kubelet            Failed to pull image "signoz/locust:0.8.1-py3.6": rpc error: code = NotFound desc = failed to pull and unpack image "<http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>": failed to res │
│ olve reference "<http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>": <http://docker.io/signoz/locust:0.8.1-py3.6|docker.io/signoz/locust:0.8.1-py3.6>: not found                                                                                                                    │
│   Warning  Failed     3s    kubelet            Error: ErrImagePull
p

Prashant Shahi

07/12/2023, 3:30 PM
did you cleanup old sample application namespace?
also, why is it pointing to 0.8.1, it should be using 1.2.3
e

Eugene

07/12/2023, 3:34 PM
yes. i cleaned up old sample namespace. actually the removal script does it itself.
Copy code
Delete HotROD sample app namespace sample-application
namespace "sample-application" deleted
✅ Successfully deleted HotROD sample application
but I double checked, there is no such namespace any more
p

Prashant Shahi

07/12/2023, 3:35 PM
can you share the command that you used to install?
e

Eugene

07/12/2023, 3:36 PM
i use the following command from the guide located on the Signoz site:
Copy code
curl -sL <https://github.com/SigNoz/signoz/raw/main/sample-apps/hotrod/hotrod-install.sh> \   | HELM_RELEASE=signoz-demo SIGNOZ_NAMESPACE=signoz bash
with my env vars. I downloaded the hotrod-install.sh from the specified url. it contains:
Copy code
# Locust's docker image
if [[ -z $LOCUST_IMAGE ]]; then
    LOCUST_REPO="${LOCUST_REPO:-signoz/locust}"
    LOCUST_TAG="${LOCUST_TAG:-0.8.1-py3.6}"
    LOCUST_IMAGE="${LOCUST_REPO}:${LOCUST_TAG}"
fi
p

Prashant Shahi

07/12/2023, 3:36 PM
use
develop
instead of
main
e

Eugene

07/12/2023, 3:37 PM
got it. let me try.
p

Prashant Shahi

07/12/2023, 3:37 PM
also, LOCUST_TAG should default to
1.2.3
e

Eugene

07/12/2023, 3:39 PM
image.png
image.png
p

Prashant Shahi

07/12/2023, 3:42 PM
why HttpLocust is being used there. It is likely using old version from
main
branch instead. Did you try the latest commands from docs?
I just tested it from docs again. It works without any problem.
e

Eugene

07/12/2023, 3:44 PM
image.png
at the same time hotrod works fine
tried once again. the result is the same.
p

Prashant Shahi

07/12/2023, 6:36 PM
it looks like it is still creating
locust-slave
instead of
locust-worker
can you confirm the content of the install script.
Copy code
wget <https://github.com/SigNoz/signoz/raw/develop/sample-apps/hotrod/hotrod-install.sh>
^ it should match with the GitHub remote: https://raw.githubusercontent.com/SigNoz/signoz/develop/sample-apps/hotrod/hotrod-install.sh After that you can execute the local script:
Copy code
cat hotrod-install.sh | HELM_RELEASE=signoz-demo SIGNOZ_NAMESPACE=signoz bash
e

Eugene

07/13/2023, 5:54 AM
the files are the same. it is working now. thank you.
p

Prashant Shahi

07/13/2023, 6:34 AM
glad to know it works now 🙂
4 Views