I've verified that the right thing isn't happening here. If I call task.setErrorStatus (and return) at the beginning of the startMachine method (in worker/provisioner/provisioner_task.go) then I get exactly the same situation. Status reports the correct "agent-state-info" but "agent-state" is not set. So I'm on the right trail.
I've verified that the right thing isn't happening here. If I call task.setErrorStatus (and return) at the beginning of the startMachine method (in worker/ provisioner/ provisioner_ task.go) then I get exactly the same situation. Status reports the correct "agent-state-info" but "agent-state" is not set. So I'm on the right trail.