[ClusterLabs] pcs cluster auth returns authentication error

Jason A Ramsey jason at eramsey.org
Thu Aug 25 21:36:41 UTC 2016


Thanks for the response, Ken. I thought that might be the case, so I tried it with selinux disabled (setenforce=0). Same exact error. :-/

--
 
[ jR ]
  M: +1 (703) 628-2621
  @: jason at eramsey.org
 
  there is no path to greatness; greatness is the path


On 8/25/16, 5:29 PM, "Ken Gaillot" <kgaillot at redhat.com> wrote:

    On 08/25/2016 03:04 PM, Jason A Ramsey wrote:
    > Please help. Just getting this thing stood up on a new set of servers
    > and getting stymied right out the gate:
    > 
    >  
    > 
    > # pcs cluster auth node1 node2
    > 
    > Username: hacluster
    > 
    > Password:
    > 
    >  
    > 
    > I am **certain** that the password I’m providing is correct. Even still
    > I get:
    > 
    >  
    > 
    > Error: node1: Username and/or password is incorrect
    > 
    > Error: node2: Username and/or password is incorrect
    > 
    >  
    > 
    > I also see this is /var/log/audit/audit.log:
    > 
    >  
    > 
    > type=USER_AUTH msg=audit(1472154922.415:69): user pid=1138 uid=0
    > auid=4294967295 ses=4294967295 subj=system_u:system_r:initrc_t:s0
    > msg='op=PAM:authentication acct="hacluster" exe="/usr/bin/ruby"
    > hostname=? addr=? terminal=? res=failed'
    
    That's an SELinux error. To confirm, try again with SELinux disabled.
    
    I think distributions that package pcs also provide any SELinux policies
    it needs. I'm not sure what those are, or the best way to specify them
    if you're building pcs yourself, but it shouldn't be difficult to figure
    out.
    
    > I’ve gone so far as to change the password to ensure that it didn’t have
    > any “weird” characters in it, but the error persists. Appreciate the help!
    > 
    >  
    > 
    > --
    > 
    >  
    > 
    > *[ jR ]*
    > 
    >   @: jason at eramsey.org <mailto:jason at eramsey.org>
    > 
    >  
    > 
    >   /there is no path to greatness; greatness is the path/
    
    _______________________________________________
    Users mailing list: Users at clusterlabs.org
    http://clusterlabs.org/mailman/listinfo/users
    
    Project Home: http://www.clusterlabs.org
    Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
    Bugs: http://bugs.clusterlabs.org
    




More information about the Users mailing list