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] In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found #1433

Open
qingfengfenga opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qingfengfenga
Copy link

What did you do

  • How was the cluster created?

    • k3d cluster create gputest -c .\config\k3d-config.yml
  • What did you do afterwards?

In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d clustername serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found

apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
  name: gpu-test
image: qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04
ports:
  - port: 8080:80 # same as `--port '8080:80@loadbalancer'`
    nodeFilters:
      - loadbalancer
options:
  runtime: 
    gpuRequest: all
volumes: # repeatable flags are represented as YAML lists
  - volume: C:\Users\xxx\Desktop\test\k3d\data\k3s:/var/lib/rancher/k3s
    nodeFilters:
      - server:0
      - agent:*
docker ps -a
CONTAINER ID   IMAGE                                                                                                   COMMAND                   CREATED          STATUS          PORTS     NAMES
6a3d4a0b7354   ghcr.io/k3d-io/k3d-tools:5.6.3                                                                          "/app/k3d-tools noop"     25 minutes ago   Up 25 minutes             k3d-gputest-tools
92822d0dc54d   ghcr.io/k3d-io/k3d-proxy:5.6.3                                                                          "/bin/sh -c nginx-pr…"   25 minutes ago   Created                   k3d-gputest-serverlb
01f674a46d0f   qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04   "/bin/k3d-entrypoint…"   25 minutes ago   Up 25 minutes             k3d-gputest-server-0

What did you expect to happen

Start the cluster normally and map /var/lib/ranger/k3s to the specified folder

Screenshots or terminal output

CMD output

 k3d cluster create gputest -c .\config\k3d-config.yml --verbose
DEBU[0000] DOCKER_SOCK=/var/run/docker.sock
DEBU[0000] Runtime Info:
&{Name:docker Endpoint:/var/run/docker.sock Version:25.0.3 OSType:linux OS:Docker Desktop Arch:x86_64 CgroupVersion:1 CgroupDriver:cgroupfs Filesystem:extfs InfoName:docker-desktop}
DEBU[0000] Additional CLI Configuration:
cli:
  api-port: ""
  env: []
  k3s-node-labels: []
  k3sargs: []
  ports: []
  registries:
    create: ""
  runtime-labels: []
  runtime-ulimits: []
  volumes: []
hostaliases: []
DEBU[0000] Validating file C:\Users\xxx\AppData\Local\Temp\k3d-config-tmp-k3d-config.yml1392795974 against default JSONSchema...
DEBU[0000] JSON Schema Validation Result: &{errors:[] score:82}
INFO[0000] Using config file .\config\k3d-config.yml (k3d.io/v1alpha5#simple)
DEBU[0000] Configuration:
agents: 0
apiversion: k3d.io/v1alpha5
image: qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04
kind: Simple
metadata:
  name: gpu-test
network: ""
options:
  k3d:
    disableimagevolume: false
    disableloadbalancer: false
    disablerollback: false
    loadbalancer:
      configoverrides: []
    timeout: 0s
    wait: true
  kubeconfig:
    switchcurrentcontext: true
    updatedefaultkubeconfig: true
  runtime:
    agentsmemory: ""
    gpurequest: all
    hostpidmode: false
    serversmemory: ""
ports:
- nodefilters:
  - loadbalancer
  port: 8080:80
registries:
  config: ""
  use: []
servers: 1
subnet: ""
token: ""
volumes:
- nodefilters:
  - server:0
  - agent:*
  volume: C:\Users\xxx\Desktop\test\k3d\data\k3s:/var/lib/rancher/k3s
DEBU[0000] ========== Simple Config ==========
{TypeMeta:{Kind:Simple APIVersion:k3d.io/v1alpha5} ObjectMeta:{Name:gpu-test} Servers:1 Agents:0 ExposeAPI:{Host: HostIP: HostPort:} Image:qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04 Network: Subnet: ClusterToken: Volumes:[{Volume:C:\Users\xxx\Desktop\test\k3d\data\k3s:/var/lib/rancher/k3s NodeFilters:[server:0 agent:*]}] Ports:[{Port:8080:80 NodeFilters:[loadbalancer]}] Options:{K3dOptions:{Wait:true Timeout:0s DisableLoadbalancer:false DisableImageVolume:false NoRollback:false NodeHookActions:[] Loadbalancer:{ConfigOverrides:[]}} K3sOptions:{ExtraArgs:[] NodeLabels:[]} KubeconfigOptions:{UpdateDefaultKubeconfig:true SwitchCurrentContext:true} Runtime:{GPURequest:all ServersMemory: AgentsMemory: HostPidMode:false Labels:[] Ulimits:[]}} Env:[] Registries:{Use:[] Create:<nil> Config:} HostAliases:[]}
==========================
DEBU[0000] ========== Merged Simple Config ==========
{TypeMeta:{Kind:Simple APIVersion:k3d.io/v1alpha5} ObjectMeta:{Name:gpu-test} Servers:1 Agents:0 ExposeAPI:{Host: HostIP: HostPort:51236} Image:qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04 Network: Subnet: ClusterToken: Volumes:[{Volume:C:\Users\xxx\Desktop\test\k3d\data\k3s:/var/lib/rancher/k3s NodeFilters:[server:0 agent:*]}] Ports:[{Port:8080:80 NodeFilters:[loadbalancer]}] Options:{K3dOptions:{Wait:true Timeout:0s DisableLoadbalancer:false DisableImageVolume:false NoRollback:false NodeHookActions:[] Loadbalancer:{ConfigOverrides:[]}} K3sOptions:{ExtraArgs:[] NodeLabels:[]} KubeconfigOptions:{UpdateDefaultKubeconfig:true SwitchCurrentContext:true} Runtime:{GPURequest:all ServersMemory: AgentsMemory: HostPidMode:false Labels:[] Ulimits:[]}} Env:[] Registries:{Use:[] Create:<nil> Config:} HostAliases:[]}
==========================
INFO[0000] portmapping '8080:80' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
DEBU[0000] generated loadbalancer config:
ports:
  80.tcp:
  - k3d-gputest-server-0
  6443.tcp:
  - k3d-gputest-server-0
settings:
  workerConnections: 1024
DEBU[0000] ===== Merged Cluster Config =====
&{TypeMeta:{Kind: APIVersion:} Cluster:{Name:gputest Network:{Name:k3d-gputest ID: External:false IPAM:{IPPrefix:invalid Prefix IPsUsed:[] Managed:false} Members:[]} Token: Nodes:[0xc000624fc0 0xc000625180] InitNode:<nil> ExternalDatastore:<nil> KubeAPI:0xc0004335c0 ServerLoadBalancer:0xc0000e58c0 ImageVolume: Volumes:[]} ClusterCreateOpts:{DisableImageVolume:false WaitForServer:true Timeout:0s DisableLoadBalancer:false GPURequest:all ServersMemory: AgentsMemory: NodeHooks:[] GlobalLabels:map[app:k3d] GlobalEnv:[] HostAliases:[] Registries:{Create:<nil> Use:[] Config:<nil>}} KubeconfigOpts:{UpdateDefaultKubeconfig:true SwitchCurrentContext:true}}
===== ===== =====
DEBU[0000] '--kubeconfig-update-default set: enabling wait-for-server
INFO[0000] Prep: Network
INFO[0000] Created network 'k3d-gputest'
INFO[0000] Created image volume k3d-gputest-images
INFO[0000] Starting new tools node...
DEBU[0000] DOCKER_SOCK=/var/run/docker.sock
DEBU[0000] DOCKER_SOCK=/var/run/docker.sock
DEBU[0000] DOCKER_SOCK=/var/run/docker.sock
DEBU[0000] [Docker] Local DfD: using 'host.docker.internal'
DEBU[0000] [Docker] DockerHost: 'host.docker.internal' (tcp://host.docker.internal)
DEBU[0000] DOCKER_SOCK=/var/run/docker.sock
DEBU[0000] [autofix cgroupsv2] cgroupVersion: 1
DEBU[0000] Created container k3d-gputest-tools (ID: 93e5155b5afe5c162ca325e6a50a8ca173c8037eb7dc854a33b8adf7031be600)
DEBU[0000] Node k3d-gputest-tools Start Time: 2024-04-16 21:00:46.2912119 +0800 CST m=+0.200199901
INFO[0000] Starting node 'k3d-gputest-tools'
DEBU[0000] Truncated 2024-04-16 13:00:46.518482812 +0000 UTC to 2024-04-16 13:00:46 +0000 UTC
INFO[0001] Creating node 'k3d-gputest-server-0'
DEBU[0001] Created container k3d-gputest-server-0 (ID: fd0573ff8c1f7665183e995900540922854cc85ccdb752d4cccb6f3f775f0ff2)
DEBU[0001] Created node 'k3d-gputest-server-0'
INFO[0001] Creating LoadBalancer 'k3d-gputest-serverlb'
DEBU[0001] Created container k3d-gputest-serverlb (ID: 5dbb288b41a3c5b7b98074b6758e7492bc4113fcc1ccb082acea0aad5b2be455)
DEBU[0001] Created loadbalancer 'k3d-gputest-serverlb'
DEBU[0001] DOCKER_SOCK=/var/run/docker.sock
INFO[0001] Using the k3d-tools node to gather environment information
DEBU[0001] no netlabel present on container /k3d-gputest-tools
DEBU[0001] failed to get IP for container /k3d-gputest-tools as we couldn't find the cluster network
DEBU[0001] Deleting node k3d-gputest-tools ...
DEBU[0001] DOCKER_SOCK=/var/run/docker.sock
INFO[0001] Starting new tools node...
DEBU[0001] DOCKER_SOCK=/var/run/docker.sock
DEBU[0001] DOCKER_SOCK=/var/run/docker.sock
DEBU[0001] Created container k3d-gputest-tools (ID: 33cbe57ee3c1d89520ff3fa4fa47c85ebdd50c8201f8a91140bc6afe43372e47)
DEBU[0001] Node k3d-gputest-tools Start Time: 2024-04-16 21:00:47.718826 +0800 CST m=+1.627814001
INFO[0001] Starting node 'k3d-gputest-tools'
DEBU[0001] Truncated 2024-04-16 13:00:47.957368146 +0000 UTC to 2024-04-16 13:00:47 +0000 UTC
DEBU[0001] Executing command '[sh -c getent ahostsv4 'host.k3d.internal']' in node 'k3d-gputest-tools'
DEBU[0002] Exec process in node 'k3d-gputest-tools' exited with '0'
DEBU[0002] Hostname 'host.k3d.internal' resolved to address '192.168.65.254' inside node k3d-gputest-tools
INFO[0002] Starting cluster 'gputest'
INFO[0002] Starting servers...
DEBU[0002] >>> enabling dns magic
DEBU[0002] >>> enabling mounts magic
DEBU[0002] Node k3d-gputest-server-0 Start Time: 2024-04-16 21:00:49.0058584 +0800 CST m=+2.914846401
INFO[0002] Starting node 'k3d-gputest-server-0'
DEBU[0003] Truncated 2024-04-16 13:00:49.41774868 +0000 UTC to 2024-04-16 13:00:49 +0000 UTC
DEBU[0003] Waiting for node k3d-gputest-server-0 to get ready (Log: 'k3s is up and running')

k3d-gputest-serverlb log

2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:33 2024-04-16T13:02:33Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: INFO Backend set to file
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: INFO Starting confd
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: DEBUG Retrieving keys from store
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: DEBUG Key prefix set to /
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[11]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:33 [2024-04-16T13:02:33+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:34 [2024-04-16T13:02:34+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:34 [2024-04-16T13:02:34+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:35 [2024-04-16T13:02:35+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:36 [2024-04-16T13:02:36+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:38 [2024-04-16T13:02:38+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:42 [2024-04-16T13:02:42+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:48 [2024-04-16T13:02:48+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:03:02 [2024-04-16T13:03:02+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:03:27 [2024-04-16T13:03:27+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:04:19 [2024-04-16T13:04:19+00:00] creating initial nginx config (try 1/3)
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:34 2024-04-16T13:02:34Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:35 2024-04-16T13:02:35Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:36 2024-04-16T13:02:36Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:38 2024-04-16T13:02:38Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:42 2024-04-16T13:02:42Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:02:48 2024-04-16T13:02:48Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:03:02 2024-04-16T13:03:02Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:03:27 2024-04-16T13:03:27Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: INFO Backend set to file
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: INFO Starting confd
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: INFO Backend source(s) set to /etc/confd/values.yaml
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resources from confdir /etc/confd
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: DEBUG Found template: /etc/confd/conf.d/nginx.toml
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: DEBUG Loading template resource from /etc/confd/conf.d/nginx.toml
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: DEBUG Retrieving keys from store
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: DEBUG Key prefix set to /
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: ERROR stat /etc/confd/values.yaml: no such file or directory
2024-04-16 21:04:19 2024-04-16T13:04:19Z k3d-gputest-serverlb confd[10]: FATAL stat /etc/confd/values.yaml: no such file or directory

Which OS & Architecture

  • output of k3d runtime-info
k3d runtime-info
arch: x86_64
cgroupdriver: cgroupfs
cgroupversion: "1"
endpoint: /var/run/docker.sock
filesystem: extfs
infoname: docker-desktop
name: docker
os: Docker Desktop
ostype: linux
version: 25.0.3

Which version of k3d

  • output of k3d version
k3d version
k3d version v5.6.3
k3s version v1.28.8-k3s1 (default)

Which version of docker

  • output of docker version and docker info
docker version
Client:
 Cloud integration: v1.0.35+desktop.11
 Version:           25.0.3
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        4debf41
 Built:             Tue Feb  6 21:13:02 2024
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.28.0 (139021)
 Engine:
  Version:          25.0.3
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       f417435
  Built:            Tue Feb  6 21:14:25 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
@qingfengfenga qingfengfenga added the bug Something isn't working label Apr 16, 2024
@qingfengfenga qingfengfenga changed the title In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found [BUG]In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found Apr 16, 2024
@qingfengfenga qingfengfenga changed the title [BUG]In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found [BUG] In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant