alces-software / adminware

A sandbox CLI for running commands remotely across nodes
1 stars 0 forks source link

Sub-sub tools are not being ran #157

Closed WilliamMcCumstie closed 5 years ago

WilliamMcCumstie commented 5 years ago

When my directory structure looks like this everything thing works fine:

[root@master(unconfigured) adminware]# tree tools/
tools/
├── batch
├── namespace
│   ├── namespace2
│   ├── stutool1
│   │   ├── config.yaml
│   │   └── some-random.txt
│   └── stutool2
│       └── config.yaml
(venv) [root@master(unconfigured) adminware]# bin/run-cli run namespace -n slave1
Executing: stutool1
Starting Job: slave1
Waiting for jobs to finish...
ID: 114083, Node: slave1, Pass
Cleaning up...
Saving...
Done
Executing: stutool2
Starting Job: slave1
Waiting for jobs to finish...
ID: 114084, Node: slave1, Pass
Cleaning up...
Saving...
Done

But tools in further groups are being skipped:

[root@master(unconfigured) adminware]# tree tools/
tools/
├── batch
├── namespace
│   ├── namespace2
│   │   └── stutool2
│   │       └── config.yaml
│   └── stutool1
│       ├── config.yaml
│       └── some-random.txt
(venv) [root@master(unconfigured) adminware]# bin/run-cli run namespace -n slave1
Executing: stutool1
Starting Job: slave1
Waiting for jobs to finish...
ID: 114085, Node: slave1, Pass
Cleaning up...
Saving...
Done