StarCluster - Mailing List Archive

[Starcluster] Starcluster git version: problem to start a cluster

From: Thomas Deselaers <no email>
Date: Thu, 15 Apr 2010 16:07:07 +0200

Hi,

I just re-pulled the changes from git (now I have
45eebe42756c7b8aa2fd7697ff8f65194aef7ab1)
and now it works.

Very nice and thanks a lot.

Cheers,
thomas


On Thu, Apr 15, 2010 at 14:54, Thomas Deselaers
<deselaers_at_vision.ee.ethz.ch> wrote:
> On Thu, Apr 15, 2010 at 14:35, Justin Riley <jtriley_at_mit.edu> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Thomas,
>>
>> This was a stupid string formatting bug. I just fixed this in github.
>> Could you pull the latest code and try starting the smallcluster again?
>
> I did this, and retried.
>
> To me it looks like it is getting a bit further and then comes with
> this problem:
>
> [desthoma_at_galaxoid:~/work/text/aws$] starcluster start smallcluster  st2
> StarCluster - (http://web.mit.edu/starcluster)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster_at_mit.edu
>
>>>> Validating cluster settings...
>>>> Cluster settings are valid
>>>> Starting cluster...
>>>> Launching a 2-node cluster...
>>>> Launching master node...
>>>> Master AMI: ami-a19e71c8
>>>> Creating security group _at_sc-st2...
> Reservation:r-f679709e
>>>> Launching worker nodes...
>>>> Node AMI: ami-a19e71c8
> Reservation:r-c87970a0
>>>> Waiting for cluster to start...|>>> The master node is ec2-184-73-97-233.compute-
>
>>>> Attaching volume vol-01b91368 to master node...
> cluster.py:346 - ERROR - Volume vol-01b91368 not available...please
> check and try aga
>>>> Attaching volume vol-0b399362 to master node...
> cluster.py:346 - ERROR - Volume vol-0b399362 not available...please
> check and try aga
>>>> Setting up the cluster...
>>>> Mounting EBS volume vol-01b91368 on /home...
>>>> Using private key /home/desthoma/work/text/aws/id_ECKeypair-us-east.rsa (rsa)
>>>> Mounting EBS volume vol-0b399362 on /myopt...
>>>> Creating cluster user: sgeadmin
>>>> Using private key /home/desthoma/work/text/aws/id_ECKeypair-us-east.rsa (rsa)
>>>> Configuring scratch space for user: sgeadmin
>>>> Configuring /etc/hosts on each node
>>>> Configuring NFS...
>>>> Configuring passwordless ssh for root
> ---------------------------------------------------------------------------
> AttributeError                            Traceback (most recent call last)
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/EGG-INFO/scripts/starclus
>      3 __requires__ = 'StarCluster==0.9999'
>      4 import pkg_resources
> ----> 5 pkg_resources.run_script('StarCluster==0.9999', 'starcluster')
>      6
>      7
>
> /home/desthoma/work/lib/python/setuptools-0.6c11-py2.5.egg/pkg_resources.py
> in run_sc
>    487         ns.clear()
>    488         ns['__name__'] = name
> --> 489         self.require(requires)[0].run_script(script_name, ns)
>    490
>    491
>
> /home/desthoma/work/lib/python/setuptools-0.6c11-py2.5.egg/pkg_resources.py
> in run_sc
>   1212             )
>   1213             script_code = compile(script_text,script_filename,'exec')
> -> 1214             exec script_code in namespace, namespace
>   1215
>   1216     def _has(self, path):
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/EGG-INFO/scripts/starclus
>      4 import pkg_resources
>      5 pkg_resources.run_script('StarCluster==0.9999', 'starcluster')
> ----> 6
>      7
>      8
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/cli.pyc
> in ma
>    750         sys.exit(0)
>    751     try:
> --> 752         sc.execute(args)
>    753     except exception.BaseException,e:
>    754         log.error(e.msg)
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/cli.pyc
> in ex
>    161             log.info('Cluster settings are valid')
>    162             if not self.opts.validate_only:
> --> 163                 scluster.start(create=not self.opts.no_create)
>    164                 if self.opts.login_master:
>    165                        cluster.ssh_to_master(tag, self.cfg)
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/utils.pyc
> in
>     22         """Raw timing function """
>     23         time1 = time.time()
> ---> 24         res = func(*arg, **kargs)
>     25         time2 = time.time()
>     26         log.info('%s took %0.3f mins' % (func.func_name,
> (time2-time1)/60.0))
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/cluster.pyc
> i
>    395             self.nodes, self.master_node,
>    396             self.cluster_user, self.cluster_shell,
> --> 397             self.volumes
>    398         )
>    399         for plugin in self._plugins:
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/clustersetup.
> shell, volumes)
>    277         self._setup_etc_hosts()
>    278         self._setup_nfs()
> --> 279         self._setup_passwordless_ssh()
>    280         self._setup_sge()
>    281
>
> /home/desthoma/work/lib/python/StarCluster-0.9999-py2.5.egg/starcluster/clustersetup.
>    100         # ~/.ssh directory below
>    101         for node in self._nodes:
> --> 102             for name in node.network_names.values():
>    103                 mconn.execute('ssh -o
> "StrictHostKeyChecking=no" %s hostname'
>    104
>
> AttributeError: 'Node' object has no attribute 'network_names'
>
>
>
>
>
>> BTW, if you're on irc.freenode.net I'll be on #starcluster most of the
>> day. Feel free to drop by and chat.
>
> ;-) I did that a bit in the distant path and haven't used it in the
> last 10 years anymore.
>
>
>
> Thanks,
> thomas
>
> --
> http://thomas.deselaers.de
>



--
http://thomas.deselaers.de
-- 
http://thomas.deselaers.de
Received on Thu Apr 15 2010 - 10:07:31 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject