new node / mounts working / gui & api dont detect contents

C

Chris Rivera

Guest
I use a nfs mount for 2 directories.

/var/lib/vz/backup ( backups )
/var/lib/vz/xtemplates ( templates folder )

this works great for all nodes... i just installed new iso 2.3, ran upgrade distro got it up to date. I added the mounts and it looks right.

*.*.*.*:/backup on /var/lib/vz/backup type nfs (rw,vers=3,addr=)
*.*.*.*:/xtemplates on /var/lib/vz/xtemplates type nfs (rw,vers=3,addr=)

i can use the command line to goto these mounts and verify the files from the nfs directory is mounted and its not showing local data. But when i goto proxmox gui and choose storage > node 12 > {backups|xtemplates} i get loading that never shows anything. When i try to see the content using the api i get back a blank response.

Why does the gui and api not see the data?

I have rebooted the server, Restarted pvedaemon, pve-cluster.



######

root@proxmox11:~# pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-18-pve
proxmox-ve-2.6.32: 2.3-88
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-18-pve: 2.6.32-88
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-17
pve-firmware: 1.0-21
libpve-common-perl: 1.0-48
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-6
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-6
ksm-control-daemon: 1.1-1

#####
 
Reinstall from new iso 2.3 and again the same issue.

I was able to test that logging into the web gui before adding it to the cluster worked. After running pvecm add {ip} everything goes thru, there is 1 error displayed but everything completes.

root@proxmox12:~# pvecm add ******** -f
The authenticity of host '' can't be established.
RSA key fingerprint is ##:##:##:52:f8:1e:79:b5:##:##:##:4e:54:##:7d:79.
Are you sure you want to continue connecting (yes/no)? yes
root@****'s password:
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 database '/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 ]
generating node certificates
unable to create directory '/etc/pve/priv' - File exists
 
Yes dietmar the right content is in the right directory.

I do believe it has to do with the cloud stability going down while adding it to the cluster. The issue here is not the content missing, cause the content is on the server & available when browsed to from the cli. The issue is when adding it to the cluster and the copy of the authorized keys fails this caused the complete GUI to not function. No mater what is done now the gui is not usable untill we can get this cluster back online and remove and rejoin this node.

Shortly after this was not working all nodes turned red and will not turn green, which is an issue i seem to have weekly.

This goes back to the posted here => http://forum.proxmox.com/threads/13...-works-clustat-shows-all-online-all-nodes-red
 

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!