Univention Bugzilla – Full Text Bug Listing |
Summary: | apps systemd status broken after docker app is removed (until reboot) | ||
---|---|---|---|
Product: | UCS | Reporter: | Felix Botner <botner> |
Component: | App Center | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | wiesenthal |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.114 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Felix Botner
2017-04-04 15:48:11 CEST
Part of the "Join Problems"? --- python/appcenter-docker/actions/docker_remove.py (Revision 78743) +++ python/appcenter-docker/actions/docker_remove.py (Arbeitskopie) @@ -37,6 +37,7 @@ from univention.appcenter.actions import Abort from univention.appcenter.actions.remove import Remove from univention.appcenter.actions.docker_base import DockerActionMixin +from univention.appcenter.actions.service import Stop class Remove(Remove, DockerActionMixin): @@ -72,5 +73,6 @@ raise Abort('Could not backup container!') docker = self._get_docker(app) if docker.container: + Stop.call(app=app) docker.stop() docker.rm() best solution so far, stop container in _remove_docker_container() so that the systemd status after revert is correct (In reply to Felix Botner from comment #2) > --- python/appcenter-docker/actions/docker_remove.py (Revision 78743) > +++ python/appcenter-docker/actions/docker_remove.py (Arbeitskopie) > @@ -37,6 +37,7 @@ > from univention.appcenter.actions import Abort > from univention.appcenter.actions.remove import Remove > from univention.appcenter.actions.docker_base import DockerActionMixin > +from univention.appcenter.actions.service import Stop > > > class Remove(Remove, DockerActionMixin): > @@ -72,5 +73,6 @@ > raise Abort('Could not backup container!') > docker = self._get_docker(app) > if docker.container: > + Stop.call(app=app) > docker.stop() > docker.rm() > > best solution so far, stop container in _remove_docker_container() so that > the systemd status after revert is correct univention-appcenter r78989 errata4.2-0 OK, works |