eip-work / kuboard-spray

使用图形化的界面离线安装、维护、升级高可用的 K8S 集群
https://kuboard-spray.cn
Apache License 2.0
1.67k stars 165 forks source link

ansible.errors.AnsibleUndefinedVariable: 'list object' has no attribute 'items' #51

Open kai-oss-code opened 2 years ago

kai-oss-code commented 2 years ago

安装容器时报错

Sunday 14 August 2022  11:37:04 +0800 (0:00:01.999)       0:05:40.120 ********* 

TASK [container-engine/containerd : containerd | Ensure containerd directories exist] ***
ok: [node02] => (item=/etc/systemd/system/containerd.service.d)
ok: [node01] => (item=/etc/systemd/system/containerd.service.d)
ok: [node02] => (item=/etc/containerd)
ok: [node01] => (item=/etc/containerd)
ok: [node02] => (item=/var/lib/containerd)
ok: [node01] => (item=/var/lib/containerd)
ok: [node02] => (item=/run/containerd)
ok: [node01] => (item=/run/containerd)
Sunday 14 August 2022  11:37:07 +0800 (0:00:03.128)       0:05:43.248 ********* 
Sunday 14 August 2022  11:37:07 +0800 (0:00:00.224)       0:05:43.473 ********* 

TASK [container-engine/containerd : containerd | Copy containerd config file] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'list object' has no attribute 'items'
fatal: [node02]: FAILED! => {
    "changed": false,
    "msg": "AnsibleUndefinedVariable: 'list object' has no attribute 'items'"
}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'list object' has no attribute 'items'
fatal: [node01]: FAILED! => {
    "changed": false,
    "msg": "AnsibleUndefinedVariable: 'list object' has no attribute 'items'"
}

[ 主机信息 ] 基本信息 Python 路径 /usr/bin/python Python 版本 2.7.5 操作系统 CentOS 7.9 CPU 架构 x86_64 CPU/内存 2core / 1.8Gi 网络信息 type ether device ens33 address 192.168.80.133 绑定到此IP netmask 255.255.255.0 macaddress 00:0c:29:5e:50:f7 资源包 spray-v2.19.0a_k8s-v1.24.3_v2.2-amd64 [ 资源包内容 ] kuboardspray 资源包版本 spray-v2.19.0a_k8s-v1.24.3_v2.2-amd64 发布时间 2022-07-15 kubespray_version v2.19.0a

Lorwell commented 2 years ago

我也遇到了这样的问题,后续解决了吗

huyouba1 commented 4 months ago

同问 解决了吗