C
Chris Rivera
Guest
The last 3 nodes we put up have given us issues... takes a few installs to actually get it running not sure whats wrong with it.
When we run pvecm add ******* it goes thru the process then fails at
Starting pve cluster filesystem : pve-clustercan't create shared ssh key database '/etc/pve/priv/authorized_keys'
Then starts cman then cluster sevices... It then shows up in the web gui but if i click on the node or any of the storage i get a connection refused.
/etc/hosts points to the ip and hostname
***.**.**.*** proxmox14.fortatrust.com proxmox14 pvelocalhost
/etc/network/interfaces lo is configured
root@proxmox14:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
/etc/pve/priv/authorized_keys is an empty file....
Last three nodes we added presented this problem. Would like to solve it so when we add another node all we need to do is run pvecm add {cluster-nodeip}
Tried to restart apache:
root@proxmox14:~# /etc/init.d/apache2 restart
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!
I also removed it from the cluster and add it back
restarted pve-cluster & cman on all cluster nodes to remove proxmox14. Added node 14 back to the cluster using the -f to force flag to get it done
root@proxmox14:~# pvecm add 63.217.249.159 -f
copy corosync auth key
stopping pve-cluster service
Stopping pve cluster filesystem: pve-cluster.
backup old database
Starting pve cluster filesystem : pve-clustercan't create shared ssh key databas e '/etc/pve/priv/authorized_keys'
.
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... [ OK ]
Starting fenced... [ OK ]
Starting dlm_controld... [ OK ]
Tuning DLM kernel config... [ OK ]
Unfencing self... [ OK ]
waiting for quorum...OK
generating node certificates
unable to create directory '/etc/pve/priv' - File exists
Still same problem exists.
All nodes are online & in quorum.
When we run pvecm add ******* it goes thru the process then fails at
Starting pve cluster filesystem : pve-clustercan't create shared ssh key database '/etc/pve/priv/authorized_keys'
Then starts cman then cluster sevices... It then shows up in the web gui but if i click on the node or any of the storage i get a connection refused.
/etc/hosts points to the ip and hostname
***.**.**.*** proxmox14.fortatrust.com proxmox14 pvelocalhost
/etc/network/interfaces lo is configured
root@proxmox14:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
/etc/pve/priv/authorized_keys is an empty file....
- Can i just copy this from another node and put it on this node or do i need to run a command for this node to generate the ssh keys?
- How can i find what node is causing this issue and solve it?
Last three nodes we added presented this problem. Would like to solve it so when we add another node all we need to do is run pvecm add {cluster-nodeip}
Tried to restart apache:
root@proxmox14:~# /etc/init.d/apache2 restart
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!
I also removed it from the cluster and add it back
restarted pve-cluster & cman on all cluster nodes to remove proxmox14. Added node 14 back to the cluster using the -f to force flag to get it done
root@proxmox14:~# pvecm add 63.217.249.159 -f
copy corosync auth key
stopping pve-cluster service
Stopping pve cluster filesystem: pve-cluster.
backup old database
Starting pve cluster filesystem : pve-clustercan't create shared ssh key databas e '/etc/pve/priv/authorized_keys'
.
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... [ OK ]
Starting fenced... [ OK ]
Starting dlm_controld... [ OK ]
Tuning DLM kernel config... [ OK ]
Unfencing self... [ OK ]
waiting for quorum...OK
generating node certificates
unable to create directory '/etc/pve/priv' - File exists
Still same problem exists.
All nodes are online & in quorum.