Open xevz opened 8 months ago
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!
Describe the bug
If one or more nodes are offline in the cluster, VM listing operations such as the
proxmox_virtual_environment_vms
data source or state refreshing fails as the/nodes/<node>/
endpoint is used.To Reproduce
proxmox_virtual_environment_vm
resources in the cluster, on multiple nodesproxmox_virtual_environment_vms
data sourceSee error
Expected behavior
VMs on the offline node to be listed, but as "shutdown"/"offline" state, and ignored for further operations.
Additional context
The GUI seems to use the
/cluster/resources
API endpoint, rather than iterating over/nodes/<node>
, which successfully list all VMs in the cluster without having all nodes running.