Bug 41535 - Error when uninstalling docker app
Error when uninstalling docker app
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-13 07:50 CEST by Florian Best
Modified: 2018-05-14 23:44 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018012721000152, 2017112121000781, 2017102021000515, 2017091821000621, 2017100621000319, 2017091021000331, 2016110821000397, 2016111121000363, 2017070621000307, 2017091121000937
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 Florian Best univentionstaff 2016-06-13 07:50:30 CEST
Version: 4.1-2 errata183 (Vahr)

Remark: Deinstallation von TecArt

Traceback(1ca43e19f805e5469410ea82f2436118):
Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress
    ret = progress_obj.poll()
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 386, 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 176, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 182, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/remove.py", line 47, in main
    return self.do_it(args)
  File "%PY2.7%/univention/appcenter/actions/install_base.py", line 107, in do_it
    self._do_it(app, args)
  File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 49, in _do_it
    super(Remove, self)._do_it(app, args)
  File "%PY2.7%/univention/appcenter/actions/remove.py", line 53, in _do_it
    self._remove_app(app, args)
  File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 55, in _remove_app
    self._remove_docker_container(app, args)
  File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 59, in _remove_docker_container
    if self._backup_container(app, backup_data='move') is False:
  File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 86, in _backup_container
    image_id = docker.commit(image_name)
  File "%PY2.7%/univention/appcenter/docker.py", line 308, in commit
    return commit(self.container, new_image_name)
  File "%PY2.7%/univention/appcenter/docker.py", line 216, in commit
    return check_output(['docker', 'commit', container, new_base_image])
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['docker', 'commit', '89820fc7d4311e132d9169a443c1d6c7ae4e81b5c12eccbe4f0f96ca8ab7f423', u'appcenter-backup-tecart:1464119508']' returned non-zero exit
status 1
Comment 1 Florian Best univentionstaff 2016-07-15 12:10:07 CEST
Reported again, 4.1-2 errata209 (Vahr)

CalledProcessError: Command '['docker', 'commit', '89820fc7d4311e132d9169a443c1d6c7ae4e81b5c12eccbe4f0f96ca8ab7f423', u'appcenter-backup-tecart:1464119508']' returned non-zero exit
status 1
Comment 2 Florian Best univentionstaff 2016-08-15 15:14:15 CEST
Reported again, 4.1-2 errata220 (Vahr)

CalledProcessError: Command '['docker', 'commit', '465ddae9361972f239a61ff4e9fb9ad831e2f4feddf707c06351a418257625f2', u'appcenter-backup-openproject:1469636281']' returned non-zero
exit status 1
Comment 3 Florian Best univentionstaff 2016-11-09 17:00:39 CET
Reported again, 3 times by the same UUID, 4.1-3 errata324 (Vahr)

The same app: appcenter-backup-tecart:1478610224
Comment 4 Florian Best univentionstaff 2016-11-11 12:13:15 CET
Reported again, 4.1-4 errata324 (Vahr)
Comment 5 Florian Best univentionstaff 2017-07-07 16:42:53 CEST
Reported again, 4.2-0 errata0 (Lesum)

CalledProcessError: Command '['docker', 'commit', '8ecb12b653822124b7493c1a017fce2a5a173d3bb5bd0826d68d653ccad45742', 'appcenter-backup-tecart:1499335338']' returned non-zero exit
status 1
Comment 6 Florian Best univentionstaff 2017-09-15 11:46:32 CEST
Version: 4.2-2 errata159 (Lesum)
Comment 7 Florian Best univentionstaff 2017-09-15 11:47:30 CEST
 Version: 4.2-2 errata159 (Lesum)
Comment 8 Florian Best univentionstaff 2017-10-12 20:16:08 CEST
Version: 4.2-2 errata189 (Lesum)
Comment 9 Florian Best univentionstaff 2017-10-12 20:16:29 CEST
CalledProcessError: Command '['docker', 'commit', '61b1244b43ac3f776903bd4aaa0dff02bfec310d8f19e82db2ebe8dfd6aae15b', u'appcenter-backup-egroupware:1507281035']' returned non-zero
exit status 1
Comment 10 Florian Best univentionstaff 2017-10-12 21:27:02 CEST
Version: 4.2-2 errata159 (Lesum)
Comment 11 Florian Best univentionstaff 2017-10-12 21:27:23 CEST
CalledProcessError: Command '['docker', 'commit', '17792308bb33f57bf92c595ccd2248653046d823cc6c2d2776dd941242f18802', u'appcenter-backup-horde:1505757576']' returned non-zero exit
status 1
Comment 12 Florian Best univentionstaff 2017-10-23 16:47:28 CEST
Version: 4.2-2 errata203 (Lesum)
CalledProcessError: Command '['docker', 'commit', '77d42ee401f3641c871f27a1057db52313d9a9f207463f2fee0c797e4ecb9f49', u'appcenter-backup-owncloud82:1508502539']' returned non-zero
exit status 1
Comment 13 Johannes Keiser univentionstaff 2017-11-28 18:22:00 CET
Reported again: Version: 4.1-4 errata483 (Vahr)
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['docker', 'commit', '4a3de8e06b6e9f0cb0ffb718dd8592919750c37893b71c7575f0461a6eab00cc', u'appcenter-backup-openproject:1511291835']' returned non-zero
exit status 1
Comment 14 Johannes Keiser univentionstaff 2018-02-15 18:21:49 CET
Reported again: Version: 4.2-1 errata197 (Lesum)

CalledProcessError: Command '['docker', 'commit', '7937ef93a3a64c0c941aea2b3d85ce13237f4df01cbea308bf3d3155eb24f86c', u'appcenter-backup-openproject:1517053987']' returned non-zero
exit status 1
Comment 15 Dirk Wiesenthal univentionstaff 2018-05-14 23:44:41 CEST
We are not doing "docker commit" anymore.