[SOLVED] New created user(web gui) is not able to log him in on all the servers in the cluster

jompsi

Active Member
Apr 15, 2013
33
0
26
Hi all

I have a Proxmox cluster with two servers. At the moment I am running version 2.3.

Current Configuration:

server1:
Code:
root@server1:/# pveversion
pve-manager/2.3/7946f1f1

root@server1:/# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: clustername
Cluster Id: 42164
Cluster Member: Yes
Cluster Generation: 260
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: server1
Node ID: 1
Multicast addresses: x.x.x.x
Node addresses: 192.168.1.40

server2:
Code:
root@server2:/# pveversion
pve-manager/2.3/ad9c5c05

root@server2:/# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: clustername
Cluster Id: 42164
Cluster Member: Yes
Cluster Generation: 260
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: server2
Node ID: 2
Multicast addresses: x.x.x.x
Node addresses: 192.168.1.50

I created a pool "Development", a group "Dev" and a user "js". When I log in on the web interface with this user on server2 it works. I see the VMs from the pool. Looks like expected. Then I tried to log in with this user on server1 I get the error message "Login failed. Please try again".

The user.cfg is correct and the quorum is accessable from both servers.

user.cfg:
Code:
user:js@pam:1:0:::::
user:root@pam:1:0:::::

group:Dev:js@pam:User mit Rechten auf den Pool "Development":

pool:Development::104,103,101,110::

acl:1:/pool/Development:@Dev:PVEAuditor:


Is there a reason, why I can log me in with the user "js" on server2 but not on server1?

Thanks for your help.

Regards
jompsi
 
Last edited:
Re: New created user(web gui) is not able to log him in on all the servers in the clu

Is there a reason, why I can log me in with the user "js" on server2 but not on server1?

Does the system user 'js' exists on server1?
 
Re: New created user(web gui) is not able to log him in on all the servers in the clu

Hi Dietmar

Thanks a lot.

The user existet on both servers, but after i created him in Proxmox on server2, I set a new password. Now after your hint, I logged in on server1 and did set the password to the same, which is on server2.

Have a nice day.