Bug 54998 - appcenter/progress: install_base: setup_yml: TypeError: 'NoneType' object is not subscriptable
appcenter/progress: install_base: setup_yml: TypeError: 'NoneType' object is ...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-15 13:17 CEST by Maximilian Janßen
Modified: 2022-07-15 13:17 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022071121000494
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-07-15 13:17:28 CEST
Version: 5.0-2 errata345

Error:
Internal server error during "appcenter/progress".
Request: appcenter/progress

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 292, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 339, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 186, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 193, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/upgrade.py", line 86, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 169, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/upgrade.py", line 90, in do_it_once
    return super(Upgrade, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 203, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 214, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_upgrade.py", line 126, in _do_it
    self._upgrade_image(app, args)
  File "%PY3%/univention/appcenter/actions/docker_upgrade.py", line 162, in _upgrade_image
    docker.pull()
  File "%PY3%/univention/appcenter/docker.py", line 469, in pull
    self.setup_docker_files()
  File "%PY3%/univention/appcenter/docker.py", line 477, in setup_docker_files
    self._setup_yml(recreate=True)
  File "%PY3%/univention/appcenter/docker.py", line 510, in _setup_yml
    container_def = content['services'][self.app.docker_main_service]
TypeError: 'NoneType' object is not subscriptable

Role: domaincontroller_master