[GH-ISSUE #486] test: api/cloudInit tests will fail #127

Open
opened 2026-02-28 00:40:41 +03:00 by kerem · 0 comments
Owner

Originally created by @NemoDacremont on GitHub (Oct 19, 2025).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/486

What happens

When running api/cloudInit tests on a fresh proxmox (v8.4.14) install, the tests will fail, the logs are following :

--- FAIL: Test_Cloud_Init_VM (0.12s)
    cloudinit_test.go:23:
                Error Trace:    /home/ndacremont/Documents/explore/proxmox-api-go/test/api/CloudInit/cloudinit_test.go:23
                Error:          Received unexpected error:
                                error creating network: 400 Parameter verification failed.
                                                 api response: {"errors":{"iface":"interface already exists"},"message":"Parameter verification failed.\n","data":null}
                                                 params: {"autostart":true,"iface":"vmbr0","node":"pve","type":"bridge"}
                Test:           Test_Cloud_Init_VM
FAIL
FAIL    github.com/Telmate/proxmox-api-go/test/api/CloudInit    0.121s

Expected

The test shouldn't fail because the interface already exists

I might try to fix it sooner or later

Originally created by @NemoDacremont on GitHub (Oct 19, 2025). Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/486 ### What happens When running `api/cloudInit` tests on a fresh proxmox (v8.4.14) install, the tests will fail, the logs are following : ``` --- FAIL: Test_Cloud_Init_VM (0.12s) cloudinit_test.go:23: Error Trace: /home/ndacremont/Documents/explore/proxmox-api-go/test/api/CloudInit/cloudinit_test.go:23 Error: Received unexpected error: error creating network: 400 Parameter verification failed. api response: {"errors":{"iface":"interface already exists"},"message":"Parameter verification failed.\n","data":null} params: {"autostart":true,"iface":"vmbr0","node":"pve","type":"bridge"} Test: Test_Cloud_Init_VM FAIL FAIL github.com/Telmate/proxmox-api-go/test/api/CloudInit 0.121s ``` ### Expected The test shouldn't fail because the interface already exists I might try to fix it sooner or later
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#127
No description provided.