Nothing obvious on this one out in network-land so hoping someone has seen this before. It stops the ansible playbook run cold.
roles/library/proxomox_kvm.py exists and is executable
Okay, I cloned the latest pve-infra-poc repo and used the full run.yml with our vars.yml and saw the attached on the console.
The output at the very end expands to this in the Proxmox GUI in the tasks section where it fails to start the VM
Use of uninitialized value $type in string eq at...
Regarding pve-infra-poc repo (morph027 / pve-infra-poc · GitLabhttps://gitlab.com › morph027 › pve-infra-poc) I have returned to working on the cloud-init.
In the vars.yml, I set:
# vm definitions
vms:
ubuntu-cloud-init-1:
cloudinit: true
template: 'ubuntu-ansible'
node...
Understood.
I used this but am seeing the various screenshots attached to this post which show repeated failed kickstart reboots for a Centos static instance with hardwired ip/netmask/gateway/nameserver/domainname with the stage2/repo/ks from the example.
Anyone have the current stage2/repo/ks...
Remarkably, with doing the above:
pip install -U git+https://github.com/ssi444/proxmoxer@master
and receiving this confirmation it was already installed:
pip install -U git+https://github.com/ssi444/proxmoxer@master
DEPRECATION: Python 2.7 will reach the end of its life on January 1st...
Hi,
I see in various examples the referenced donation of ostemplate as something like:
.... ostemplate="local:vztmpl/debian-.....tar.gz" and so forth
My question is where is "local:vztmpl/" physically on both the proxmox server and in the proxmox gui.
The template in which I saw this...
So I simply grepped in /var/log/syslog on the proxmox server for the ip of the orignating requestor instance and saw the errors the API is reporting regarding the vm create...
So I looked at /var/log/access.log on the hypervisor for that 500 internal server error.
Here is the pertinent additional data:
10.138.0.17 - - [06/12/2019:22:55:59 +0000] "POST /api2/json/access/ticket HTTP/1.1" 200 664
10.138.0.17 - root@pam [06/12/2019:22:55:59 +0000] "GET...
And it is bizarre that kvm gets an error in the above on opening vm-102-disk-0.qcow2 given this:
$ ls -l
total 37
-rw-r----- 1 root root 5570560 Dec 6 21:25 vm-102-cloudinit.qcow2
-rw-r--r-- 1 root root 196864 Dec 5 21:48 vm-102-disk-0.qcow2
$ pwd
/var/lib/vz/images/102
$
Thoughts?
The error message is:
Total translation table size: 0
Total rockridge attributes bytes: 417
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
178 extents written (0 MB)
kvm: -drive...
This file is retained in ~/.ansible/tmp/ansible-tmp-########.##-########/AnsiballZ_proxmox_kvm.py
Using it from an Ansible playbook from the module
ansible.modules.proxmox_kvm
producing the error ending the run without a VM create...
creation of qemu VM centos-static with vmid 137 failed...
Hmmm, I am not so lucky. While the above commands report aok (see below), the run of the proxmox_kvm.py code gives this when trying to create a PV:
creation of qemu VM centos-static with vmid 137 failed with exception=500 Internal Server Error: {\"data\":null}
So my question is how to drill...
What about the details of Ansible's call to proxmox_kvm.py from the pve-infra-poc Ansible module? I am getting errors which require seeing in the API why it is happening, specifically:
creation of qemu VM some-random-name with vmid some-random-number failed with exception=500 Internal Server...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.