Closed mihai-satmarean closed 2 years ago
Hello,
That error means the molecule-proxmox package is not installed. It can be installed with 'pip install molecule-proxomox'. If you are using a python virtualenv, be sure to run 'source <path-to-virtualenv/bin/activate' first to install in your virtualenv.
Oh, also, which version of molecule is installed? I have not yet tested with the most recent major release molecule 4.0.
I did both
pip install molecule-proxmox
and
pip3 install molecule-proxmox
molecule 3.0.2.1
On Mon, 18 Jul 2022 08:34:18 -0700 mihai-satmarean @.***> wrote:
I did both
pip install molecule-proxmox
and
pip3 install molecule-proxmox
Ok, thanks.
molecule 3.0.2.1
I think that could be the issue. The molecule-proxmox currently requires a molecule version of at least 3.2.0.
The setup.py current contains:
install_requires=[ 'molecule>=3.2.0,<=4.0', 'pyyaml', 'proxmoxer>=1.3.1', ],
The molecule --version
command shows the molecule versions and
the versions of the installed plugins. For example:
$ molecule --version molecule 3.6.1 using python 3.8 ansible:2.12.4 delegated:3.6.1 from molecule proxmox:0.5.3 from molecule_proxmox vagrant:1.0.0 from molecule_vagrant virtup:1.5.0 from molecule_virtup
-- Michael Meffie @.***>
yes. using the proper version of molecule fixed it! great job I will come back with feedback!
Excellent news. Thank you mihai-satmarean. Be sure to read the readme for info about setting up templates and the settings needed to connect to proxmox. Let me know if you have any questions or problems.
Thanks for the initiative, is very good. I have a little issue, please document the steps.
molecule init scenario proxmox --driver-name proxmox
returns
Error: Invalid value for '--driver-name' / '-d': invalid choice: proxmox. (choose from delegated, docker, ec2, podman)