无法完成魔术设置以在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]发布于 2018-11-05 21:01:23
如果你仍然有这个问题,看看here
基本上,您必须卸载当前的lxd并通过snap安装它。
重新登录
更新:
如果发生这种情况,我相信删除.cache文件夹rm -rf ~/.cache/conjure-up可能会有所帮助
我有一个不同的错误-它抱怨无法获得网桥接口的ip地址-但更多的是上面的帮助。
此外,我后来不得不发出以下命令来“禁用”网桥接口上的ipv6 nat,尽管对lxd init中的问题回答了"none“:lxc network set lxdbr0 ipv6.nat false
https://stackoverflow.com/questions/51987466
复制相似问题