meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
vm:proxmox:on_debian [2020/04/22 16:35] – created niziakvm:proxmox:on_debian [2020/04/23 13:49] niziak
Line 12: Line 12:
 Detailed step-by-step instuciton [[https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster|wiki]] Detailed step-by-step instuciton [[https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster|wiki]]
  
-It is very important (to SSL key generation), that hostname and IP is correctly configured:+It is very important (to SSL key generation), that hostname is resolved do IP address of device:
 <code bash> <code bash>
 hostname --ip-address hostname --ip-address
Line 22: Line 22:
 wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
 apt-get update apt-get update
 +apt-get remove network-manager
 +apt-get install ifupdown2 open-iscsi
 apt-get install proxmox-ve apt-get install proxmox-ve
 </code> </code>
 +
 +Reboot system.
 +System will boot with default Debian kernel, because Buster Backports kernel is newer than Proxmox one.
 +
 +To try to boor PVE kernel once:
 +<file | /etc/default/grub>
 +GRUB_DEFAULT=saved
 +</file>
 +
 +<code bash>
 +grep -i "menuentry '" /boot/grub/grub.cfg
 +grub-set-default 'Proxmox Virtual Environment GNU/Linux, with Linux 5.4.0-0.bpo.4-amd64'
 +update-grub
 +grub-reboot 'Proxmox Virtual Environment GNU/Linux, with Linux 5.3.18-3-pve'
 +</code>
 +
 +
 +
 +===== issues =====
 +
 +==== pveproxy: failed to load local private key  ====
 +
 +Proxmox was installed with incorrect /etc/hosts configuration. After fixing it still shows errors in journal:
 +<code>
 +pveproxy[26742]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1727.
 +pveproxy[26743]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1727.
 +</code>
 +
 +<code bash>
 +journalctl -u pve-cluster
 +
 +systemd[1]: Stopped The Proxmox VE cluster filesystem.
 +systemd[1]: Starting The Proxmox VE cluster filesystem...
 +pmxcfs[2398]: [main] crit: Unable to get local IP address
 +pmxcfs[2398]: [main] crit: Unable to get local IP address
 +systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
 +systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
 +systemd[1]: Failed to start The Proxmox VE cluster filesystem.
 +</code>
 +
 +Reason cluster FS on ''/etc/pve'' was not started, symlinks to nodes points to nowhere:
 +<code>
 +/etc/pve# tree
 +.
 +├── local -> nodes/host281
 +├── lxc -> nodes/host281/lxc
 +├── openvz -> nodes/host281/openvz
 +└── qemu-server -> nodes/host281/qemu-server
 +
 +</code>
 +
 +Reboot device
 +
 +==== local-zfs  ====
 +
 +Missing ''local-zfs''.