Closed TylerBrock closed 10 years ago
mongo-orchestration
is the name of the repository.
mongo_orchestration
is the name of the top-level Python package.
I think the problem is that we're looking for presets in the "configurations" directory relative to the package, which didn't exist until recently. We can make this relative to the current working directory instead.
Workaround: set MONGO_ORCHESTRATION_HOME
to the location of the "configurations" directory.
Ok great, thanks Luke.
Thanks for patching that up Luke. However, I don't believe that alone will fix this particular problem because it appears we don't install the configurations when the package gets installed.
/usr/local/lib/python2.7/distpackages/mongo_orchestration has no configurations directory and sudo find . -name "arbiter\.json"
returns nothing.
I created an issue to track that #121
resolved in 70859460bffc929fcc11895de2cb9bb96ea4bd95
I run the following and it seems like an extra
mongo_orchestration
is being added to the path.It's looking here:
/home/tbrock/Code/mongo-orchestration/mongo_orchestration/configurations/replica_sets/arbiter.json
However it would find it here:
/home/tbrock/Code/mongo-orchestration/configurations/replica_sets/arbiter.json