SetObservedNetworkConfig fails on manually provisioned machines

Bug #1685180 reported by Witold Krecicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Witold Krecicki

Bug Description

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)

Tags: eda
Revision history for this message
Witold Krecicki (wpk) wrote :
Changed in juju:
status: New → In Progress
importance: Undecided → High
milestone: none → 2.2-beta3
John A Meinel (jameinel)
tags: added: eda
Witold Krecicki (wpk)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.