Giter VIP home page Giter VIP logo

Comments (10)

bpg avatar bpg commented on August 9, 2024 1

That's probably a regression after #1153, so v0.50.0 should work.

from terraform-provider-proxmox.

mlinares1998 avatar mlinares1998 commented on August 9, 2024 1

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.

bpg avatar bpg commented on August 9, 2024 1

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.

bpg avatar bpg commented on August 9, 2024 1

Ah... thanks for catching this @mlinares1998 !
The problem is exactly the same 😞. No need for the new ticket.

from terraform-provider-proxmox.

woloss avatar woloss commented on August 9, 2024

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.

bpg avatar bpg commented on August 9, 2024

@woloss how it crashes? Could you post an error message here?

from terraform-provider-proxmox.

woloss avatar woloss commented on August 9, 2024

@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.

bpg avatar bpg commented on August 9, 2024

@all-contributors please add @batonogov for bug

from terraform-provider-proxmox.

allcontributors avatar allcontributors commented on August 9, 2024

@bpg

I've put up a pull request to add @batonogov! 🎉

from terraform-provider-proxmox.

mlinares1998 avatar mlinares1998 commented on August 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.