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][InLong] The tubemq pod is invalid #3560

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

[Bug][TubeMQ][InLong] The tubemq pod is invalid #3560

shink opened this issue Apr 7, 2022 · 0 comments · Fixed by #3562
Assignees
Labels
stage/release type/bug Something is wrong
Milestone

Comments

@shink
Copy link
Member

shink commented Apr 7, 2022

What happened

The tubemq pod is invalid.

zookeeper:

Warning  FailedCreate  4m49s (x17 over 10m)  statefulset-controller  create Pod inlong-zookeeper-0 in StatefulSet inlong-zookeeper failed error: Pod "inlong-zookeeper-0" is invalid: [spec.containers[0].ports[0].name: Invalid value: "zookeeper-client-port": must be no more than 15 characters, spec.containers[0].ports[1].name: Invalid value: "zookeeper-follower-port": must be no more than 15 characters, spec.containers[0].ports[2].name: Invalid value: "zookeeper-leader-election-port": must be no more than 15 characters]

tubemq master:

Warning  FailedCreate  101s (x17 over 7m10s)  statefulset-controller  create Pod inlong-tubemq-master-0 in StatefulSet inlong-tubemq-master failed error: Pod "inlong-tubemq-master-0" is invalid: [spec.containers[0].ports[0].name: Invalid value: "tubemq-master-web-port": must be no more than 15 characters, spec.containers[0].ports[1].name: Invalid value: "tubemq-master-help-port": must be no more than 15 characters, spec.containers[0].ports[2].name: Invalid value: "tubemq-master-rpc-port": must be no more than 15 characters]

tubemq broker:

Warning  FailedCreate  5m8s (x17 over 10m)  statefulset-controller  create Pod inlong-tubemq-broker-0 in StatefulSet inlong-tubemq-broker failed error: Pod "inlong-tubemq-broker-0" is invalid: [spec.containers[0].ports[0].name: Invalid value: "tubemq-broker-web-port": must be no more than 15 characters, spec.containers[0].ports[1].name: Invalid value: "tubemq-broker-rpc-port": must be no more than 15 characters]

tubemq manager:

Warning  FailedCreate  5m22s (x17 over 10m)  statefulset-controller  create Pod inlong-tubemq-manager-0 in StatefulSet inlong-tubemq-manager failed error: Pod "inlong-tubemq-manager-0" is invalid: spec.containers[0].ports[0].name: Invalid value: "tubemq-manager-port": must be no more than 15 characters

The reason is that the port name should be no more than 15 characters.

What you expected to happen

The pods can be started correctly.

How to reproduce

kubectl create namespace inlong
helm upgrade inlong --install -n inlong ./

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 7, 2022
shink added a commit to shink/inlong that referenced this issue Apr 7, 2022
> the port name should be no more than 15 characters

issue: apache#3560
@healchow healchow added this to the 1.1.0 milestone Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/release type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants