Open baldy2811 opened 3 years ago
hi Guys,
i use Proxmox 6.3 (the newst Version) and i tried to play with you cool ansible playbook.
But it seems somethink happend with your variable or proxmox changed the API maybe:
failed: [node07.**] (item={'key': '', 'value': {'node': 'node07', 'root_password': 'test', 'ubuntu_distribution': 'xenial', 'locale': 'de_DE', 'memory_size': 1024, 'virtio': '{"virtio0":"local-lvm:50,cache=writeback,discard=on"}', 'network': {'ip': '192.168.100.100', 'netmask': '255.255.255.0', 'gateway': '192.168.100.1', 'nameserver': '1.1.1.1', 'domainname': 'test.**'}}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "", "value": {"locale": "de_DE", "memory_size": 1024, "network": {"domainname": "test.", "gateway": "192.168.100.1", "ip": "192.168.100.100", "nameserver": "1.1.1.1", "netmask": "255.255.255.0"}, "node": "node07", "root_password": "test", "ubuntu_distribution": "xenial", "virtio": "{\"virtio0\":\"local-lvm:50,cache=writeback,discard=on\"}"}}, "msg": "creation of qemu VM with vmid 107 failed with exception=400 Bad Request: Parameter verification failed. - {\"errors\":{\"name\":\"invalid format - value does not look like a valid DNS name\n\"},\"data\":null}"}
i Can change the name: to test.bla.de in the main/task.yml but then it fails after create the kernel for the first boot.
Maybe you guese have an Idea what happend.
Cheers
Hey @baldy2811 could you please provide the playbook you used to get this error? I will look into it.
Thanks!
hi Guys,
i use Proxmox 6.3 (the newst Version) and i tried to play with you cool ansible playbook.
But it seems somethink happend with your variable or proxmox changed the API maybe:
failed: [node07.**] (item={'key': '', 'value': {'node': 'node07', 'root_password': 'test', 'ubuntu_distribution': 'xenial', 'locale': 'de_DE', 'memory_size': 1024, 'virtio': '{"virtio0":"local-lvm:50,cache=writeback,discard=on"}', 'network': {'ip': '192.168.100.100', 'netmask': '255.255.255.0', 'gateway': '192.168.100.1', 'nameserver': '1.1.1.1', 'domainname': 'test.**'}}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "", "value": {"locale": "de_DE", "memory_size": 1024, "network": {"domainname": "test. ", "gateway": "192.168.100.1", "ip": "192.168.100.100", "nameserver": "1.1.1.1", "netmask": "255.255.255.0"}, "node": "node07", "root_password": "test", "ubuntu_distribution": "xenial", "virtio": "{\"virtio0\":\"local-lvm:50,cache=writeback,discard=on\"}"}}, "msg": "creation of qemu VM with vmid 107 failed with exception=400 Bad Request: Parameter verification failed. - {\"errors\":{\"name\":\"invalid format - value does not look like a valid DNS name\n\"},\"data\":null}"}
i Can change the name: to test.bla.de in the main/task.yml but then it fails after create the kernel for the first boot.
Maybe you guese have an Idea what happend.
Cheers