Closed Hedius closed 1 year ago
Any progress on this?
Any progress on this?
For now the only fix is that you manually edit the plugin files on your foreman server: not ideal :)
Hopefully, this plugin gets updated soon :)
Look in the open pull requests. There are two.
Yeah found it, thanx!
Describe the bug I've found the following problem while linking an existing host to a VM
The puppet facts store the MAC in lower case.
The proxmox compute resource (this plugin) pulls the MAC in upper case from the Proxmox API (or Proxmox provides it in upper case)
Therefore, it is not possible to link an existing host with a proxmox host. (Since the comparison is case-sensitive)
I've created a pull request with a quick solution (converting both MACs to lower case before the comparison): #223 Furthermore, d30e1c435c2d456b9519bc74b407f6aa89a256e2 (also in the PR) converts the identity (int) to a string to fix a 500 when clicking on the “Associate VMs” button. Similar to #220
To Reproduce Steps to reproduce the behavior:
Expected behavior The check should be case-insensitive
Screenshots If applicable, add screenshots to help explain your problem.
![grafik](https://user-images.githubusercontent.com/14820882/157352421-abe921c9-989a-495d-8bc9-03932706af90.png)
Desktop (please complete the following information):
Additional context None