Giter Site home page Giter Site logo

Comments (8)

muhlba91 avatar muhlba91 commented on June 1, 2024 1

I can verify this as well. Also the cloud-init image cannot be replaced.
The upstream Terraform provider seems to have changes behavior - with 2.2.0 it restarted the machines on a cloud-init change.

Can you please also raise this in the upstream provider and reference here?

from pulumi-proxmoxve.

qazbnm456 avatar qazbnm456 commented on June 1, 2024 1

Per the problem you mentioned initially @spott, I sent the PR to fix it upstream and got it merged already.

@muhlba91 The upstream yesterday released a newer version that includes the fix. Could you kindly update the dependency? Thanks!

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 1, 2024 1

thanks for the info! update will come friday or saturday. (i‘m currently not home.)

from pulumi-proxmoxve.

danielr1996 avatar danielr1996 commented on June 1, 2024

I got the same error on 2.3.0, tried downgrading to 2.2.0 and the hostpci error disappeared again.
However I still get the following error:

 error: 1 error occurred:
        * creating urn:pulumi:dev::k8s::proxmoxve:VM/virtualMachine:VirtualMachine::k8s-dev-dataplane-0: 1 error occurred:
        * received an HTTP 500 response - Reason: lvcreate 'pve/vm-103-cloudinit' error:   Logical Volume "vm-103-cloudinit" already exists in volume group "pve"

Is that the cloudinit error you mentioned?

The strange thing is that I also tried it with an older project that I had created with 2.2.0, but abandoned again a few weeks ago and get the same cloudinit error. So I'm wondering if thats the problem with the upstream provider or something went wrong on my side. I can confirm that the volume isn't there (at least not listed in the proxmox storage view) and then gets created by pulumi.

@spott would you mind updating the title and description to include the cloudinit error, I think this would helps others searching the issues for that particular error.

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 1, 2024

yes, that‘s the cloud-init error. in my tests it worked but maybe it was also due to a specific constellation of PVE version, upstream provider, and VM states.

the cloud-init though gets changed and after a stop and start of the VM these values get set correctly.

from pulumi-proxmoxve.

spott avatar spott commented on June 1, 2024

@qazbnm456 Thanks!

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 1, 2024

v2.3.1 is released which used 0.12.1 as upstream version.
i can confirm the hostpci error did not appear for me anymore; however, the cloud-init one still persists.

from pulumi-proxmoxve.

bpg avatar bpg commented on June 1, 2024

Hey @muhlba91 / @danielr1996 👋🏼
Would you mind to open an issue in https://github.com/bpg/terraform-provider-proxmox with more details about the "cloud-init" error? Ideally, an example of the template that was causing the error.
Thanks!

EDIT: My guess is that regression was introduced either in v0.9.0 or v0.8.0 of the upstream, could we confirm that?

from pulumi-proxmoxve.

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.