Closed tazou closed 1 year ago
Hello,
Thank you for trying the molecule-proxmox driver.
Yes, your understanding is correct, and your molecule file does look correct. I'm taking a closer look at the code to investigate.
I'm also running on a Apple M1 (with molecule-proxmox 0.7.0, proxmoxer 1.3.1, molecule 4.0.0) and PVE 7.2-7 and can not reproduce this error. But I had some other permission issues with PVE when I tried to use not the root user. Might be helpful to eliminate permission problems by using the root user or try the same PVE version as I did. Not sure if this comment is helpful for you, fingers crossed.
Not sure what went wrong here, but it may have been some local setup issues. Closing this one for now since wontfixthis reported success. We can reopen if we get more information
Many thanks.
Hello, this is the first time I try your driver, so maybe I made something wrong. I would like to create ephemeral VM on a proxmox server from molecule command line to test ansible roles.
Here is my informations: I'm on MacOS M1 arch with:
And
I installed on my Mac your driver, with:
pip install molecule-proxmox
I create a new fresh role with:
molecule init role --driver-name proxmox vim
This step is working fine.Inside the file
molecule/default/molecule.yml
I put this:And when I run
molecule converge
I have this output:I don't understand why it said the VM is not here, because I believe it should create this VM.
From what I understand, the part:
tell to proxmox "you need to create a new VM named 'instance'". And it'll use the
template_name: ubuntu-20-04-template-2022-05-10
to clone it to create the new VM "instance". I'm right?I tried the option
sethostname
with "yes" and "no", but the issue is the same.Do you have an idea please?
Thank you, Bests regards.