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

TOTALLY NEW UBUNTU 22.04 64bit, CANNOT INSTALL KubeSphere BY INSTALL INSTRUCTIONS #6073

Open
landoyjx opened this issue Mar 27, 2024 · 0 comments

Comments

@landoyjx
Copy link

What's your question

All-in-one, FAILT TO INSTALL.

install scripts

# Download KubeKey
curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.10 sh -
# Make kk executable
chmod +x kk
# Create a cluster
./kk create cluster --with-kubernetes v1.24.14 --container-manager containerd --with-kubesphere v3.4.0

Environment: OS & Hardware Information

uname -a
Linux 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Aliyun ECS 2 Core CPU, 4G Memory, HK

Important: You must describe your environment clearly, e.g. VMware or Bare Metal, CentOS 7.5, 8 C / 16 G (If you install on Linux), Or Kubernetes v1.16 (If you install on K8s).

Cloud Server, Ubuntu 22.04 64bit, KubeSphere All in one installation

Error logs or message (Attach logs or screenshot)

11:46:54 CST [JoinNodesModule] Generate kubeadm config
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Generate audit policy
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Generate audit webhook
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Join control-plane node
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Join worker node
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Copy admin.conf to ~/.kube/config
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Remove master taint
11:46:54 CST skipped: [iZj6c6q644qpad5kom6tgjZ]
11:46:54 CST [JoinNodesModule] Add worker label to all nodes
11:46:54 CST stdout: [iZj6c6q644qpad5kom6tgjZ]
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found
11:46:54 CST message: [iZj6c6q644qpad5kom6tgjZ]
add worker label failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl label --overwrite node iZj6c6q644qpad5kom6tgjZ node-role.kubernetes.io/worker="
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found: Process exited with status 1
11:46:54 CST retry: [iZj6c6q644qpad5kom6tgjZ]
11:46:59 CST stdout: [iZj6c6q644qpad5kom6tgjZ]
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found
11:46:59 CST message: [iZj6c6q644qpad5kom6tgjZ]
add worker label failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl label --overwrite node iZj6c6q644qpad5kom6tgjZ node-role.kubernetes.io/worker="
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found: Process exited with status 1
11:46:59 CST retry: [iZj6c6q644qpad5kom6tgjZ]
11:47:05 CST stdout: [iZj6c6q644qpad5kom6tgjZ]
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found
11:47:05 CST message: [iZj6c6q644qpad5kom6tgjZ]
add worker label failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl label --overwrite node iZj6c6q644qpad5kom6tgjZ node-role.kubernetes.io/worker="
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found: Process exited with status 1
11:47:05 CST failed: [iZj6c6q644qpad5kom6tgjZ]
error: Pipeline[CreateClusterPipeline] execute failed: Module[JoinNodesModule] exec failed:
failed: [iZj6c6q644qpad5kom6tgjZ] [addWorkerLabelToNode] exec failed after 3 retries: add worker label failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl label --overwrite node iZj6c6q644qpad5kom6tgjZ node-role.kubernetes.io/worker="
Error from server (NotFound): nodes "iZj6c6q644qpad5kom6tgjZ" not found: Process exited with status 1

Installer Version

kubernetes v1.24.14
kubesphere v3.4.0

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

1 participant