When adding a manually provisioned machine to a MAAS-based model jujud tries to SetObservedNetworkConfig and fails as the machine is not MAAS-based:
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-0 2017-04-21 09:38:41 DEBUG juju.apiserver request_notifier.go:114 <- [15] machine-1 {"request-id":819,"type":"Machiner","version":1,"request":"SetObservedNetworkConfig","params":"'params redacted'"}
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-0 2017-04-21 09:38:41 DEBUG juju.provider.maas environprovider.go:56 opening model "controller".
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-0 2017-04-21 09:38:41 DEBUG juju.apiserver request_notifier.go:139 -> [15] machine-1 93.963306ms {"request-id":819,"error":"cannot get network interfaces of \"manual:10.2.0.3\": instance \"manual:10.2.0.3\" not found","error-code":"not found","response":"'body redacted'"} Machiner[""].SetObservedNetworkConfig
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-0 2017-04-21 09:38:41 DEBUG juju.apiserver request_notifier.go:114 <- [15] machine-1 {"request-id":820,"type":"NotifyWatcher","version":1,"id":"91","request":"Stop","params":"'params redacted'"}
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-1 2017-04-21 09:38:41 DEBUG juju.worker.dependency engine.go:499 "machiner" manifold worker stopped: cannot update observed network config: cannot get network interfaces of "manual:10.2.0.3": instance "manual:10.2.0.3" not found (not found)
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-0 2017-04-21 09:38:41 DEBUG juju.apiserver request_notifier.go:139 -> [15] machine-1 367.437µs {"request-id":820,"response":"'body redacted'"} NotifyWatcher["91"].Stop
a3ca4565-a9b0-44a3-8fa4-f0176450cde5: machine-1 2017-04-21 09:38:41 ERROR juju.worker.dependency engine.go:546 "machiner" manifold worker returned unexpected error: cannot update observed network config: cannot get network interfaces of "manual:10.2.0.3": instance "manual:10.2.0.3" not found (not found)
https:/ /github. com/juju/ juju/pull/ 7263