-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In v3.0.1-rc6 release network block macaddr value converts from upper to lower case #1182
Comments
@maksimsamt this was done on purpose to enforce the same case pve uses when it generates a mac address from the ui. As switching the case of the mac address counts as disconnecting and reconnecting the network interface. |
Also, all mac address formats are valid, even octal as we use the binary representation of the mac address. Would using lower-case mac addresses in your be a solution for you? Personally prefer upper-case mac address, so could make it default to uppercase. |
Yes, already changed in my solution logic to use lower case values.
The same to me, upper-case mac address is more readable. |
@maksimsamt gonna try to figure out if i can preserve the format when returning it. I'll add it to RC7. |
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs |
@maksimsamt would you be able to test #1244? It should preserve the case/syntax of the mac-address. |
@Tinyblargon ,
In rc6 this workaround worked:
This version is no longer working with this workaround: |
@maksimsamt not sure what is causing the permission issue as we haven't added any functionality that requires the interaction with PVE to change. |
@maksimsamt could you check if the permission issue already exists in 7e66709 as this would really narrow down the search. |
for what? when 3.0.1-rc6 works fine |
@maksimsamt I'm trying to figure out why your workaround doesn't work anymore. The commit i mentioned adds a lot of code that functionality doesn't change anything. It would help a lot in trying to figure out if your workaround broke before or after that commit. |
@Tinyblargon, |
@maksimsamt thanks for testing. :) |
@Tinyblargon , This previous 364b3ba works fine. |
@maksimsamt the only meaningful change is on line 788 in the qemu code. We used to set pool through the vmref, but now through the vm config. As far as I'm aware should that do the exact same. Gonna check upstream what is causing this. |
@Tinyblargon , The test was successful. |
@maksimsamt, thank you for verifying and all the help with the permission issue. I know what to revert, just nor sure yet why. |
Network Block
Seems it is related with:
#1139
Adding resources:
Removing resources:
I have some macaddr manipulations after VM provisioning (with
provisioner "local-exec"
) and due to this change this action fails:The text was updated successfully, but these errors were encountered: