Closed billionairiam closed 10 months ago
When I execute the following command on the main brach:
ATD_RD=initrd.img ATD_BIOS=OVMF.fd ATD_KERNEL=kernel.img ./aconcli run -n "$docker_id.json" -f "$acon_root/scripts/acon-startvm" -c :5532 -i
I received the following output:
ATD = (not set) # launch vm ATD_QEMU = qemu-kvm # QEMU executable ATD_CID = (not set) # VSOCK CID ATD_MEMSZ = 1g # memory size ATD_NVP = 1 # number of virtual processors ATD_TCPFWD = 5532:1025 # TCP port forwarding rules ATD_BIOS = OVMF.fd # BIOS image path ATD_RD = initrd.img # initrd image path ATD_KERNEL = kernel.img # kernel path ATD_KPARAMS = (not set) # additional kernel cmdline parameters qemu-kvm: -nic user,model=virtio,ipv6=off,ipv4=on,hostname=vm,hostfwd=tcp::5532-:1025: Could not set up host forwarding rule 'tcp::5532-:1025' 2023/11/01 09:29:03 Created Virtual Machine, PID: 1497681, Connection: tcp://:5532 2023/11/01 09:29:03 Service: Connecting tcp://:5532 Run: cannot connect to tcp://:5532: context deadline exceeded Error: context deadline exceeded Usage: aconcli run [manifest]... [flags] Flags: -A, --all load/start all images in the current ACON image repo -a, --auto load dependencies automatically -c, --connect string connect target url --env strings set environment variables inside new containers -f, --file string path to the executable for launching ACON TD/VM (default "/home/liang/ACON/test/acon-startvm") -h, --help help for run -i, --interactive run ACON TD/VM in foreground (usually for debugging) -l, --loadonly strings load (but do not start) the specified images -n, --new start a new ACON TD/VM -t, --timetolive int shut down the TD/VM after being idle for specified number of seconds (default 60) Global Flags: -C, --directory string change working directory before performing any operations 2023-11-01 09:29:33+08:00 [ERROR] Run TDVM error will stop ACON instances
The main problem is Could not set up host forwarding rule 'tcp::5532-:1025', But I don't know the root cause.
Could not set up host forwarding rule 'tcp::5532-:1025'
When I execute the following command on the main brach:
I received the following output:
The main problem is
Could not set up host forwarding rule 'tcp::5532-:1025'
, But I don't know the root cause.