Comments (5)
I'm seeing similar timeouts time to time as well. I would say the provider is sensitive to increased IO delays on the PVE node, for example, if underlying storage is HDD rather than SDD. Quite annoying, but I wasn't able to pinpoint the issue so far.
from terraform-provider-proxmox.
@intelline, you may have an issue connecting with the qemu agent on the cloned VM. Please make sure the agent is enabled on the source vm (8000
), and also check the status of the cloned VM (7001
) in PVE after you've got an error from terraform apply
-- it should show the agent as enabled, and you should also see the VM's IP address:
from terraform-provider-proxmox.
I have the same timeout issue on some off my vm's, the common thing for those vm's are that they are k3s vm's with alot of networks. All are cloned from the same vm and those without k3s works like a charm. The only visible difference is that the network list contains also the CNI networks for k3s.
IO Should not be a problem here since i run this on a SSD and the overall io is pretty low
Maybe not the same issue?
from terraform-provider-proxmox.
Maybe not the same issue?
Not sure... this particular error seems to be coming from https://github.com/bpg/terraform-provider-proxmox/blob/v0.6.2/proxmoxtf/resource_virtual_environment_vm.go#L1162
Which indicates that PVE didn't mark the VM as "ready" after 5min. Which support my previous suggestion that this could be related to some sort of resource constrains during the clone operation.
@intelline If the issue is reproducible, could you check in what state the cloned VM is in the PVE UI, right after you received the TF error?
from terraform-provider-proxmox.
Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
from terraform-provider-proxmox.
Related Issues (20)
- proxmox_virtual_environment_container managing mount_points HOT 7
- Cannot create volume mount point in LXC HOT 7
- Add support for `proxmox_virtual_environment_file` data source HOT 4
- Terraform VM Creation crashes plugin when adding ipv4 configuration to VM HOT 3
- Context Deadline Exceeded only on certain resources HOT 11
- Using Cloud Init package_upgrade: false HOT 1
- Error: resizing disk: error waiting for VM disk resize: All attempts fail: HOT 5
- After import command or block, unprivileged forces replacement HOT 2
- Live Migration error: retrieving VM 100: the requested resource does not exist HOT 3
- Recommended way to get Packer built VM ID into Terraform control HOT 9
- proxmox_virtual_environment_vm.virtual_machine already exists error HOT 2
- Please add new arguments and attributes to the `proxmox_virtual_environment_vms` data source HOT 2
- Unknown timezone "Europe/Amsterdam" with proxmox_virtual_environment_time HOT 2
- Changing disk size of 'proxmox_virtual_environment_container' forces replacement HOT 4
- proxmox_virtual_environment_download_file can't read metadata HOT 2
- CloudImage size changes forces replacement of VM HOT 2
- proxmox_virtual_environment_vm forces replacement by unchanged initialization.user_account.keys HOT 2
- A question about documentation related to the proxmox_virtual_environment_container resource
- Error listing files from datastore using API Token as credentials HOT 2
- Unable to download iso (OpenTofu) HOT 2
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.