Comment 3 for bug 1199915

Revision history for this message
John A Meinel (jameinel) wrote :

I just realized things are probably worse than we expected.

Specifically, on machine-0 being unable to connect the API is bad, but it doesn't stop any of the actual workers.

However, the code in MachineAgent is:

if a.MachineId == "0" {
  ...
  ensureStateWorker()
}
a.runner.StartWorker("api", func() (worker.Worker, error) {
  return a.APIWorker(ensureStateWorker)
}

And the APIWorker call actually starts the state worker *when it sees we need a state connection after reading the API*.

Which means that upgrading juju 1.10 => 1.11 will spam the log file for machine-0, but fail to start any actual worker tasks for all the other machine agents.