Could not find the requested service yunion-executor: host
没安装服务 但在网路上也找到教学文 yunion 这个需要怎麽装 TASK [common : Enable yunion systemd services] ************************************************************************ failed: [192.168.150.145] (item=yunion-executor) => {"ansible_loop_var": "item", "changed": false, "item": "yunion-executor", "msg": "Could not find the requested service yunion-executor: host"}
@redjack666 您的环境是?目前只支持 centos7 (x86+arm64), 以及 debian10 (x86+arm64)。 请执行如下命令,然后贴出运行结果,多谢~
cat /etc/os-release
谢谢~
@redjack666 您的环境是?目前只支持 centos7 (x86+arm64), 以及 debian10 (x86+arm64)。 请执行如下命令,然后贴出运行结果,多谢~
cat /etc/os-release谢谢~
CentOS Linux release 7.9.2009
TASK [common : Enable yunion systemd services] ************************************************************************ failed: [192.168.150.145] (item=yunion-executor) => {"ansible_loop_var": "item", "changed": false, "item": "yunion-executor", "msg": "Could not find the requested service yunion-executor: host"}
TASK [utils/misc-check : check hostname] ****************************************************************************** fatal: [192.168.150.146]: FAILED! => {"changed": true, "cmd": "exit 1", "delta": "0:00:00.001781", "end": "2022-03-15 04:49:15.408566", "msg": "non-zero return code", "rc": 1, "start": "2022-03-15 04:49:15.406785", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY RECAP ************************************************************************************************************ 192.168.150.146 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
@redjack666 我在 centos 7.9 上安装没有问题,麻烦执行下面的命令排查下:
$ cat /etc/yum.repos.d/yunion.repo
$ yum search yunion-executor
$ yum install -y yunion-executor
我用的是gcp aws 也遇到一样的问题 我现在遇到的问题开始装到 这个task cloudpods] 机器就断了 再也连不到
是安装过程禁用NetworkManager后导致的,可以通过vnc连接进去后启用恢复
另外,在公有云部署cloudpods时需要把as_host设置为fasle
vim ~/ocboot/run.py
