Univention Bugzilla – Bug 51838
appcenter/docker/progress: TypeError: 'NoneType' object has no attribute '__getitem__'
Last modified: 2022-01-31 09:30:01 CET
Version: 4.4-1 errata244 (Blumenthal) Remark: Just FYI - I was stubborn and installed UCS on a btrfs root partition, changing the docker storage driver to 'btrfs' post-install. So this error might be related to this. If UCS ever gets to the point where btrfs is supported, this might help. Traceback(cf56b6607dc6949e0f31f3b9d5161149): Internal server error during "appcenter/docker/progress". Request: appcenter/docker/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 260, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 156, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 312, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 452, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py", line 84, in main return self.do_it(args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install_base.py", line 119, in do_it self._do_it(app, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 63, in _do_it ret = super(Install, self)._do_it(app, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py", line 111, in _do_it if self._install_app(app, args): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 57, in _install_app self._start_docker_image(app, hostdn, password, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_base.py", line 248, in _start_docker_image f_name = docker.path('/etc/machine.secret') File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 305, in path return os.path.join(self.root_dir, filename) File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 220, in root_dir self._root_dir = self.inspect_container()['GraphDriver']['Data']['MergedDir'] TypeError: 'NoneType' object has no attribute '__getitem__' Role: domaincontroller_master
reported again: Version: 4.4-4 errata589 (Blumenthal) Traceback(d41d8cd98f00b204e9800998ecf8427e): Interner Server-Fehler in "appcenter/docker/remote/progress". Request: appcenter/docker/remote/progress Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling six.reraise(etype, exc, etraceback) File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 423, in remote_progress return client.umc_command('appcenter/docker/progress', {'progress_id': remote_progress_id}).result File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 435, in umc_command return self.request('POST', 'command/%s' % (path,), data, headers) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 515, in request return self.send(request) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 544, in send raise HTTPError(request, response, self.hostname) HTTPError: 591 on ********* (command/appcenter/docker/progress): {"status": 591, "message": "Interner Server-Fehler in \"appcenter/docker/progress\".", "traceback": "Interner Server-Fehler in \"appcenter/docker/progress\".\nRequest: appcenter/docker/progress\n\nTraceback (most recent call last):\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/base.py\", line 358, in __error_handling\n six.reraise(etype, exc, etraceback)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/base.py\", line 261, in execute\n function.__func__(self, request, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 321, in _response\n result = _multi_response(self, request)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 181, in _response\n return function(self, request)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 443, in _response\n return list(function(self, iterator, *nones))\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 289, in _fake_func\n yield function(self, *args)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/mixins.py\", line 158, in progress\n ret = progress_obj.poll()\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/mixins.py\", line 102, in poll\n six.reraise(self.exc_info[1], None, self.exc_info[2])\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 312, in _thread\n result = _multi_response(self, request)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 181, in _response\n return function(self, request)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 443, in _response\n return list(function(self, iterator, *nones))\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py\", line 289, in _fake_func\n yield function(self, *args)\n File \"/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py\", line 484, in invoke_docker\n result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py\", line 220, in call\n return obj.call_with_namespace(namespace)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py\", line 226, in call_with_namespace\n result = self.main(namespace)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py\", line 84, in main\n return self.do_it(args)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install_base.py\", line 119, in do_it\n self._do_it(app, args)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py\", line 71, in _do_it\n ret = super(Install, self)._do_it(app, args)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py\", line 111, in _do_it\n if self._install_app(app, args):\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py\", line 65, in _install_app\n self._start_docker_image(app, hostdn, password, args)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_base.py\", line 248, in _start_docker_image\n f_name = docker.path('/etc/machine.secret')\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py\", line 312, in path\n return os.path.join(self.root_dir, filename)\n File \"/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py\", line 223, in root_dir\n self._root_dir = self.inspect_container()['GraphDriver']['Data']['MergedDir']\nTypeError: 'NoneType' object has no attribute '__getitem__'", "location": "https://**********/univention/command"} Role: domaincontroller_master
reported again: Version: 4.4-4 errata617 (Blumenthal) Role: domaincontroller_master
reported again: Version: 4.4-5 errata735 (Blumenthal) Role: domaincontroller_master
reported again: Version: 4.4-6 errata787 (Blumenthal) Role: domaincontroller_master
reported again: Version: 4.4-7 errata870 (Blumenthal)
Version: 4.4-8 errata969 (Blumenthal) Remark: Horde-Installation schlägt fehlt ?! Error: Interner Server-Fehler in "appcenter/docker/remote/progress". Request: appcenter/docker/remote/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 430, in remote_progress return client.umc_command('appcenter/docker/progress', {'progress_id': remote_progress_id}).result File "%PY2.7%/univention/lib/umc.py", line 444, in umc_command return self.request('POST', 'command/%s' % (path,), data, headers) File "%PY2.7%/univention/lib/umc.py", line 524, in request return self.send(request) File "%PY2.7%/univention/lib/umc.py", line 553, in send raise HTTPError(request, response, self.hostname) HTTPError: 591 on ucs1.wvbr.local (command/appcenter/docker/progress): {u'status': 591, u'message': u'Interner Server-Fehler in "appcenter/docker/progress".', u'location': u'https://****.local/univention/command'} Interner Server-Fehler in "appcenter/docker/progress". Request: appcenter/docker/progress Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 158, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/mixins.py", line 102, in poll six.reraise(self.exc_info[1], None, self.exc_info[2]) File "%PY2.7%/univention/management/console/modules/decorators.py", line 312, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 491, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 84, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 143, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 71, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 114, in _do_it if self._install_app(app, args): File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 65, in _install_app self._start_docker_image(app, hostdn, password, args) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 245, in _start_docker_image f_name = docker.path('/etc/machine.secret') File "%PY2.7%/univention/appcenter/docker.py", line 303, in path return os.path.join(self.root_dir, filename) File "%PY2.7%/univention/appcenter/docker.py", line 218, in root_dir self._root_dir = self.inspect_container()['GraphDriver']['Data']['MergedDir'] TypeError: 'NoneType' object has no attribute '__getitem__' Role: domaincontroller_master Errno: 76d4f54dead1ccdf9f3a098a7cce09f8