Activity log for bug #1794970

Date Who What changed Old value New value Message
2018-09-28 12:29:29 Andres Rodriguez bug added bug
2018-09-28 12:29:59 Andres Rodriguez maas: status New Triaged
2018-09-28 12:30:01 Andres Rodriguez maas: importance Undecided High
2018-09-28 12:30:04 Andres Rodriguez maas: milestone 2.5.0beta2
2018-09-28 12:32:22 Andres Rodriguez description Seems that MAAS is attempting to configure the proxy right after installation without waiting for other internal processes to start. This causes that some installs result on not having a properly created proxy conf. 2018-09-28 01:39:42 maasserver.region_controller: [critical] Failed configuring proxy. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 500, in errback self._startRunCallbacks(fail) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks self._runCallbacks() File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1442, in gotResult _inlineCallbacks(r, g, deferred) --- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 401, in reloadService state = yield self.ensureService(name) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 634, in _ensureService state = yield self.getServiceState(service.name, now=True) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 295, in getServiceState active_state, process_state = yield self._loadServiceState(service) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 500, in _loadSystemDServiceState service.service_name, "status")) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 431, in handle_timeout "seconds running cmd: %s" % (timeout, ' '.join(cmd))) provisioningserver.utils.service_monitor.ServiceActionError: Service monitor timed out after '10' seconds running cmd: sudo --non-interactive systemctl status maas-proxy Seems that MAAS is attempting to configure the proxy right after installation without waiting for other internal processes to start. This causes that some installs result on not having a properly created proxy conf. 2018-09-28 01:39:42 maasserver.region_controller: [critical] Failed configuring proxy.  Traceback (most recent call last):    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 500, in errback      self._startRunCallbacks(fail)    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks      self._runCallbacks()    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks      current.result = callback(current.result, *args, **kw)    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1442, in gotResult      _inlineCallbacks(r, g, deferred)  --- <exception caught here> ---    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks      result = result.throwExceptionIntoGenerator(g)    File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator      return g.throw(self.type, self.value, self.tb)    File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 401, in reloadService      state = yield self.ensureService(name)    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks      result = result.throwExceptionIntoGenerator(g)    File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator      return g.throw(self.type, self.value, self.tb)    File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 634, in _ensureService      state = yield self.getServiceState(service.name, now=True)    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks      result = result.throwExceptionIntoGenerator(g)    File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator      return g.throw(self.type, self.value, self.tb)    File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 295, in getServiceState      active_state, process_state = yield self._loadServiceState(service)    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks      result = result.throwExceptionIntoGenerator(g)    File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator      return g.throw(self.type, self.value, self.tb)    File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 500, in _loadSystemDServiceState      service.service_name, "status"))    File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks      current.result = callback(current.result, *args, **kw)    File "/usr/lib/python3/dist-packages/provisioningserver/utils/service_monitor.py", line 431, in handle_timeout      "seconds running cmd: %s" % (timeout, ' '.join(cmd)))  provisioningserver.utils.service_monitor.ServiceActionError: Service monitor timed out after '10' seconds running cmd: sudo --non-interactive systemctl status maas-proxy Full log in: http://10.245.136.4:8080/job/maas-bionic-master-git/95/artifact/results/artifacts/maas-logs/var/log/maas/regiond.log
2018-09-28 12:33:01 Andres Rodriguez summary [2.5] Failed configuring proxy, right after install [2.5] Start-up - Failed configuring proxy, right after install
2018-09-28 14:24:24 Launchpad Janitor merge proposal linked https://code.launchpad.net/~blake-rouse/maas/+git/maas/+merge/355839
2018-09-28 14:24:33 Blake Rouse maas: status Triaged In Progress
2018-09-28 14:24:34 Blake Rouse maas: assignee Blake Rouse (blake-rouse)
2018-10-02 15:22:16 MAAS Lander maas: status In Progress Fix Committed
2018-10-03 15:02:05 Andres Rodriguez maas: status Fix Committed Fix Released