V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ixdeal
V2EX  ›  Ubuntu

安装 Kuboard 报错

  •  
  •   ixdeal · 355 天前 · 1010 次点击
    这是一个创建于 355 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-89-generic x86_64) 安装 kuboard 出错: Could not find the requested service firewalld: host

    参考 https://github.com/eip-work/kuboard-spray/issues/86

    安装 apt-get install firewalld -y 报下面错,折腾了好久还是不行,难道要强行退回到低版本的 python 吗?

    root@k8s-node01:~# apt install firewalld Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

    The following packages have unmet dependencies: python3-selinux : Depends: python3 (< 3.9) but 3.10.6-1~22.04 is to be installed E: Unable to correct problems, you have held broken packages

    第 1 条附言  ·  355 天前
    还是按照这个 issue 关闭了 firewalled 解决了,留个备忘下次用。

    https://github.com/eip-work/kuboard-spray/issues/86


    修改 /data/resource/spray-v2.21.0c_k8s-v1.26.4_v4.4-amd64/content/3rd/kubespray/contrib/os-services/roles/prepare/tasks/main.yml
    删除

    name: Disable service firewalld
    systemd:
    name: firewalld
    state: stopped
    enabled: no
    when:
    "'firewalld.service' in services"
    1 条回复    2023-12-02 14:48:32 +08:00
    suxixi
        1
    suxixi  
       355 天前 via Android
    还是使用推荐版本好
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3415 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 11:34 · PVG 19:34 · LAX 03:34 · JFK 06:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.