ITADN
k3d-io/k3d/Issues

[BUG] - k3d tries to create registry even '--registry-use' parameter is set ... then failed

#1642Openfccagou 创建于 2026-01-25
bug
F
fccagoucommented
<!-- BUG REPORT --- README -> You're struggling with something and it may not be a bug afterall? Please open a discussion instead: https://github.com/k3d-io/k3d/discussions -> Think it's for sure a bug? Please fill in as many of the fields below as you can so we can help you best! @@@ Sponsors @@@ Need this fixed urgently for work? Consider sponsoring this issue via https://issuehunt.io/r/k3d-io/k3d @@@ Sponsors @@@ --> ## What did you do - How was the cluster created? ```bash # Create the registry k3d registry create --network=podman mycluster-registry # Create the cluster k3d cluster create --registry-use mycluster-registry mycluster ``` ## What did you expect to happen Expect getting a cluster created without error ## Screenshots or terminal output the command fails with this error ERRO[0000] Failed Cluster Preparation: Failed to create registry: A registry node with that name already exists ## Which OS & Architecture ```yaml arch: amd64 cgroupdriver: systemd cgroupversion: "2" endpoint: /run/user/1000/podman/podman.sock filesystem: extfs infoname: l1nux name: docker os: arch ostype: linux version: 5.7.1 ``` ## Which version of `k3d` ```bash $ k3d version k3d version v5.9.0-rc.0 k3s version v1.34.3-k3s1 (default) ``` ## Which version of docker ```bash $ podman version Client: Podman Engine Version: 5.7.1 API Version: 5.7.1 Go Version: go1.25.5 X:nodwarf5 Git Commit: f845d14e941889ba4c071f35233d09b29d363c75 Built: Thu Dec 11 11:09:14 2025 OS/Arch: linux/amd64 ``` ```yaml # podman info host: arch: amd64 buildahVersion: 1.42.2 cgroupControllers: - cpuset - cpu - io - memory - pids cgroupManager: systemd cgroupVersion: v2 conmon: package: conmon-1:2.2.0-1 path: /usr/bin/conmon version: 'conmon version 2.2.0, commit: ff908cce92cf89167b6b97ed240e91a6b147acc1' cpuUtilization: idlePercent: 92.97 systemPercent: 1.85 userPercent: 5.18 cpus: 4 databaseBackend: boltdb distribution: distribution: arch version: unknown eventLogger: journald freeLocks: 1975 hostname: l1nux idMappings: gidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 100000 size: 65536 uidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 100000 size: 65536 kernel: 6.18.6-arch1-1 linkmode: dynamic logDriver: journald memFree: 10037141504 memTotal: 16640868352 networkBackend: netavark networkBackendInfo: backend: netavark dns: package: aardvark-dns-1.17.0-1 path: /usr/lib/podman/aardvark-dns version: aardvark-dns 1.17.0 package: netavark-1.17.1-1 path: /usr/lib/podman/netavark version: netavark 1.17.1 ociRuntime: name: crun package: crun-1.26-3 path: /usr/bin/crun version: |- crun version 1.26 commit: 3241e671f92c33b0c003cd7de319e4f32add6231 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +YAJL os: linux pasta: executable: /usr/bin/pasta package: passt-2026_01_20.386b5f5-1 version: | pasta 2026_01_20.386b5f5 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. remoteSocket: exists: true path: /run/user/1000/podman/podman.sock rootlessNetworkCmd: pasta security: apparmorEnabled: false capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT rootless: true seccompEnabled: true seccompProfilePath: /etc/containers/seccomp.json selinuxEnabled: false serviceIsRemote: false slirp4netns: executable: /usr/bin/slirp4netns package: slirp4netns-1.3.3-1 version: |- slirp4netns version 1.3.3 commit: 944fa94090e1fd1312232cbc0e6b43585553d824 libslirp: 4.9.1 SLIRP_CONFIG_VERSION_MAX: 6 libseccomp: 2.6.0 swapFree: 17054035968 swapTotal: 17054035968 uptime: 7h 21m 19.00s (Approximately 0.29 days) variant: "" plugins: authorization: null log: - k8s-file - none - passthrough - journald network: - bridge - macvlan - ipvlan volume: - local registries: my.lab: Blocked: false Insecure: false Location: registry.local:5043 MirrorByDigestOnly: false Mirrors: null Prefix: my.lab PullFromMirror: "" registry.local:5043: Blocked: false Insecure: false Location: registry.local:5043 MirrorByDigestOnly: false Mirrors: null Prefix: registry.local:5043 PullFromMirror: "" search: - my.lab - registry.local:5043 - localhost:5000 - registry.fedoraproject.org - registry.access.redhat.com - registry.centos.org - docker.io store: configFile: /home/user/.config/containers/storage.conf containerStore: number: 17 paused: 0 running: 3 stopped: 14 graphDriverName: overlay graphOptions: overlay.mount_program: Executable: /usr/bin/fuse-overlayfs Package: fuse-overlayfs-1.16-1 Version: |- fusermount3 version: 3.17.4 fuse-overlayfs: version 1.16 FUSE library version 3.17.4 using FUSE kernel interface version 7.40 overlay.mountopt: nodev graphRoot: /home/user/.local/share/containers/storage graphRootAllocated: 273655504896 graphRootUsed: 249255829504 graphStatus: Backing Filesystem: extfs Native Overlay Diff: "false" Supports d_type: "true" Supports shifting: "true" Supports volatile: "true" Using metacopy: "false" imageCopyTmpDir: /var/tmp imageStore: number: 314 runRoot: /run/user/1000/containers transientStore: false volumePath: /srv/data/user/containers/storage/volumes version: APIVersion: 5.7.1 Built: 1765447754 BuiltTime: Thu Dec 11 11:09:14 2025 GitCommit: f845d14e941889ba4c071f35233d09b29d363c75 GoVersion: go1.25.5 X:nodwarf5 Os: linux OsArch: linux/amd64 Version: 5.7.1 ```
0 条评论