Search results

  1. D

    Custom Cloud Init Snippet - Not working

    Hello, I have spent hours googling and AI with no luck. I am trying to create a custom cloud init for my debian 13 genericcloud image. I created two files, the user and the network. It looks like the user one is working, well as much as I can tell. The networking file just wont bring up the...
  2. D

    Token permissions and creating lxc container

    Hello, I am trying to create a lxc via the 8.4 api. I created a apitoken on the root user with propagated permissions. Here is the content I am using to send to the api { vmid: 9011, hostname: 'harry', ostemplate: 'cephfs:vztmpl/debian13-custom-20251002-dev.tar.gz', storage...
  3. D

    Deleting backups via api - Unexpected Content error

    I am trying to delete backups for a specific vmid. here is the code: curl --location --request DELETE 'http://pve0.mgmt.local:8006/api2/json/nodes/pve0/storage/tempbackup/prunebackups' \ --header 'Authorization: PVEAPIToken=api@pve!apiToken=redacted' \ --header 'Content-Type: application/json'...
  4. D

    deleting vm via api, what does purge: true do?

    There is an option to purge when deleting a vm. The description is "Remove VMID from configurations, like backup & replication jobs and HA." Question, if it removes it from the backup configuration, does that cascade down to the proxmox backup server and delete the backups as well? Thanks
  5. D

    Creating VM via api - needs root privilages.

    Hello, I am using the api to create a fresh vm by importing a qcow2 image, in this case a default debain 12 qcow2 image. Here is my json string that I am using to create the vm . { "vmid": "222", "name": "jack", "agent": 1, "balloon": 512, "cores": 1, "description"...
  6. D

    Cloud Init and Snippets how?

    Hello, I am starting my journey in using a custom cloud-init via a snippet. I am creating the vms using the proxmox API interface. Reading the api docs I get this: cicustom: [meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>] cipassword: Password citype:: configdrive2...
  7. D

    [SOLVED] Can't wipe old boot drive

    I have upgraded my cluster to new boot drives using zfs1 mirroring on sdc and sdd. All is going well. I want to remove the old drives from the chassis. I wanted to wipe the drives using proxmox before I do. I am trying to remove sda When I try to wipe the drive I get the error `disk/partition...
  8. D

    Reinstalling proxmox and ceph - keeping osd

    Hello, I wish to rebuild a host with a new installation of proxmox and ceph. Is it possible to "out" the osd, reinstall, and then "in" the osd? Is it that simple? I could destroy the osd do the reinstall and then rebuild the osd from replication , but I am trying not to do that. Any...
  9. D

    Help with api permissions

    Here is the identity & permissions I have setup. pveum user add foundry@pve --password "<redacted>" --email "admin@foundryserver.com" pveum user token add foundry@pve foundryApi --comment "API token for Foundry VM management" pveum role add FoundryApiRole --privs...
  10. D

    How to find out if a clone is complete via the api.

    Here is the cluster log: "msg": "end task UPID:temppve:0034DAC7:06B4A3DE:67C8E109:qmclone:10000:foundry@pve!foundryapi: OK", it only shows the template vmid and not the target vmid. I am trying to figure out how to test of the clonning of a specific vmid is completed. The task log doesn't...
  11. D

    VM Restore via the api

    I am trying to find in the api docs a way to restore a vm from a backup created using vzdump endpoint in the api. I see snapshot role back but I don't think that is what I am wanting. How do I go about doing the restore via the api. AI is telling me to use...
  12. D

    CPU limits and capacity

    I read the docs, and I want to make sure I understand it. When I assign a single socket/single core to a vm, does that mean proxmox will reserve a whole core to just that vm, or does it mean that that vm can only use 1 core max and no more? I am trying to size my host for the preposed work...
  13. D

    cloud-init snippets hostname is no longer the vm name

    I am using the proxmox api to clone a template. When I create a custom user snippet with all the same information from the cloud init file when created from the gui and adding to it, customization commands. proxmox no longer makes the host name the same as the vm name. Is there a way to bring...
  14. D

    Cloud init won't run

    Hello, I am creating a vm with the ubuntu 24.04.2 cloud image. Both minimal and normal. The vm boots but the cloud init is never triggered. I am downloading the image, then I import the .img to the vm, add the disk and boot. I am running pm 8.3.0. I have done this same procedure more than a...
  15. D

    How to get more details of an api error

    I am trying to clone from a template via the api. I am getting a generic error back Request failed with status code 500 Is there a way to get more details to help me debug my api calls?
  16. D

    CPU core count seems to be wrong

    When I look at the dashboard it reports: 72 x Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz (2 Sockets) What is physically installed: 28 Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.60GHz (2 Sockets) Why would these be different? Version 8.0.3 Thank Brad
  17. D

    Too many dns servers

    My dhcp server configures two dns servers upon lease assignments. The proxmox via cloud init also assigns dns entries, thus I have a doubling of dns entries in reslove. Is there a way to stop cloud init from doing this? It looks like the only option I have is to use the host entries or specify...
  18. D

    How to remove proxmox backup

    Proxmox backup doesn't have the features I was looking for. I would like to avoid reinstalling the os. Is it possible to just remove the proxmox backup portion? Is it a standard Debian install? Thanks Brad
  19. D

    Scheduling a host backup using the backup client

    I am new to proxmox backup. I have watch the videos, read the docs, but I can see how to schedule a file level backup on a host. Is the idea then to just use cron to issue the backup client command? The other question I have, is I don't see how to specify a differential backup. Not sure I am...
  20. D

    VNC Proxy Failed to Start

    When I migrate a ubuntu vm from pve0 to pve1 or pve2 in a cluster I lose vnc access. When I move the vm back to pve0 I get vnc access. Environment: - 3 identical hosts in a proxmox cluster. - ubuntu23.04.3 Minimal with qemu-guest-agent The vm lives on vlan 20. I don't want the vms to have...