StarCluster - Mailing List Archive

Re: ldap user with starcluster

From: MacMullan IV, Hugh <no email>
Date: Tue, 31 May 2016 13:52:15 +0000

Good catch, Jacob!


Did you set up your AMI to use LDAP? You will have to do this before using StarCluster: the generic StarCluster AMIs will not connect to your LDAP service by default. Just to be clear.


From: [] On Behalf Of Jacob Barhak
Sent: Monday, May 30, 2016 8:49 AM
To: Shlomit Afgin <>
Cc: starcluster <>
Subject: Re: [StarCluster] ldap user with starcluster

So Shlomit,

As for error logs, you should find those under the .starcluster folder in your home directory.

Yet from what you sent, I suspect that you might have added a space in the plugin name.

Did you try "plugins = createusers" instead of "plugins = create users"

Hopefully this small correction will fix things.

On May 29, 2016 8:45 AM, "Shlomit Afgin" <<>> wrote:

I tried adding regular user (not LDAP).
I follow
I start the cluster after I add to the config file the lines:

plugins = create users

[plugin createusers]
setup_class = starcluster.plugins.users.CreateUsers
usernames = ralph, julia, richard

It create the users on the master and on node.
First I couldn’t login from master to node with no password and suddenly start working.
But major problem, it did not build the /opt/sge6 (which needed for submitting jobs) as it did before adding the above lines.

What can cause the problem? Where can I find error log for tracking the problem?


From: Jacob Barhak <<>>
Date: Wednesday, 25 May 2016 at 5:23 PM
To: Shlomit Afgin <<>>
Cc: starcluster <<>>
Subject: Re: [StarCluster] ldap user with starcluster

So Shlomit,

It seems like you are trying to do something special. And I cannot help you much.

However, I vaguely recall someone on this list trying to run starcluster with many users. If you have time, you may wish to look at the archives - yet this may be a wild goose chase since I do not recall LDAP being brought up.

If you do solve the problem, please send the solution to the list - so we will all have it.


On Wed, May 25, 2016 at 2:16 AM, Shlomit Afgin <<>> wrote:

User sgeadmin define as CLUSTER_USER. With sgeadmin I can login from master to node without password.
Did not use plugins or special AMI.


From: Jacob Barhak <<>>
Date: Tuesday, 24 May 2016 at 3:16 PM
To: Shlomit Afgin <<>>
Cc: starcluster <<>>
Subject: Re: [StarCluster] ldap user with starcluster

Hi Shlomit,

When you configured the cluster to start, did you define the user?

Can you just SSH the master without a specific user?

Some plugins define users for you, did you use one?

Also, did you use a special AMI configured a certain way?

Hopefully with some more information it will be possible to figure out what is going on.


On Sun, May 22, 2016 at 8:35 AM, Shlomit Afgin <<>> wrote:


1. I successfully login to cluster with the command:
         starcluster sshmaster -u username physicscluster
    if username is local user but not with ldap user.
    I get the error:

    Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    How can I login to the cluster with the above command as ldap user?

2. How to allow/configure ldap user to submit/run jobs on the cluster? any documentation?.


StarCluster mailing list<>

Received on Tue May 31 2016 - 09:52:20 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: