mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[GH-ISSUE #13] _root is not defined in scheme. Occuring in SetVmConfig post request, using terraform-proxmox-provider. #4
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mjdall on GitHub (Nov 10, 2018).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/13
vmParams: map[description: onboot:false sockets:1 cores:1 memory:1024 0:media=disk,size=32,file=local-lvm:vm-103-disk-1 net0:macaddr=XX:XX:XX:XX:XX:XX,bridge=vmbr0,model=virtio]
response: &{400 Parameter verification failed. 400 HTTP/1.1 1 1 map[Date:[Day xx Nov xxxx xx:xx:xx xxx] Pragma:[no-cache] Server:[pve-api-daemon/3.0] Content-Length:[120] Content-Type:[application/json;charset=UTF-8] Expires:[Day, xx Nov xxxx xx:xx:xx xxx] Cache-Control:[max-age=0]] {{"errors":{"_root":"property is not defined in schema and the schema does not allow additional properties"},"data":null}} 120 [] true false map[] 0xc000228e00 0xc00028e8f0}
Also your vmParams net0 interface is using "type" instead of "model", throws a param verification error also