Bug 44954 - Deinstallation of Docker app fails in AD Member mode
Deinstallation of Docker app fails in AD Member mode
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Felix Botner
Dirk Wiesenthal
:
Depends on: 43846
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-07 10:53 CEST by Felix Botner
Modified: 2017-07-27 11:44 CEST (History)
5 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?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017041321000684, 2017041821000737, 2017032321000425, 2017032121000063, 2017060121000756
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 Felix Botner univentionstaff 2017-07-07 10:53:58 CEST
+++ This bug was initially created as a clone of Bug #43846 +++

Trying to uninstall Docker App "Dudle" on a Domaincontroller-Master which is joined into AD.

Domaincontroller-Master was freshly installed from 4.1-4 ISO, immediately joined into AD domain.

Then installed Docker App "Dudle". The fake hostname 'dudle-<digits>' was synced into DNS of AD, even with the unreachable 172.17.x.x address.

Trying to uninstall the Docker App fails with message:

File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/register.py", line 294, in _unregister_host
    remove_object_if_exists('computers/%s' % app.docker_server_role, lo, pos, hostdn)

invalidOperation: Objects from Active Directory can not be removed.

Should there be an exception to the above rule, or is it wrong that the host entry was written into AD at all?
Comment 1 Felix Botner univentionstaff 2017-07-07 12:17:40 CEST
merged to 4.1

univention-directory-manager-modules.yaml
11.0.3-58.1456.201707071210
r80960
Comment 2 Dirk Wiesenthal univentionstaff 2017-07-23 15:00:25 CEST
Looks good.
Comment 3 Erik Damrose univentionstaff 2017-07-27 11:44:09 CEST
<http://errata.software-univention.de/ucs/4.1/444.html>