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

安装 Kuboard 报错

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

    腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,点击这里立即抢购:9i0i.cn/qcloud,更有2860元代金券免费领取,付款直接抵现金用,点击这里立即领取:9i0i.cn/qcloudquan

    (福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

    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 条附言  ·  156 天前
    还是按照这个 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  
       156 天前 via Android
    还是使用推荐版本好
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3234 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:21 · PVG 20:21 · LAX 05:21 · JFK 08:21
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com