Search results

  1. E

    Add/Delete network to VM via Proxmox API

    We can add network device to virtual machine via web interface: How to do the same operation via Proxmox API? Probably I should use the command 'pvesh set /nodes/{node}/qemu/{vmid}/config', but I am not sure how to use it to add or to delete a network adapter from a virtual machine. Could...
  2. E

    List of all Virtual Machine statuses

    Sure, this is the website that I use while creating my application, but I cannot find what I was asking. That is why I have created this discussion.
  3. E

    List of all Virtual Machine statuses

    So, is this an exhaustive list? Is it declared anywhere? Can I rely only on the specified states in my program? I am sorry if I am asking a googleable question, but I wasn't able to find an answer...
  4. E

    Bug: Configuration file does not exist

    Every time I delete a virtual machine via web gui I get the following error message (though the virtual machine is deleted successfully):
  5. E

    List of all Virtual Machine statuses

    I can get the status of a virtual machine by using the command pvesh get /nodes/pve/qemu/100/status/current For now, I have seen 3 different values used for this field: paused, running, stopped. What is the total list of all possible values and where can I look up theirs meaning?
  6. E

    How to diagnose the problem when VM is not starting

    The virtual machine starts successfully on a different stand, so the problem is in my original stand (but I don't know what the problem is).
  7. E

    How to diagnose the problem when VM is not starting

    Sure! Operating System: CentOS 7.2.15.11 (Core)
  8. E

    How to diagnose the problem when VM is not starting

    No way =) It was a virtual machine in libvirt on Ubuntu. The thing is that this virtual machine works perfectly when I deploy it on that same libvirt. What is more disturbing is that I was deploying this exact same image on proxmox and there was no problem. Maybe I've got this issue after...
  9. E

    How to diagnose the problem when VM is not starting

    I am using just local-lvm as a storage (i.e. no scsi or nfs). I am struggling for the whole day with different configurations and cache options. Nothing works =(
  10. E

    How to diagnose the problem when VM is not starting

    I tried different configurations for HDD and different sizes (30Gb, 32Gb, 33Gb). All of them result in the same screen:
  11. E

    How to diagnose the problem when VM is not starting

    No, my source is 30Gb. I will change now lvm disk size from 32Gb to 30Gb and see what happens.
  12. E

    How to diagnose the problem when VM is not starting

    Here is Options section (if needed):
  13. E

    How to diagnose the problem when VM is not starting

    My steps to create virtual machine: 1. Upload image.raw.gz to server. 2. Run command 'gunzip -c image.raw.gz | dd of=/dev/pve/vm-100-disk-1' 3. Start virtual machine. Suddenly from some moment there is a problem that virtual machine cannot boot from a disk: Hardware settings: Summary...
  14. E

    How to generate virtual machine id safely?

    1. If different vms have the same name it would be difficult for them to identify the one they need right? =) 2. When you are cloning, I guess, it is possible to ask a user to specify a new name for it and offer some standard name like "MyVm-clone1" (i.e. append suffix "-clone[n]"). 3. In VmWare...
  15. E

    How to ensure that virtual machine was created?

    In my code, right after I send POST request to create virtual machine, I am trying to get its configuration (or status): "pvesh get /nodes/pve/qemu/101/config" This command results in InternalServerError: If I do a 2 second sleep before making a request for this config, then I don't get this...
  16. E

    How to get virtual machine description via API?

    There is a way to set description for virtual machine when making POST request. How to retrieve that info for a particular virtual machine if we know its vmid?
  17. E

    How to generate virtual machine id safely?

    I am sorry to take up your time, as original question has already found its answer, but I want to know this. What is the real world use case that demands 2 different virtual machines with the same name? Please, don't think bad about me, it is just the first time I see that there is a need for...
  18. E

    How to generate virtual machine id safely?

    Thank you! The idea is good, but, I think, implementation is not perfect. We are supporting a lot of hypervisors and this is the first time I see that thing with VmId. All the others just use virtual machine name as a key, so this won't allow for collision to happen =)
  19. E

    How to generate virtual machine id safely?

    Web UI shows me the recommended virtual machine id: How can I get this recommended ID via Proxmox API in order to avoid collisions while creating virtual machines? The best scenario of course is when I can send POST request without specifying vm id myself and let proxmox assign it for me...
  20. E

    Set virtual machine meta info

    I need to set meta info for my virtual machine so that I could identify it in the future. When I do POST request to create a virtual machine I can use the field description in order to set my meta info: request.AddParameter("description", "Secure Virtual Machine version 4.0.31.342...

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!