StarCluster - Mailing List Archive

Re: Starcluster error running create users

From: Eduardo Gurgel Valente <no email>
Date: Fri, 20 Mar 2015 16:52:14 -0400

I have created an issue based on this email
https://github.com/jtriley/StarCluster/issues/513 that takes the discussion
further.

Eduardo

On Wed, Mar 18, 2015 at 3:48 PM, Eduardo Gurgel Valente <
evalente_at_navteca.com> wrote:

> Has anyone encountered this error while starting a cluster?
> This is the plugin in question:
> [plugin create_all_users]
> setup_class = starcluster.plugins.users.CreateUsers
> usernames = aoloso, kskuo, gfekete
>
> In the attempt bellow the image already contained the user gfekete, but I
> didn't expect this to be an issue, and I don't believe it is the problem.
> Just saying from the start.
>
>
> >>> Running plugin create_all_users
> >>> Creating 3 cluster users
> >>> Usernames listing ['aoloso', 'kskuo', 'gfekete']
> >>> newuser_names listing gfekete:3KrOjgGm:1001:1001:Cluster user account
> gfekete:/home/gfekete:/bin/bash
>
> 30/30 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> 100%
> >>> Configuring passwordless ssh for 3 cluster users
> !!! ERROR - Error occured while running plugin 'create_all_users':
> !!! ERROR - Unhandled exception occured
> Traceback (most recent call last):
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cli.py",
> line 274, in main
> sc.execute(args)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/commands/start.py",
> line 244, in execute
> validate_running=validate_running)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1635, in start
> return self._start(create=create, create_only=create_only)
> File "<string>", line 2, in _start
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/utils.py",
> line 112, in wrap_f
> res = func(*arg, **kargs)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1658, in _start
> self.setup_cluster()
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1667, in setup_cluster
> self._setup_cluster()
> File "<string>", line 2, in _setup_cluster
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/utils.py",
> line 112, in wrap_f
> res = func(*arg, **kargs)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1679, in _setup_cluster
> self.run_plugins()
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1697, in run_plugins
> self.run_plugin(plug, method_name=method_name, node=node)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/cluster.py",
> line 1722, in run_plugin
> func(*args)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/plugins/users.py",
> line 84, in run
> auth_conn_key=True)
> File
> "/home/evalente/.virtualenvs/starcluster/StarCluster/starcluster/node.py",
> line 500, in generate_key_for_user
> home_folder = user.pw_dir
> AttributeError: 'NoneType' object has no attribute 'pw_dir'
>
> !!! ERROR - Oops! Looks like you've found a bug in StarCluster
> !!! ERROR - Crash report written to:
> /home/evalente/.starcluster/logs/crash-report-14980.txt
> !!! ERROR - Please remove any sensitive data from the crash report
> !!! ERROR - and submit it to starcluster_at_mit.edu
>
>
>
Received on Fri Mar 20 2015 - 16:52:16 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject