Derek W. Poon
2011-11-29 23:03:38 UTC
With pve-cluster 1.0-12 (Proxmox VE 2.0 beta3), /etc/init.d/pve-cluster fails to start if /etc/ssh/ssh_known_hosts is larger than 128 kiB. Could this limit be removed?
I have tracked this down to /usr/bin/pvecm,
which calls PVE::Cluster::ssh_merge_known_hosts(...),
which calls PVE::Tools::file_get_contents($sshglobalknownhosts, 128*1024),
which calls PVE::Tools::safe_read_from(...),
which dies because the maximum length is exceeded.
If you happen to install Proxmox VE on top of an existing Debian system, as I tried to do, and this error occurs, then pve-cluster and all of its dependent packages will fail to be configured.
Derek
I have tracked this down to /usr/bin/pvecm,
which calls PVE::Cluster::ssh_merge_known_hosts(...),
which calls PVE::Tools::file_get_contents($sshglobalknownhosts, 128*1024),
which calls PVE::Tools::safe_read_from(...),
which dies because the maximum length is exceeded.
If you happen to install Proxmox VE on top of an existing Debian system, as I tried to do, and this error occurs, then pve-cluster and all of its dependent packages will fail to be configured.
Derek