0

我正在尝试使用 minishift 启动 VM,但在 minishift 启动时出现此错误

    root@Z32GB:~# minishift start
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
-- Checking if KVM driver is installed ...
   Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
   Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'kvm' hypervisor ...
-- Minishift VM will be configured with ...
   Memory:    4 GB
   vCPUs :    2
   Disk size: 20 GB
-- Starting Minishift VM ..... FAIL E1122 14:35:46.689655   22958 start.go:494] Error starting the VM: Error creating the VM. Error with pre-create check: "virError(Code=1, Domain=59, Message='internal error: Failed to apply firewall rules /usr/sbin/iptables -w --table filter --insert LIBVIRT_INP --in-interface virbr1 --protocol tcp --destination-port 67 --jump ACCEPT: iptables: No chain/target/match by that name.\n')". Retrying.
Error starting the VM: Error creating the VM. Error with pre-create check: "virError(Code=1, Domain=59, Message='internal error: Failed to apply firewall rules /usr/sbin/iptables -w --table filter --insert LIBVIRT_INP --in-interface virbr1 --protocol tcp --destination-port 67 --jump ACCEPT: iptables: No chain/target/match by that name.\n')"

我的服务器是使用 KVM 进行 debian 测试

感谢您的帮助!

4

1 回答 1

0

尝试使用以下方法更新 minishift: minishift update 然后清除缓存: minishift delete --clear-cache 尝试再次启动 minishift 并查看是否有效。

于 2019-11-23T13:43:54.513 回答