Skip to content

test: api/cloudInit tests will fail #486

@NemoDacremont

Description

@NemoDacremont

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions