cloudpods icon indicating copy to clipboard operation
cloudpods copied to clipboard

Could not find the requested service yunion-executor: host

Open redjack666 opened this issue 3 years ago • 5 comments

没安装服务 但在网路上也找到教学文 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 avatar Mar 11 '22 18:03 redjack666

@redjack666 您的环境是?目前只支持 centos7 (x86+arm64), 以及 debian10 (x86+arm64)。 请执行如下命令,然后贴出运行结果,多谢~

cat /etc/os-release

谢谢~

zhasm avatar Mar 14 '22 01:03 zhasm

@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 avatar Mar 14 '22 12:03 redjack666

@redjack666 我在 centos 7.9 上安装没有问题,麻烦执行下面的命令排查下:

$ cat /etc/yum.repos.d/yunion.repo

$ yum search yunion-executor

$ yum install -y yunion-executor

zexi avatar Mar 16 '22 03:03 zexi

我用的是gcp aws 也遇到一样的问题 我现在遇到的问题开始装到 这个task cloudpods] 机器就断了 再也连不到

redjack666 avatar Mar 17 '22 16:03 redjack666

是安装过程禁用NetworkManager后导致的,可以通过vnc连接进去后启用恢复 另外,在公有云部署cloudpods时需要把as_host设置为fasle vim ~/ocboot/run.py image

hoganlxj avatar Jul 22 '22 10:07 hoganlxj