Fusion

 View Only
  • 1.  ERROR: failed to create cluster

    Posted Mar 14, 2025 11:05 PM
    When I run "kind create cluster", it responded with following error.
    Please help.
    Thank you.
    ~ % kind create cluster
    Creating cluster "kind" ...
    ✓ Ensuring node image (kindest/node:v1.19.1) 🖼
    ✗ Preparing nodes 📦
    ERROR: failed to create cluster: docker run error: command "docker run --hostname kind-control-plane --name kind-control-plane --label io.x-k8s.kind.role=control-plane --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro --detach --tty --label io.x-k8s.kind.cluster=kind --net kind --restart=on-failure:1 --publish=127.0.0.1:58552:6443/TCP kindest/node:v1.19.1@sha256:98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600" failed with error: exit status 1
    Command Output: level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:327d7aa9de643a7e07b8a258fce4f0103a1a997112abd9ca13ce42c326aae474: failed to mount /Users/davidchen/.vctl/storage/containerd/root/tmpmounts/containerd-mount880303118: hdiutil: mount failed - Permission denied\n: exit status 1: unknown" key="extract-734993000-E-mp sha256:327d7aa9de643a7e07b8a258fce4f0103a1a997112abd9ca13ce42c326aae474"
    level=error msg="failed to stop a sandbox, err:error code:exit status 255, message:Error: The virtual machine is not powered on: /Users/davidchen/.vctl/.r/vms/kind-control-plane/kind-control-plane.vmx\n" module=libcrx package=sandbox
    level=error msg="failed to stop a sandbox, err:error code:exit status 255, message:Error: The virtual machine is not powered on: /Users/davidchen/.vctl/.r/vms/kind-control-plane/kind-control-plane.vmx\n" module=libcrx package=sandbox
    level=error msg="failed to create container: failed to extract layer sha256:327d7aa9de643a7e07b8a258fce4f0103a1a997112abd9ca13ce42c326aae474: failed to mount /Users/davidchen/.vctl/storage/containerd/root/tmpmounts/containerd-mount880303118: hdiutil: mount failed - Permission denied\n: exit status 1: unknown"


  • 2.  RE: ERROR: failed to create cluster

    Posted Mar 14, 2025 11:32 PM

    Can you provide more information about what you're trying to do? Include:

    How did you get to the point of trying to run 'kind create cluster'?

    What VMware Fusion version?

    Are you running on Intel or Apple Silicon? 



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 3.  RE: ERROR: failed to create cluster

    Posted Mar 14, 2025 11:56 PM

    If you're running on an Apple Silicon Mac, be aware that vctl will not work. See https://knowledge.broadcom.com/external/article/315609/features-of-windows-11-vm-on-mac-with-in.html (while the article is mostly written for Windows support, it does reference features such as vmcli, vctl, and vmrun which are not dependent upon Windows virtual machines).



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------