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

安装 Kuboard 报错

  •  
  •   ixdeal · 2023-12-02 14:08:30 +08:00 · 1031 次点击
    这是一个创建于 391 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 条附言  ·  2023-12-02 16:13:54 +08:00
    还是按照这个 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  
       2023-12-02 14:48:32 +08:00 via Android
    还是使用推荐版本好
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   974 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:25 · PVG 04:25 · LAX 12:25 · JFK 15:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.