Cluster join with 2FA (oath)

roosei

Active Member
Nov 3, 2016
12
0
41
42
Prague, Czech Republic
www.nux.cz
Hello,

is any way how to add node to cluster, if root account is secured with 2FA?

Code:
pvecm add 172.16.0.1 -ring0_addr node2-corosync
...
401 401 authentication failure

In log:

Code:
node1 pvedaemon[26149]: authentication failure; rhost=172.16.0.254 user=root@pam msg=missing one time password for two-factor authentication 'oath'
 
Last edited:
try the '-use_ssh' parameter
 
Great, it works. Now it hangs during adding on "waiting for quorum..." message, with

Code:
May 29 16:38:01 node5 pvesr[8476]: error with cfs lock 'file-replication_cfg': no quorum!

but it's probably different issue.

Thank you!
 

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!