alces-software / adminware

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

Only one batch id per sandbox invocation #58

Closed mjtko closed 6 years ago

mjtko commented 6 years ago

After hitting batch 10, every batch after that is also batch 10:

adminware> batch run -g all example
Batch: 10
localhost: Pass
adminware> batch run -g all example
Batch: 10
localhost: Pass
adminware> batch run -g all example
Batch: 10
localhost: Pass
mjtko commented 6 years ago

Ok, on further inspection this only happens within the sandbox. You get one and only one batch per invocation of the sandbox. :-)

WilliamMcCumstie commented 6 years ago

The issue looks to be how the sandbox mode reruns the commands. The command is generated with a Batch object, and thus is being reran with the same object