Describe the bug
This is the new feature implemented in 0.28.x and we wanted to start using it to move the sessions storage to the NMVe drive on the EC2 instance. What we do is, drop a preconfigured worker.toml with all the defaults and then we issue the install-deadline-worker to configure the queue/fleet and the windows users to use. The problem is that if we do not specify --session-root-dir you inadvertently overwrite that config in the worker.toml with the default. If I specify --session-root-dir then it gets configured as specified.
So the bug is that the default is not really implicit but explicit right now and we are forced to always specify it in --session-root-dir parameter and not in the worker.toml file.
Expected Behaviour
Not specifying --session-root-dir will keep the value set in worker.toml and not overwrite it with the "default".
Current Behaviour
If we do not specify --session-root-dir, the value in worker.toml is always reset to the default.
Reproduction Steps
install-deadline-worker `
--region $env:DEADLINE_REGION `
--farm-id $env:DEADLINE_WORKER_FARM_ID `
--fleet-id $env:DEADLINE_WORKER_FLEET_ID `
--user $deadlineUser `
--windows-job-user $deadlineUserJobs `
--session-root-dir V:\deadline\sessions `
--yes;
Environment
Windows Server 2022
deadline cloud worker agent version 0.28.1
Describe the bug
This is the new feature implemented in 0.28.x and we wanted to start using it to move the sessions storage to the NMVe drive on the EC2 instance. What we do is, drop a preconfigured
worker.tomlwith all the defaults and then we issue theinstall-deadline-workerto configure the queue/fleet and the windows users to use. The problem is that if we do not specify--session-root-diryou inadvertently overwrite that config in the worker.toml with the default. If I specify--session-root-dirthen it gets configured as specified.So the bug is that the default is not really implicit but explicit right now and we are forced to always specify it in
--session-root-dirparameter and not in the worker.toml file.Expected Behaviour
Not specifying
--session-root-dirwill keep the value set inworker.tomland not overwrite it with the "default".Current Behaviour
If we do not specify
--session-root-dir, the value in worker.toml is always reset to the default.Reproduction Steps
Environment
Windows Server 2022
deadline cloud worker agent version 0.28.1