adamant-kite-43734
08/27/2024, 2:00 PMambitious-hair-98275
08/27/2024, 2:01 PM➜ rancher-desktop tail -f lima.log
"filename": "/Users/ddjohnson/Library/Application Support/rancher-desktop/lima/0/diffdisk",
"format": "raw",
"actual-size": 15137280000,
"dirty-flag": false
}
2024-08-27T13:44:01.316Z: Using vzNAT networking stack
2024-08-27T13:44:01.342Z: > /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura> list --json
{"name":"0","status":"Stopped","dir":"/Users/ddjohnson/Library/Application Support/rancher-desktop/lima/0","vmType":"vz","arch":"aarch64","cpuType":"","cpus":2,"memory":6442450944,"disk":107374182400,"network":[{"vzNAT":true,"macAddress":"52:55:55:60:53:c2","interface":"vznat"}],"sshLocalPort":56309,"sshConfigFile":"/Users/ddjohnson/Library/Application Support/rancher-desktop/lima/0/ssh.config","config":{"vmType":"vz","os":"Linux","arch":"aarch64","images":[{"location":"/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/alpine-lima-v0.2.39.rd3-rd-3.20.0.iso%22,%22arch%22:%22aarch64%22|Desktop.app/Contents/Resources/resources/darwin/alpine-lima-v0.2.39.rd3-rd-3.20.0.iso","arch":"aarch64">}],"cpus":2,"memory":"6442450944","disk":"100GiB","mounts":[{"location":"~","mountPoint":"~","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/tmp/rancher-desktop","mountPoint":"/tmp/rancher-desktop","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/Volumes","mountPoint":"/Volumes","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/var/folders","mountPoint":"/var/folders","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/private/tmp","mountPoint":"/private/tmp","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/private/var/folders","mountPoint":"/private/var/folders","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}},{"location":"/Applications/Rancher <http://Desktop.app/Contents/Resources/resources%22,%22mountPoint%22:%22/Applications/Rancher|Desktop.app/Contents/Resources/resources","mountPoint":"/Applications/Rancher> <http://Desktop.app/Contents/Resources/resources%22,%22writable%22:true,%22sshfs%22:{%22cache%22:true,%22followSymlinks%22:false,%22sftpDriver%22:%22%22},%229p%22:{%22securityModel%22:%22none%22,%22protocolVersion%22:%229p2000.L%22,%22msize%22:%22128KiB%22,%22cache%22:%22mmap%22},%22virtiofs%22:{}}],%22mountType%22:%22reverse-sshfs%22,%22mountInotify%22:false,%22ssh%22:{%22localPort%22:56309,%22loadDotSSHPubKeys%22:false,%22forwardAgent%22:false,%22forwardX11%22:false,%22forwardX11Trusted%22:false},%22firmware%22:{%22legacyBIOS%22:false},%22audio%22:{%22device%22:%22%22},%22video%22:{%22display%22:%22none%22,%22vnc%22:{}},%22provision%22:[{%22mode%22:%22system%22,%22script%22:%22#!/bin/sh|Desktop.app/Contents/Resources/resources","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"},"virtiofs":{}}],"mountType":"reverse-sshfs","mountInotify":false,"ssh":{"localPort":56309,"loadDotSSHPubKeys":false,"forwardAgent":false,"forwardX11":false,"forwardX11Trusted":false},"firmware":{"legacyBIOS":false},"audio":{"device":""},"video":{"display":"none","vnc":{}},"provision":[{"mode":"system","script":"#!/bin/sh>\nset -o errexit -o nounset -o xtrace\nmkdir -p /bootfs\nmount --bind / /bootfs\n# /bootfs/etc is empty on first boot because it has been moved to /mnt/data/etc by lima\nif [ -f /bootfs/etc/os-release ] && ! diff -q /etc/os-release /bootfs/etc/os-release; then\n cp /etc/machine-id /bootfs/etc\n cp /etc/ssh/ssh_host* /bootfs/etc/ssh/\n mkdir -p /etc/docker /etc/rancher\n cp -pr /etc/docker /bootfs/etc\n cp -pr /etc/rancher /bootfs/etc\n\n rm -rf /mnt/data/etc.prev\n mkdir /mnt/data/etc.prev\n mv /etc/* /mnt/data/etc.prev\n mv /bootfs/etc/* /etc\n\n # install updated files from /usr/local, e.g. nerdctl, buildkit, cni plugins\n cp -pr /bootfs/usr/local /usr\n\n # lima has applied changes while the \"old\" /etc was in place; restart to apply them to the updated one.\n reboot\nfi\numount /bootfs\nrmdir /bootfs\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nRC_CGROUP_MODE=unified\nif ! grep -q -E \"^#?rc_cgroup_mode=\\\"$RC_CGROUP_MODE\\\"\" /etc/rc.conf; then\n sed -i -E \"s/^#?rc_cgroup_mode=\\\".*\\\"/rc_cgroup_mode=\\\"$RC_CGROUP_MODE\\\"/\" /etc/rc.conf\n # avoid reboot loop if sed failed for any reason\n if grep -q -E \"^rc_cgroup_mode=\\\"$RC_CGROUP_MODE\\\"\" /etc/rc.conf; then\n reboot\n fi\nfi\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nfstrim /mnt/data\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nsed -i -E 's/^#?MaxSessions +[0-9]+/MaxSessions 25/g' /etc/ssh/sshd_config\nrc-service --ifstarted sshd reload\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nif ! [ -d /mnt/data/root ]; then\n mkdir -p /root\n mv /root /mnt/data/root\nfi\nmkdir -p /root\nmount --bind /mnt/data/root /root\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nmkdir -p /etc/docker\n\n# Delete certs.d if it is a symlink (from previous boot).\n[ -L /etc/docker/certs.d ] && rm /etc/docker/certs.d\n\n# Create symlink if certs.d doesn't exist (user may have created a regular directory).\nif [ ! -e /etc/docker/certs.d ]; then\n # We don't know if the host is Linux or macOS, so we take a guess based on which mountpoint exists.\n if [ -d \"/Users/ddjohnson\" ]; then\n ln -s \"/Users/ddjohnson/.docker/certs.d\" /etc/docker\n elif [ -d \"/home/ddjohnson\" ]; then\n ln -s \"/home/ddjohnson/.docker/certs.d\" /etc/docker\n fi\nfi\n"},{"mode":"system","script":"#!/bin/sh\nhostname lima-rancher-desktop\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\n# During boot is the only safe time to delete old k3s versions.\nrm -rf /var/lib/rancher/k3s/data\n# Delete all tmp files older than 3 days.\nfind /tmp -depth -mtime +3 -delete\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit -o nounset -o xtrace\nfor dir in / /etc /tmp /var/lib; do\n mount --make-shared \"${dir}\"\ndone\n"},{"mode":"system","script":"#!/bin/sh\n# Move logrotate to hourly, because busybox crond only handles time jumps up\n# to one hour; this ensures that if the machine is suspended over long\n# periods, things will still happen often enough. This is idempotent.\nmv -n /etc/periodic/daily/logrotate /etc/periodic/hourly/\nrc-update add crond default\nrc-service crond start\n"},{"mode":"system","script":"set -o errexit -o nounset -o xtrace\nusermod --append --groups docker \"ddjohnson\"\n"},{"mode":"system","script":"export CAROOT=/run/mkcert\nmkdir -p $CAROOT\ncd $CAROOT\nmkcert -install\nmkcert localhost\nchown -R nobody:nobody $CAROOT\n"},{"mode":"system","script":"set -o errexit -o nounset -o xtrace\n\n# openresty is backgrounding itself (and writes its own pid file)\nsed -i 's/^command_background/#command_background/' /etc/init.d/rd-openresty\n\n# configure proxy only when allowed-images exists\nallowed_images_conf=/usr/local/openresty/nginx/conf/allowed-images.conf\n# Remove the reference to an obsolete image conf filename\nobsolete_image_allow_list_conf=/usr/local/openresty/nginx/conf/image-allow-list.conf\nsetproxy=\"[ -f $allowed_images_conf ] && supervise_daemon_args=\\\"-e HTTPS_PROXY=<http://127.0.0.1:3128> \\${supervise_daemon_args:-}\\\" || true\"\nfor svc in containerd docker; do\n sed -i \"\\#-f $allowed_images_conf#d\" /etc/init.d/$svc\n sed -i \"\\#-f $obsolete_image_allow_list_conf#d\" /etc/init.d/$svc\n echo \"$setproxy\" >> /etc/init.d/$svc\ndone\n\n# Make sure openresty log directory exists\ninstall -d -m755 /var/log/openresty\n"},{"mode":"system","script":"#!/bin/sh\nset -o errexit\n\nmount bpffs -t bpf /sys/fs/bpf\nmount --make-shared /sys/fs/bpf\nmount --make-shared /sys/fs/cgroup\n"}],"upgradePackages":false,"containerd":{"system":false,"user":false,"archives":[{"location":"<https://github.com/containerd/nerdctl/releases/download/v1.7.5/nerdctl-full-1.7.5-linux-amd64.tar.gz>","arch":"x86_64","digest":"sha256:adb246a4ef15b8f3d7eed4c6b61173014a6cf343e43ad95eae2087b454dcae5d"},{"location":"<https://github.com/containerd/nerdctl/releases/download/v1.7.5/nerdctl-full-1.7.5-linux-arm64.tar.gz>","arch":"aarch64","digest":"sha256:ff38142440b4705e12782b7a71074849e712a42ccb69a11306343a8d9f81d8ab"}]},"guestInstallPrefix":"/usr/local","portForwards":[{"guestIPMustBeZero":true,"guestIP":"0.0.0.0","guestPortRange":[1,65535],"hostIP":"0.0.0.0","hostPortRange":[1,65535],"proto":"tcp"},{"guestIP":"127.0.0.1","guestPortRange":[1,65535],"guestSocket":"/var/run/docker.sock","hostIP":"127.0.0.1","hostPortRange":[1,65535],"hostSocket":"/Users/ddjohnson/.rd/docker.sock","proto":"tcp"}],"networks":[{"vzNAT":true,"macAddress":"52:55:55:60:53:c2","interface":"vznat"}],"hostResolver":{"enabled":true,"ipv6":false,"hosts":{"host.docker.internal":"host.lima.internal","host.rancher-desktop.internal":"host.lima.internal","lima-rancher-desktop":"lima-0"}},"propagateProxyEnv":true,"caCerts":{"removeDefaults":false},"rosetta":{"enabled":true,"binfmt":true},"plain":false,"timezone":"America/New_York"},"sshAddress":"127.0.0.1","protected":false,"limaVersion":"v0.21.0","HostOS":"darwin","HostArch":"aarch64","LimaHome":"/Users/ddjohnson/Library/Application Support/rancher-desktop/lima","IdentityFile":"/Users/ddjohnson/Library/Application Support/rancher-desktop/lima/_config/user"}
ambitious-hair-98275
08/27/2024, 2:01 PM'time="2024-08-27T09:49:37-04:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \\"ssh\\""\n' +
'time="2024-08-27T09:49:41-04:00" level=info msg="[hostagent] 2024/08/27 09:49:41 tcpproxy: for incoming conn 127.0.0.1:64900, error dialing \\"192.168.5.15:22\\": connect tcp 192.168.5.15:22: no route to host"\n' +
'time="2024-08-27T09:49:51-04:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \\"ssh\\""\n' +
'time="2024-08-27T09:49:54-04:00" level=info msg="[hostagent] 2024/08/27 09:49:54 tcpproxy: for incoming conn 127.0.0.1:64904, error dialing \\"192.168.5.15:22\\": connect tcp 192.168.5.15:22: no route to host"\n' +
'time="2024-08-27T09:50:04-04:00" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \\"ssh\\""\n' +
'time="2024-08-27T09:50:07-04:00" level=info msg="[hostagent] 2024/08/27 09:50:07 tcpproxy: for incoming conn 127.0.0.1:64914, error '... 5804 more characters,
code: 1,
[Symbol(child-process.command)]: '/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura> start --tty=false 0'
}
hundreds-evening-84071
08/27/2024, 2:05 PMambitious-hair-98275
08/27/2024, 2:05 PMambitious-hair-98275
08/27/2024, 2:06 PM