[StarCluster] development shell - unbound method run_plugin() must be called with Cluster instance

Stuart Young stuartpyoung at gmail.com
Thu Feb 10 00:48:35 EST 2011


Hi Marc,

Sorry, I posted my solution before I checked again and saw your post.
Thanks a lot for your suggestion. When I tried it I got this error:

cl = get_cluster('testcluster',cfg)

      NameError: name 'get_cluster' is not defined

.. but the use of 'cfg' would have gotten me on the right track! My
final solution requires 'cfg' as an argument to instantiate ClusterManager:

clus = cluster.ClusterManager(cfg)
cluster.ClusterManager.run_plugin(clus, 'automount', 'smallcluster')


Cheers,

Stuart

PS: Hi Justin - sorry about the multiple misposts - I've fixed my 'Reply to all' in Thunderbird now.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20110210/2aa9204b/attachment.htm


More information about the StarCluster mailing list