Login PVE issue

furled

New Member
Jun 30, 2022
5
0
1
Hello,

Im not able to login to proxmox via web interface using an realm (PVE)...
Our bill make auto for our nodes integrated in cluster like: client_12965_1_716 the permissions for that user is PVEUser.
On the start of the cluster every thing works fine but after how the cluster was updated we can't login with PVE Realm and our bill didn't extract the VNC Console from Proxmox.
root@tmp-node4:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.35-1-pve)
pve-manager: 7.2-3 (running version: 7.2-3/c743d6c1)
pve-kernel-5.15: 7.2-3
pve-kernel-helper: 7.2-3
pve-kernel-5.13: 7.1-9
pve-kernel-5.15.35-1-pve: 5.15.35-2
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph: 16.2.9-pve1
ceph-fuse: 16.2.9-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-6
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.2-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.1.8-1
proxmox-backup-file-restore: 2.1.8-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-10
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-2
pve-ha-manager: 3.3-4
pve-i18n: 2.7-1
pve-qemu-kvm: 6.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1

Also when I try to login in logs I find the below information
Jun 30 16:03:16 tmp-node4 pvedaemon[2190511]: authentication failure; rhost=::ffff:1**.***.*.** user=client_12965_1_716@pam msg=no such user ('client_12965_1_716@pam')
Jun 30 16:03:43 tmp-node4 pvedaemon[3582491]: <root@pam> successful auth for user 'client_12965_1_716@pve'

But in webinterface of the proxmox I get an error "Login failed. Please try again"

Maybe someone can help we with that issue on that forum, thanks.

Regards,
Furled.
 
Code:
Jun 30 16:03:16 tmp-node4 pvedaemon[2190511]: authentication failure; rhost=::ffff:1**.***.*.** user=client_12965_1_716@pam msg=no such user ('client_12965_1_716@pam')
Jun 30 16:03:43 tmp-node4 pvedaemon[3582491]: <root@pam> successful auth for user 'client_12965_1_716@pve'

It seems you're trying to login using the PAM realm the first time. Make sure the right realm is selected in the WebGUI.
 
Thanks for your reply mira, I use an PVE realm.
In attached screenshot you can see that one.Screenshot from 2022-06-30 16-31-38.png
I didn't know why in journalctl -fu pvedaemon.service I get an login with pam for first and the is PVE.
Also I will attach the screenshot of the permissions from machine settings.
 

Attachments

  • Screenshot from 2022-06-30 16-33-50.png
    Screenshot from 2022-06-30 16-33-50.png
    7.1 KB · Views: 4
Last edited:
According to the logs you provided, the working login was 30 seconds after the first one.
What changes did you make during that time?

Please provide the full log since 16:03: journalctl --since "2022-06-30 16:03:00" > journal.txt
 
I have attached the journal.txt file with logs.
 

Attachments

  • journal.txt
    36.2 KB · Views: 1
All I can see in that log after 16:03:16 are successful logins.
Are you sure you're connecting through the GUI on that node?

A failed login should be logged.
 
Can someone help me with that, I can pay for solution if you have such option.
 
This seems to be an issue with the GUI then. `pvedaemon` says that the login worked.

Did you modify anything in the GUI?

Try running apt install --reinstall pve-manager proxmox-widget-toolkit
 
Also try to restart pveproxy by running systemctl restart pveproxy.service.
Maybe the issue is that pveproxy runs into a timeout for some reason.

Do you run any API calls during that whole time that would explain why pveproxy doesn't handle the login well?
 
Hello,
i had the same Issue, I've done the reinstallation and it worked great.
but today, the problem came back... I'm in PVE 7.2.7 stand alone;

I've tried : systemctl restart pveproxy.service = NOK
tried : apt install --reinstall pve-manager proxmox-widget-toolkit = NOK
tried apt install --reinstall pve-manager proxmox-widget-toolkit AND systemctl restart pveproxy.service = NOK
tried reboot after all = OK

When rebooting, they are two options :

1/ Proxmox VE (5.15.35-3-pve)
2/ Proxmox VE (5.15.39-1-pve)

by default, server boot on 5.15.39.1 but don't boot with : zfs modules absent ... ?

i reboot on 5.15.35.3 and everything is fine.

I don't know the relationship between those two problems ?
 
Hello,
again this morning 'Login Failed, try later'....
nobody else know this problem? strange.
I haven't customized nothing, I just try to login normally, as usual.
 

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!