使用conjureup设置旋转Kubernetes时出现问题

2024-04-20 00:32:06 发布

您现在位置:Python中文网/ 问答频道 /正文

无法在AWS中完成启动Kubernetes群集的召唤设置,以下是错误的详细信息:

enter image description here

我的魔术师版本是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]

Tags: pycoredebugparseusrerrorproviderquery
1条回答
网友
1楼 · 发布于 2024-04-20 00:32:06

如果你仍然有这个问题,看看here

您基本上必须卸载当前的lxd并通过snap安装它。你知道吗

  1. sudo apt purge lxc lxd lxd-client
  2. sudo snap install lxd
  3. /snap/bin/lxd init
  4. /snap/bin/lxd.migrate
  5. sudo usermod -a -G lxd $USER
  6. newgrp lxd
  7. 重新登录

更新:

如果发生这种情况,我相信删除该.cache文件夹可能会有所帮助: rm -rf ~/.cache/conjure-up

我有一个不同的错误-它抱怨无法获得网桥接口的ip地址-但更多的我以上帮助。你知道吗

此外,我后来不得不发出以下命令来“禁用”网桥接口上的ipv6 nat,尽管对lxd init中的问题回答了“无”: lxc network set lxdbr0 ipv6.nat false

相关问题 更多 >