jtriley/StarCluster — Issue #55: Specified configuration files are not used for: starcluster start
Author: mza
Created: 2011-10-25 13:47:58+00:00
State: open

Hello,

I've spotted a problem when starting a new cluster from the command line while specifying a configuration file. Starcluster doesn't use the specified configuration file. For example:

$ starcluster -c /user/other-location/config start clustername

or

$ starcluster --config=/user/other-location/config start clustername

Results in:

starcluster.exception.ConfigNotFound: config file /user/.starcluster/config does not exist

The same approach works with other commands, such as listclusters.

I spotted in the source that the start command adds another -c mapping to the action options (-c or --cluster-template) for specifying a cluster template. Could this be overwriting the global options somehow?

Many thanks!

~ Matt @ AWS