You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When attempting to clone a qemu VM on a Proxmox VE host, the salt-cloud proxmox driver fails to relay the "pool" parameter specified by the profile.
This causes cloning to fail for any user that does not have a global VM.Allocate permission (i.e. their permissions are restricted to their pool).
Pull request with fix and tests to follow.
Setup
salt master (hostname "salt") is running in a container on the Proxmox host.
Proxmox (hostname "pve") is running on bare metal, on-premises.
Salt Version:
Salt: 3004.1Dependency Versions:
cffi: Not Installedcherrypy: Not Installeddateutil: 2.6.1docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 2.10.1libgit2: Not InstalledM2Crypto: 0.35.2Mako: Not Installedmsgpack: 0.6.2msgpack-pure: Not Installedmysql-python: Not Installedpycparser: Not Installedpycrypto: Not Installedpycryptodome: Not Installedpygit2: Not InstalledPython: 3.6.8 (default, Apr 11 2022, 08:25:52)python-gnupg: 0.4.6PyYAML: 3.12PyZMQ: 19.0.0smmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: oracle 8.6 locale: UTF-8machine: x86_64release: 5.15.35-3-pvesystem: Linuxversion: Oracle Linux Server 8.6
The text was updated successfully, but these errors were encountered:
After getting past this issue, I ran into yet another bug in the proxmox driver. Is the best approach to do multiple issues/PRs, or multiples issues/single PR, since it's all related to the proxmox driver, or something else?
Description
When attempting to clone a qemu VM on a Proxmox VE host, the salt-cloud proxmox driver fails to relay the "pool" parameter specified by the profile.
This causes cloning to fail for any user that does not have a global VM.Allocate permission (i.e. their permissions are restricted to their pool).
Pull request with fix and tests to follow.
Setup
/etc/salt/cloud.providers.d/proxmox.conf
/etc/salt/cloud.profiles.d/proxmox.conf
Steps to Reproduce the behavior
salt-cloud -p -l all ol8 testvm
Excerpt of debug log
Expected behavior
Passing the specified pool in order to enable successful creation of the VM, e.g.:
Versions Report
salt --versions-report
The text was updated successfully, but these errors were encountered: