kuboard-spray icon indicating copy to clipboard operation
kuboard-spray copied to clipboard

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

Open kai-oss-code opened this issue 3 years ago • 2 comments

安装容器时报错

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

kai-oss-code avatar Aug 14 '22 04:08 kai-oss-code

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

Lorwell avatar Oct 08 '22 04:10 Lorwell