Comments (10)
That's probably a regression after #1153, so v0.50.0 should work.
from terraform-provider-proxmox.
Hi @bpg , came here after having the same problem.
In my case i tried to change the CPU core count and RAM amount on some VM's got the affinity and hugepages errors respectively.
Downgrading to v0.50.0 indeed fixes the issue for both cases...
PVE 8.1.10 OpenTofu 1.6.2
from terraform-provider-proxmox.
Yeah... the new version automatically adds delete=affinity
to the API call, even if no affinity was previously defined in the plan.
@batonogov Thanks bunch for the detailed report, it helped me to quickly identify the problem. Will be fixed in v0.50.1 v0.51.1
from terraform-provider-proxmox.
Ah... thanks for catching this @mlinares1998 !
The problem is exactly the same 😞. No need for the new ticket.
from terraform-provider-proxmox.
I have the same, but only root can set 'hugepages' config
. PVE 8.1.4, terraform version 1.3.7 & 1.7.5.
Tried to revert back to v0.48.1 and v0.50.0 (right before affinity and hugepages update), terraform crashing.
P.S. test repo had no issues with 0.51.0 and still don't
from terraform-provider-proxmox.
@woloss how it crashes? Could you post an error message here?
from terraform-provider-proxmox.
@bpg False alarm, previous runs I had via Atlantis (latest terraform), tried locally and 0.50.0 worked flawlessly. Tried atlantis with terraform v1.3.7 worked fine too, looks like some memory issue with S3 backend plugin, nothing to do with provider.
from terraform-provider-proxmox.
@all-contributors please add @batonogov for bug
from terraform-provider-proxmox.
I've put up a pull request to add @batonogov! 🎉
from terraform-provider-proxmox.
Hi! @bpg!
Sorry for reopening again, i have tested v0.51.1 and the CPU affinity bug seems to be fixed now.
Unfortunately i'm still experiencing the HTTP 500 error related to hugepages when i try to change a VM allocated RAM...
module.pve_virtual_machines["services"].proxmox_virtual_environment_vm.vm: Modifying... [id=112]
╷
│ Error: error updating VM: received an HTTP 500 response - Reason: only root can set 'hugepages' config
│
│ with module.pve_virtual_machines["services"].proxmox_virtual_environment_vm.vm,
│ on ../../../../../../modules/pve/qemu/main.tf line 13, in resource "proxmox_virtual_environment_vm" "vm":
│ 13: resource "proxmox_virtual_environment_vm" "vm" {
│
╵
ERRO[0006] tofu invocation failed in /home/mlinares/easybyte/terraform/env/ops/infra/.terragrunt-cache/SlpvMVecbTivGbI6svv3y0tbtmk/2NGM4drkrPaB1Vhrlkr3XhFZ-gI prefix=[/home/mlinares/easybyte/terraform/env/ops/infra]
ERRO[0006] 1 error occurred:
* [/home/mlinares/easybyte/terraform/env/ops/infra/.terragrunt-cache/SlpvMVecbTivGbI6svv3y0tbtmk/2NGM4drkrPaB1Vhrlkr3XhFZ-gI] exit status 1
Should i open a separate ticket for this @bpg ?
from terraform-provider-proxmox.
Related Issues (20)
- Cannot use cloudinit with initialization HOT 1
- Disk resize for VM not updated in terraform state HOT 14
- CD-ROM is not attached when creating a VM from scratch HOT 1
- Not sure why I have these issue HOT 2
- Cannot Set Disk Passthrough Serial
- Terraform unable to set CIUPGRADE config, regardless of running as root or not, using API token HOT 3
- proxmox_virtual_environment_user_token is not idempotent if no expiration_date is set HOT 1
- Idempotence issues in "proxmox_virtual_environment_vm" after cloning from another VM HOT 3
- Support provider_override HOT 4
- Document which is the latest compatible version for Proxmox 7.4 HOT 1
- Align Defaults with Proxmox Defaults HOT 1
- Error: unknown time zone HOT 3
- HTTP 596 response Connection timed out in proxmox_virtual_environment_file HOT 1
- disk resize fails: error waiting for VM disk resize: All attempts fail: HOT 2
- Allow VM clone to pass with warnings HOT 3
- Missing "none" and "VirGL" to VGA type in proxmox_vm proxmox_virtual_environment_vm HOT 1
- Container volume mount backup flag defaults to true in provider but false in Proxmox, so volume mounts are created with the flag missing. HOT 1
- 0.58.0 VM resource: `expected clipboard to be one of ["vnc"], got .` HOT 1
- Selection of the components you want to be hotpluggable HOT 1
- error creating clonr vm linked clone HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-proxmox.