OSError: [Errno 97] Address family not supported by protocol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Opinion
|
Undecided
|
Unassigned |
Bug Description
After disabling IPV6 support in my Ubuntu 16.4 kernel, MAAS 2.1.3 does not work.
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: maas-regiond-
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: maas-regiond-
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Stopped MAAS Region Controller (Worker 1).
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Started MAAS Region Controller (Worker 1).
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Stopped MAAS Region Controller (Worker 3).
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Started MAAS Region Controller (Worker 3).
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: maas-rackd.service: Service hold-off time over, scheduling restart.
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Stopped MAAS Rack Controller.
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Starting MAAS Rack Controller...
Feb 9 18:17:30 trm-l-srv-149 systemd[1]: Started MAAS Rack Controller.
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: Traceback (most recent call last):
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/bin/twistd3", line 18, in <module>
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: run()
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: app.run(runApp, ServerOptions)
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: runApp(config)
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: _SomeApplicatio
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: self.application = self.createOrGe
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: ser = plg.makeService
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: for service in self._makeServi
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: yield self._makeImage
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: s = socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: _socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5169]: OSError: [Errno 97] Address family not supported by protocol
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: Traceback (most recent call last):
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: service = self.services.
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: return self.namedServi
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: KeyError: 'web'
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: During handling of the above exception, another exception occurred:
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: Traceback (most recent call last):
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/bin/twistd3", line 18, in <module>
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: run()
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: app.run(runApp, ServerOptions)
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: runApp(config)
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: _SomeApplicatio
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: self.application = self.createOrGe
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: ser = plg.makeService
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: eventloop.
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: return func(*args, **kwargs)
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: self.populateSe
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: return func(*args, **kwargs)
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: service = factoryInfo[
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: s = socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: _socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5149]: OSError: [Errno 97] Address family not supported by protocol
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: Traceback (most recent call last):
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: service = self.services.
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: return self.namedServi
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: KeyError: 'web'
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: During handling of the above exception, another exception occurred:
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: Traceback (most recent call last):
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/bin/twistd3", line 18, in <module>
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: run()
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: app.run(runApp, ServerOptions)
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: runApp(config)
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: _SomeApplicatio
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: self.application = self.createOrGe
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: ser = plg.makeService
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: eventloop.
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: return func(*args, **kwargs)
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: self.populateSe
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: return func(*args, **kwargs)
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: service = factoryInfo[
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: s = socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: File "/usr/lib/
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: _socket.
Feb 9 18:17:31 trm-l-srv-149 sh[5148]: OSError: [Errno 97] Address family not supported by protocol
tags: | added: cpe-onsite |
Hi Bruno,
Could you please provide what you have in :
/etc/maas/ regiond. conf rackd.conf
/etc/maas/
/var/log/maas/*.log
/etc/hosts
That said, can you provide exact steps to reproduce? (I.e. How did you disable IPv6 and whether you restarted Maas or not)
Other than that, have you tried restarting Maas services?