Bug 38979

Summary: variable 'new_interface' referenced before assignment
Product: UCS Reporter: Florian Best <best>
Component: AD TakeoverAssignee: Drees Dormann <dormann>
Status: CLOSED DUPLICATE QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: gohmann, requate, walkenhorst
Version: UCS 4.0Flags: best: Patch_Available+
Target Milestone: UCS 4.0-3-errata   
Hardware: Other   
OS: Linux   
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: Bug group (optional): Error handling, External feedback
Max CVSS v3 score:
Attachments: patch

Description Florian Best univentionstaff 2015-07-20 09:48:31 CEST
Traceback, 4.0-2 errata240 (Walle).
Execution of command 'take_over_domain' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 60, in _background
    result = func(self, request)
  File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 119, in take_over_domain
    takeover.take_over_domain(self.progress)
  File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 342, in take_over_domain
    takeover_final.create_virtual_IP_alias()
  File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 1606, in create_virtual_IP_alias
    if new_interface:
UnboundLocalError: local variable 'new_interface' referenced before assignment
Comment 1 Florian Best univentionstaff 2015-07-20 10:07:13 CEST
Created attachment 7032 [details]
patch
Comment 2 Drees Dormann univentionstaff 2015-08-04 11:06:30 CEST
applied the patch

*** This bug has been marked as a duplicate of bug 38729 ***
Comment 3 Arvid Requate univentionstaff 2015-09-22 15:46:56 CEST
Yes, patch is in.