Recent content by pixel

  1. P

    unattended installer

    Wed like to automate enough of the proxmox installation to take over with ansible after. this means default storage, setting up network, adding ssh keys etc. with ubuntu, i usually make a modified iso for the target machine with preseeded answers and a post install script. is it possible to do...
  2. P

    getting state while scripting, filesystem or pvesh?

    We script and use pvesh for almost everything. either on the command line or called from python. these python scripts are slow from multiple get calls. are there any hidden pitfalls, race conditions, etc that could happen with getting data by parsing the config files in /etc/pve as opposed to...
  3. P

    strange bug in 5b2, pvesh disables the web ui.

    which certs should be deleted when the template is made?
  4. P

    strange bug in 5b2, pvesh disables the web ui.

    thanks! i noticed in the case of this vagrant file, the hosts line reads: 10.12.13.21 node1 node1 pvelocalhost could this cause any problems later on? the vagrantfile could be modified if so. regarding vagrant recreating /etc/hosts, thats not a problem. the hostmanager plugin can be disabled...
  5. P

    strange bug in 5b2, pvesh disables the web ui.

    heres vagrant setup i have running. if you make the proxmox box, remember to checkout the pve-5 branch. this one didnt fail until trying to use the web-ui. then, the cluster service was killed and /etc/pve was gone. here is the packer file so you dont have to scroll back to find it...
  6. P

    strange bug in 5b2, pvesh disables the web ui.

    it happened again. this time im keeping the vagrant session running, so you can ask me to do more diagnostics. after vagrant up, i ran "pvesh get /storage" and "ls /etc/pve" to make sure those worked. then tried to log in with the webui. it let me in, but with the node error, the red circle...
  7. P

    strange bug in 5b2, pvesh disables the web ui.

    it if happens again, ill try that and keep the instance running so other things can be tried.
  8. P

    strange bug in 5b2, pvesh disables the web ui.

    it happend again while trying to get ceph running. ill try to make the vagrant run reproducible, but heres requested output, root@node1:/home/vagrant# systemctl list-units --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● pve-cluster.service...
  9. P

    strange bug in 5b2, pvesh disables the web ui.

    wish i could. they were vagrant runs. long gone now. i tried re running vagrant in the conditions that caused the problems, but they no longer do. if it helps, today it all worked, yesterday was when i could reliably cause them. did not update the proxmox image in that time, and none of the...
  10. P

    strange bug in 5b2, pvesh disables the web ui.

    now i cant get it back in the failed state, which kinda worries me. i hope its because something was fixed. Thanks for the fast responses! Ill try that and revisit this thread if it happens again.
  11. P

    strange bug in 5b2, pvesh disables the web ui.

    # pvesh create /storage -storage vmspace -type dir -content rootdir,images -path /vmspace if that gets executed after the proxmox vm is up, the gui works. if it is run as part of the provision script, the gui will let you log in, but node1 has the red circle with an x in it. in either case...
  12. P

    Create VM using pre-baked qcow2

    you can use pvesh. for example, cp image.qcow2 /mystorage/vm-$vmid-disk-1.qcow2 pvesh set /nodes/$node/qemu/$vmid/config -scsi0 mystorage:$vmid/vm-$vmid-disk-1.qcow2,cache=writeback $node is the name of that proxmox host. storage types other than "dir" will use $vmid-disk-N, without the "vm-"...
  13. P

    strange bug in 5b2, pvesh disables the web ui.

    running proxmox 5beta2 in vagrant (libvirt/kvm) using this packer build, https://github.com/rgl/proxmox-ve/tree/pve-5 when running any pvesh commands from the provision script, the gui seems to be disabled. the first time i look, the node is replaced by a red "node1", after logging out and back...
  14. P

    Suggestion - manage any lxc container via pct regardless of host

    to rephrase this, we should be talking to the cluster instead of the host. ganeti is an example of this. i agree.
  15. P

    Terraform provider?

    someone started on one, maybe you should help. https://github.com/lord2800/terraform-provider-proxmox also, heres an ansible module, http://docs.ansible.com/ansible/proxmox_module.html

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!