Create CT - timeout

Radomir Franek

New Member
Apr 21, 2021
4
0
1
50
Hi, I have Proxmox VE 6.4-6
Nodes: 6
LXC Container: 23
Virtual Machine: 30
NAS: Synology

I have problem with create CT.
When i run my ansible playbook for create CT then I get Error

failed: [node12.uplink.dev] (item={'key': 'work.patrik.dev', 'value': {'vmid': '137', 'netif': '{"net0":"name=eth0,bridge=vmbr102,firewall=1,ip=192.168.102.57/24,gw=192.168.102.1,hwaddr=12:d8:44:b3:cf:33,ip6=dhcp,type=veth"}', 'password': '********', 'memory': 512, 'cores': 1, 'disk': 1}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "work.patrik.dev", "value": {"cores": 1, "disk": 1, "memory": 512, "netif": "{\"net0\":\"name=eth0,bridge=vmbr102,firewall=1,ip=192.168.102.57/24,gw=192.168.102.1,hwaddr=12:d8:44:b3:cf:33,ip6=dhcp,type=veth\"}", "password": *******", "vmid": "137"}}, "msg": "Reached timeout while waiting for creating VM. Last line in task before timeout: [{'t': \"Formatting '/mnt/pve/NAS/images/137/vm-137-disk-0.raw', fmt=raw size=1073741824\", 'n': 1}]"}


When I create CT from Management console, then create CT is correct, but I need use for create CT Ansible

Any idea for my problem?


Thanks

Radek
 
hi,

can you post the full log of the failed task?

are you using the same settings for the container when creating via ansible vs. PVE GUI?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!