无法在AWS中完成启动Kubernetes群集的召唤设置,以下是错误的详细信息:
我的魔术师版本是2.6.0
journalctl | grep conjure-up
的输出:
No journal files were opened due to insufficient permissions
$ cat $HOME/.cache/conjure-up/conjure-up.log
的输出:
2018-08-22 22:12:03,502 [ERROR] conjure-up/kubernetes-core - provider.py:379 - LXD Parse error: stderr:
error: unknown command: query
2018-08-22 22:12:05,504 [DEBUG] conjure-up/kubernetes-core - provider.py:355 - LXD environment set: binary /usr/bin/lxc lxd_dir /var/lib/lxd
2018-08-22 22:12:05,526 [DEBUG] conjure-up/kubernetes-core - provider.py:372 - LXD query cmd: /usr/bin/lxc query --wait /1.0
2018-08-22 22:12:05,548 [ERROR] conjure-up/kubernetes-core - provider.py:378 - LXD Parse error: stdout: Usage: lxc <command> [options]
如果你仍然有这个问题,看看here
您基本上必须卸载当前的lxd并通过snap安装它。你知道吗
sudo apt purge lxc lxd lxd-client
sudo snap install lxd
/snap/bin/lxd init
/snap/bin/lxd.migrate
sudo usermod -a -G lxd $USER
newgrp lxd
更新:
如果发生这种情况,我相信删除该.cache文件夹可能会有所帮助:
rm -rf ~/.cache/conjure-up
我有一个不同的错误-它抱怨无法获得网桥接口的ip地址-但更多的我以上帮助。你知道吗
此外,我后来不得不发出以下命令来“禁用”网桥接口上的ipv6 nat,尽管对
lxd init
中的问题回答了“无”:lxc network set lxdbr0 ipv6.nat false
相关问题 更多 >
编程相关推荐