Bug 51888 - appcenter/docker/progress: ScannerError: while scanning a simple key. could not find expected ':'
appcenter/docker/progress: ScannerError: while scanning a simple key. could n...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-24 09:49 CEST by Christian Castens
Modified: 2020-10-02 11:24 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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: 2020082221000421, 2020041821000472
Bug group (optional): Error handling, 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 Christian Castens univentionstaff 2020-08-24 09:49:14 CEST
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 484, 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 119, 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 104, in _do_it
    self._register_app(app, args)
  File "%PY2.7%/univention/appcenter/actions/register.py", line 433, in _register_app
    updates.update(self._register_docker_variables(app))
  File "%PY2.7%/univention/appcenter/actions/register.py", line 487, in _register_docker_variables
    updates[app.ucr_image_key] = app.get_docker_image_name()
  File "%PY2.7%/univention/appcenter/app.py", line 1006, in get_docker_image_name
    content = yaml.load(ucr_run_filter(open(yml_file).read()), yaml.RoundTripLoader, preserve_quotes=True)
  File "%PY2.7%/ruamel/yaml/main.py", line 86, in load
    return loader.get_single_data()
  File "%PY2.7%/ruamel/yaml/constructor.py", line 54, in get_single_data
    node = self.get_single_node()
  File "%PY2.7%/ruamel/yaml/composer.py", line 50, in get_single_node
    document = self.compose_document()
  File "%PY2.7%/ruamel/yaml/composer.py", line 70, in compose_document
    node = self.compose_node(None, None)
  File "%PY2.7%/ruamel/yaml/composer.py", line 105, in compose_node
    node = self.compose_mapping_node(anchor)
  File "%PY2.7%/ruamel/yaml/composer.py", line 164, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "%PY2.7%/ruamel/yaml/composer.py", line 105, in compose_node
    node = self.compose_mapping_node(anchor)
  File "%PY2.7%/ruamel/yaml/composer.py", line 164, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "%PY2.7%/ruamel/yaml/composer.py", line 105, in compose_node
    node = self.compose_mapping_node(anchor)
  File "%PY2.7%/ruamel/yaml/composer.py", line 164, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "%PY2.7%/ruamel/yaml/composer.py", line 103, in compose_node
    node = self.compose_sequence_node(anchor)
  File "%PY2.7%/ruamel/yaml/composer.py", line 133, in compose_sequence_node
    while not self.check_event(SequenceEndEvent):
  File "%PY2.7%/ruamel/yaml/parser.py", line 116, in check_event
    self.current_event = self.state()
  File "%PY2.7%/ruamel/yaml/parser.py", line 468, in parse_indentless_sequence_entry
    KeyToken, ValueToken, BlockEndToken):
  File "%PY2.7%/ruamel/yaml/scanner.py", line 1525, in check_token
    while self.need_more_tokens():
  File "%PY2.7%/ruamel/yaml/scanner.py", line 159, in need_more_tokens
    self.stale_possible_simple_keys()
  File "%PY2.7%/ruamel/yaml/scanner.py", line 303, in stale_possible_simple_keys
    "could not find expected ':'", self.get_mark())
ScannerError: while scanning a simple key
  in "<byte string>", line 66, column 1:
    ucs***.***.***.intranet,465,,,y ...
    ^
could not find expected ':'
  in "<byte string>", line 70, column 1:
    ucs***.***.***.intranet,993,mai ...
    ^

Role: domaincontroller_backup
Comment 1 Christian Castens univentionstaff 2020-10-02 11:24:53 CEST
reported again:
Version: 4.4-4 errata525 (Blumenthal)
Role: domaincontroller_master