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

[Bug][TubeMQ] curl and ps commands not found in tubemq docker container #3547

Closed
2 tasks done
shink opened this issue Apr 6, 2022 · 0 comments · Fixed by #3548
Closed
2 tasks done

[Bug][TubeMQ] curl and ps commands not found in tubemq docker container #3547

shink opened this issue Apr 6, 2022 · 0 comments · Fixed by #3548
Assignees
Labels
Milestone

Comments

@shink
Copy link
Member

shink commented Apr 6, 2022

What happened

  1. No curl command found when executing tubemq readiness probe.
Warning  Unhealthy  2m37s (x34 over 14m)  kubelet  Readiness probe failed: /config-scripts/ready: 2: /config-scripts/ready: curl: not found

And the readiness probe command is:

#!/bin/sh
curl 127.0.0.1:8080/index.htm

And the tubemq-all docker image didn't install curl in Dockerfile.

# tubemq depend on zookeeper
FROM zookeeper:3.4
# install tools for debug
RUN apt-get update \
    && apt-get install -y net-tools vim \
    && rm -rf /var/lib/apt/lists/*
  1. the ps command not found
/opt/tubemq-server/bin/tubemq.sh: line 51: ps: command not found

According to https://stackoverflow.com/questions/26982274/ps-command-doesnt-work-in-docker-container, the procps should be installed.

What you expected to happen

The tubemq statefulset works fine.

How to reproduce

Install helm chart.

Environment

No response

InLong version

master

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@shink shink added the type/bug Something is wrong label Apr 6, 2022
@shink shink changed the title [Bug][TubeMQ] curl not found [Bug][TubeMQ] curl and ps commands not found in tubemq docker container Apr 6, 2022
shink added a commit to shink/inlong that referenced this issue Apr 6, 2022
@dockerzhang dockerzhang added this to the 1.1.0 milestone Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants