Bug 44954

Summary: Deinstallation of Docker app fails in AD Member mode
Product: UCS Reporter: Felix Botner <botner>
Component: App CenterAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5 CC: best, botner, fg, gohmann, wiesenthal
Version: UCS 4.1   
Target Milestone: UCS 4.1-4-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?: 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:
Bug Depends on: 43846    
Bug Blocks:    

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>