k3d icon indicating copy to clipboard operation
k3d copied to clipboard

[BUG] error waiting for log line k3s is up and running

Open rc452860 opened this issue 6 months ago • 6 comments

What did you do

  • How was the cluster created? using command: k3d cluster create --agents 3 demo

  • What did you do afterwards? Just upgrade k3d version to 5.7.3, after I tried several versions, I found that version 5.6.0 works well, and version 5.6.3 does not work.

What did you expect to happen

start cluster error with: error waiting for log line k3s is up and running

Screenshots or terminal output

If applicable, add screenshots or terminal output (code block) to help explain your problem.

# k3d  cluster create --agents 3 demo 
INFO[0000] Prep: Network                                
INFO[0000] Created network 'k3d-demo'                   
INFO[0000] Created image volume k3d-demo-images         
INFO[0000] Starting new tools node...                   
INFO[0000] Starting node 'k3d-demo-tools'               
INFO[0001] Creating node 'k3d-demo-server-0'            
INFO[0001] Creating node 'k3d-demo-agent-0'             
INFO[0001] Creating node 'k3d-demo-agent-1'             
INFO[0001] Creating node 'k3d-demo-agent-2'             
INFO[0001] Creating LoadBalancer 'k3d-demo-serverlb'    
INFO[0001] Using the k3d-tools node to gather environment information 
INFO[0001] HostIP: using network gateway 192.168.64.1 address 
INFO[0001] Starting cluster 'demo'                      
INFO[0001] Starting servers...                          
INFO[0001] Starting node 'k3d-demo-server-0'            
ERRO[0002] Failed Cluster Start: Failed to start server k3d-demo-server-0: Node k3d-demo-server-0 failed to get ready: error waiting for log line `k3s is up and running` from node 'k3d-demo-server-0': stopped returning log lines: node k3d-demo-server-0 is running=true in status=restarting 
ERRO[0002] Failed to create cluster >>> Rolling Back    
INFO[0002] Deleting cluster 'demo'                      
INFO[0002] Deleting cluster network 'k3d-demo'          
INFO[0002] Deleting 1 attached volumes...               
FATA[0002] Cluster creation FAILED, all changes have been rolled back! 

Which OS & Architecture

arch: x86_64
cgroupdriver: cgroupfs
cgroupversion: "1"
endpoint: /var/run/docker.sock
filesystem: extfs
infoname: VM-12-32-centos
name: docker
os: Tencent tlinux 2.6
ostype: linux
version: 20.10.22

Which version of k3d

k3d version v5.7.3
k3s version v1.30.3-k3s1 (default)

Which version of docker

Client: Docker Engine - Community
 Version:           20.10.22
 API version:       1.41
 Go version:        go1.18.9
 Git commit:        3a2c30b
 Built:             Thu Dec 15 22:30:24 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.22
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.9
  Git commit:       42c8b31
  Built:            Thu Dec 15 22:28:33 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.14
  GitCommit:        9ba4b250366a5ddde94bb7c9d1def331423aa323
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)
  compose: Docker Compose (Docker Inc., v2.27.0)
  scan: Docker Scan (Docker Inc., v0.23.0)

Server:
 Containers: 9
  Running: 9
  Paused: 0
  Stopped: 0
 Images: 41
 Server Version: 20.10.22
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 9ba4b250366a5ddde94bb7c9d1def331423aa323
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.4.119-1-tlinux4-0010.2
 Operating System: Tencent tlinux 2.6
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.38GiB
 Name: VM-12-32-centos
 ID: WMUJ:FIQW:XUAF:O4N4:RTXL:ROBN:ICZX:PKA4:WF5V:EACC:TLEK:STOW
 Docker Root Dir: /data/docker
 Debug Mode: false
 Username: arkura
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  docker.oa.com
  dockerimage.isd.com
  registry.christtu.com:5000
  csighub.tencentyun.com
  127.0.0.0/8
 Registry Mirrors:
  https://dockerhub.woa.com/
 Live Restore Enabled: false

rc452860 avatar Aug 06 '24 09:08 rc452860