Search results

  1. C

    [SOLVED] API: 501 upload failed on /nodes/{node}/storage/{storage}/upload

    Ah, that was it! Larger file, and everything worked out nicely. Thanks!
  2. C

    [SOLVED] API: 501 upload failed on /nodes/{node}/storage/{storage}/upload

    Interesting... When I tested dumping a bunch of log calls in there, I never even get to processing of later phases... It goes to line 1037 which sets the phase to 2, then dies at L1091. I guess it should be looping somehow, but I didn't see how? I'm just uploading some random text file to test...
  3. C

    [SOLVED] API: 501 upload failed on /nodes/{node}/storage/{storage}/upload

    Hi, I'm implementing file upload via the API and failing. The error is HTTP 501, with the message "upload failed", which isn't too enlightening sadly. I can reproduce this with curl, so probably I'm doing misunderstanding how I should be making the call: curl -X POST -H "Content-type...
  4. C

    [SOLVED] sendkey to VM in pool?

    Looks like the problem was that the library I was using to interface with the API didn't implement sendkey. I patched it to have that functionality, and it seems to work fine. Sorry for the bogus report!
  5. C

    [SOLVED] sendkey to VM in pool?

    Ah. I'm calling /api2/json/nodes/{node}/qemu/{vmid}/monitor, with the command parameter set to "sendkey x" for example. I see there is a sendkey endpoint, but I don't recall why I opted to use the monitor endpoint instead. I have some vague recollection of some issue, but I'll rewrite to use...
  6. C

    [SOLVED] sendkey to VM in pool?

    Hi! I'm experimenting with adding resource pool support for the Packer Proxmox builder, but I'm running into problems that the `sendkey` API call doesn't seem to work for users restricted to a pool (`Permission check failed (/, Sys.Modify) (403)`). Is this by design, or is it something that...
  7. C

    Non-VM-specific disks

    Sorry, this wasn't clear to me. You mean if there is in fact a VM with that "magic id" (I chose 2000 in my example), and the user enters that command, the disk will be attached to that VM as well? Would it be forcefully detached then from the previously attached-to VM? Or (worse) would it be...
  8. C

    Non-VM-specific disks

    Hi Wolfgang, Thanks for your reply. This also includes non-root disks, then? Also, in case I wasn't clear, I don't want to attach the disk to multiple VMs at the same time, only be able to move it around between VMs (with an intermediate "attached to no VM at all" state). I did a bit of poking...
  9. C

    Non-VM-specific disks

    Hi, I wonder if there is a way to have disks not specific to a certain VM, but possible to attach/detach to different VMs? I found this documentation for migrating disks between VMs, but it is fairly involved and much of it seems not meant for automation...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!