Ansible, lxd error when installing XRoad: Attribute Error: NoneType has no attribute "items" lead to lxd_container.py
-1
votes
1
answer
21
views
I was trying to install XRoad using ansible and LXD with these steps:
Sudo snap install lxd
lxd init
$ sudo apt update $ sudo apt install software-properties-common $ sudo add-apt-repository --yes --update ppa:ansible/ansible $ sudo apt install ansible ansible-playbook hosts -i hosts/lxd_hosts.txt xroad_init.yml
I got this error: Attribute Error: NoneType has no attribute "items" leading to lxd_container.py
ansible-loop-var item: xroad-lxd-cs
Localhost ok=1 failed=1
First time i was doing nearly exact same steps i didnt get any error. Now i tried installing Xroad on a different VM (Ubuntu), i got this error.
Im using ubuntu 22.04
Thanks for any help
I tried:
Reinstalling lxd, ansible (to different versions)
Installing python 3.12
Apt update + upgrade
Change from Bridged to NAT
Reinstalling Ubuntu
Images of error:






Asked by user27623139
(1 rep)
Oct 7, 2024, 03:14 AM
Last activity: Oct 8, 2024, 09:32 AM
Last activity: Oct 8, 2024, 09:32 AM