Skip to content

bug: create guest qemu ... will fail #506

@NemoDacremont

Description

@NemoDacremont

Problem

When running the command create guest qemu with the new CLI, it will fail (proxmox v9.0.11, latest master commit) :

> proxmox-api-go -i create guest qemu --file qemu.json 123 pve
Error: 501 Method 'GET /nodes/pve/unknown/123/config' not implemented
Usage:
  proxmox-api-go create guest qemu GUESTID NODEID [flags]

Flags:
  -h, --help   help for qemu

Global Flags:
  -d, --debug             debug mode
  -f, --file string       file to get the config from
  -i, --insecure          TLS insecure mode
  -p, --proxyurl string   proxy url to connect to
  -t, --timeout int       api task timeout in seconds (default 300)

2025/10/30 19:22:21 501 Method 'GET /nodes/pve/unknown/123/config' not implemented

Where qemu.json is :

{
        "name": "test-qemu01",
        "bios": "seabios",
        "tablet": true,
        "memory": 128,
        "ostype": "l26",
        "cores": 1,
        "sockets": 1,
        "cpu": "host",
        "numa": false,
        "kvm": true,
        "hotplug": "network,disk,usb",
        "iso": "none",
        "boot": "order=ide2;net0",
        "scsihw": "virtio-scsi-pci",
        "network": {
                "0": {
                        "bridge": "vmbr0",
                        "firewall": true,
                        "id": 0,
                        "macaddr": "B6:8F:9D:7C:8F:BC",
                        "model": "virtio"
                }
        }
}

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