Bug 38979 - variable 'new_interface' referenced before assignment
variable 'new_interface' referenced before assignment
Status: CLOSED DUPLICATE of bug 38729
Product: UCS
Classification: Unclassified
Component: AD Takeover
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-3-errata
Assigned To: Drees Dormann
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-20 09:48 CEST by Florian Best
Modified: 2015-09-24 17:47 CEST (History)
3 users (show)

See Also:
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:
best: Patch_Available+


Attachments
patch (1010 bytes, patch)
2015-07-20 10:07 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.