[2.3] [critical] Failed to update and/or record network interface configuration

Bug #1731976 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Undecided
Unassigned

Bug Description

On a fresh install, I see the following:

==> /var/log/maas/rackd.log <== [61/2030]
2017-11-13 16:32:24 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:24 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:24 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:24 provisioningserver.utils.services: [critical] Failed to update and/or record network interface configuration: ; interfaces: {'eno1': {'type': 'physical', 'parents': [], 'monitored': True, 'enabled': True, 'sourc
e': 'ipaddr', 'mac_address': 'ec:a8:6b:fd:ac:70', 'links': [{'mode': 'static', 'address': '192.168.1.13/24', 'gateway': '192.168.1.1'}, {'mode': 'static', 'address': '2602:304:b331:ecc0:eea8:6bff:fefd:ac70/64'}], 'index': 2}, 'wlp2
s0': {'type': 'physical', 'parents': [], 'monitored': False, 'enabled': False, 'source': 'ipaddr', 'mac_address': 'c4:d9:87:5b:42:62', 'links': [], 'index': 3}, 'usb0': {'type': 'physical', 'parents': [], 'monitored': True, 'enable
d': True, 'source': 'ipaddr', 'mac_address': '00:0e:c6:88:b7:9f', 'links': [{'mode': 'static', 'address': '10.90.90.1/24'}, {'mode': 'static', 'address': '192.168.100.5/24'}], 'index': 4}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1184, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/usr/lib/python3/dist-packages/provisioningserver/utils/services.py", line 1000, in updateInterfaces
    yield self._updateInterfaces(interfaces)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python3/dist-packages/provisioningserver/utils/services.py", line 1126, in _updateInterfaces
    yield maybeDeferred(self._configureNetworkDiscovery, interfaces)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python3/dist-packages/provisioningserver/utils/services.py", line 1275, in _configureNetworkDiscovery
    monitoring_state = yield maybeDeferred(self.getDiscoveryState)
provisioningserver.rpc.exceptions.NoConnectionsAvailable:
2017-11-13 16:32:25 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:26 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:27 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:28 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:29 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:30 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:31 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:32 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:33 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:34 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:35 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:36 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:37 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:38 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:39 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/').
2017-11-13 16:32:40 provisioningserver.rpc.clusterservice: [info] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at b'http://[::ffff:127.0.0.1]:5240/MAAS/rpc/'

Changed in maas:
milestone: none → 2.3.0rc2
milestone: 2.3.0rc2 → 2.3.0
Revision history for this message
Mike Pontillo (mpontillo) wrote :

Looks like the region couldn't be contacted while trying to update interfaces. Was the region offline? Did the rack recover when the region was available again? Or is there something I'm missing here?

Changed in maas:
status: New → Incomplete
Changed in maas:
milestone: 2.3.0 → 2.4.x
milestone: 2.4.x → 2.3.x
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is may no longer be an issue in the latest MAAS release. Due to the original date of the bug report, we are currently marking it as Invalid. If you believe this bug report still valid against the latest release of MAAS, or if you are still interested in this, please re-open this bug report.

Thanks

Changed in maas:
status: Incomplete → Invalid
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.