Bug 44959 - updater/maintenance_information: AttributeError: 'Instance' object has no attribute 'uu'
updater/maintenance_information: AttributeError: 'Instance' object has no att...
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Software update
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-07 17:19 CEST by Florian Best
Modified: 2023-09-18 12:29 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of 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.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018072421000281, 2018072321000318, 2018070421001291, 2018060521001102, 2018052121000361, 2018042221000291, 2018030521000118, 2018030121000643, 2017121621000038, 2017122121000108, 2018010521000176, 2017120121000397, 2017070321000125, 2017062921000687
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:
best: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-07-07 17:19:07 CEST
Version: 4.1-4 errata430 (Vahr)
Execution of command 'updater/maintenance_information' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 281, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 217, in query_maintenance_information
    version = self.uu.get_ucs_version()
AttributeError: 'Instance' object has no attribute 'uu'
Comment 1 Florian Best univentionstaff 2017-07-07 17:20:04 CEST
Reported again, 4.2-0 errata69 (Lesum)
Comment 2 Florian Best univentionstaff 2017-11-08 11:51:04 CET
Patch available in fbest/44959-updater-attribute-error.
Comment 3 Johannes Keiser univentionstaff 2017-12-11 15:06:11 CET
Reported again:  Version: 4.2-2 errata197 (Lesum)
Comment 4 Johannes Keiser univentionstaff 2018-01-12 16:44:50 CET
Reported again: Version: 4.2-1 errata125 (Lesum)
Comment 5 Johannes Keiser univentionstaff 2018-01-15 16:56:15 CET
Reported again: Version: 4.2-2 errata216 (Lesum)
Comment 6 Johannes Keiser univentionstaff 2018-01-19 15:55:12 CET
Reported again:  Version: 4.2-2 errata216 (Lesum)
Comment 7 Johannes Keiser univentionstaff 2018-03-16 13:46:09 CET
Reported again:  Version: 4.2-3 errata310 (Lesum)
Comment 8 Johannes Keiser univentionstaff 2018-04-27 14:45:43 CEST
Reported again: Version: 4.2-3 errata310 (Lesum)

Remark: Just one setup and log in will get this erroe
Comment 9 Johannes Keiser univentionstaff 2018-04-27 14:49:36 CEST
Reported again: Version: 4.2-3 errata342 (Lesum)

Remark: For your kind attention.
Comment 10 Johannes Keiser univentionstaff 2018-05-25 18:38:02 CEST
Reported again: Version: 4.3-0 errata84 (Neustadt)

Internal server error during "updater/maintenance_information".
Request: updater/maintenance_information

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 216, in query_maintenance_information
    version = self.uu.get_ucs_version()
AttributeError: 'Instance' object has no attribute 'uu'
Comment 11 Johannes Keiser univentionstaff 2018-07-16 15:08:11 CEST
Reported again:
Same as Comment #10
Version: 4.3-0 errata0 (Neustadt)
Version: 4.3-0 errata28 (Neustadt)
Comment 12 Johannes Keiser univentionstaff 2018-07-31 12:24:45 CEST
Reported again:
Same as Comment #10
Version: 4.3-1 errata145 (Neustadt)
Comment 13 Johannes Keiser univentionstaff 2018-07-31 12:27:17 CEST
Reported again:
Same as Comment #10
Version: 4.3-1 errata145 (Neustadt)
Comment 14 Johannes Keiser univentionstaff 2018-08-01 12:19:14 CEST
External feedback: (Ticket#2017120221000091)
UCS Version: 4.2-0 errata15 (Lesum)

Execution of command 'updater/maintenance_information' has failed:
 
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 249, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/updater/__init__.py", line 217, in query_maintenance_information
    version = self.uu.get_ucs_version()
AttributeError: 'Instance' object has no attribute 'uu'
Comment 15 Johannes Keiser univentionstaff 2018-10-04 12:17:10 CEST
Reported again: Version: 4.3-2 errata234 (Neustadt)
Ticket#2018092921000376

Remark: Login to management WebUI

Internal server error during "updater/maintenance_information".
Request: updater/maintenance_information

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 214, in query_maintenance_information
    ret = self._maintenance_information()
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 242, in _maintenance_information
    version = self.uu.get_ucs_version()
AttributeError: 'Instance' object has no attribute 'uu'

Role: domaincontroller_master
Comment 16 Johannes Keiser univentionstaff 2018-10-10 18:19:03 CEST
Reported again: Version: 4.3-2 errata255 (Neustadt)
Ticket#2018100821000724
Traceback: Same as Comment 15
Comment 17 Johannes Keiser univentionstaff 2018-10-26 18:38:46 CEST
Reported again: Version: 4.3-2 errata270 (Neustadt)
Ticket#2018101121000629
Traceback: Same as comment 15
Remark: I've just upgraded the system and univention.
Comment 18 Johannes Keiser univentionstaff 2018-12-19 13:26:50 CET
Version: 4.3-3 errata385 (Neustadt)
Ticket#2018121821000158

Internal server error during "updater/maintenance_information".
Request: updater/maintenance_information

Traceback: Same as Comment #15
Comment 19 Johannes Keiser univentionstaff 2019-01-31 15:46:35 CET
Reported again: Version: 4.3-3 errata376 (Neustadt)
Ticket#2018122321000041
Traceback: Same as Comment #15
Comment 20 Johannes Keiser univentionstaff 2019-01-31 16:45:40 CET
Reported again: Version: 4.3-3 errata385 (Neustadt) - UCS@school 4.3 v6
Ticket#2018122121000366
Traceback: Same as Comment #15
Comment 21 Johannes Keiser univentionstaff 2019-03-22 15:48:22 CET
Reported again: Version: 4.4-0 errata0 (Blumenthal)
Ticket#2019030521000616
Traceback: Same as comment #15
Comment 22 Johannes Keiser univentionstaff 2019-03-25 14:06:27 CET
Reported again: Version: 4.3-3 errata376 (Neustadt)
Ticket#2019031521001543
Traceback: Same as Comment #15
Comment 23 Johannes Keiser univentionstaff 2019-05-16 17:04:12 CEST
Reported again: Version: 4.4-0 errata5 (Blumenthal)
Ticket#2019041821000117
Traceback: Same as Comment #15
Comment 24 Christian Castens univentionstaff 2020-02-28 13:45:42 CET
Reported again:

Version: 4.4-3 errata385 (Blumenthal)

Remark: some shit occured :/

ticket#2019120521000706
Comment 25 Christian Castens univentionstaff 2020-05-15 12:31:19 CEST
Reported again:

Ticket: 2020040721000224

Version: 4.4-4 errata521 (Blumenthal)

Remark: Update nach UCS 4.4

Interner Server-Fehler in "updater/maintenance_information".
Request: updater/maintenance_information

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/updater/__init__.py", line 213, in query_maintenance_information
    ret = self._maintenance_information()
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/updater/__init__.py", line 241, in _maintenance_information
    version = self.uu.get_ucs_version()
AttributeError: 'Instance' object has no attribute 'uu'

Role: domaincontroller_master
Comment 26 Florian Best univentionstaff 2020-06-25 08:45:19 CEST
Reported again:

Sehr geehrte Damen und Herren,

seit dem Einspielen des letzten Updates (4.4-4 errata640) erhalte ich u. g. Fehlermeldung, und weitere Updates über die Weboberfläche sind somit nicht mehr möglich.

Der Fehler ist auch bereits in Ihrem Bugsystem bekannt (https://forge.univention.org/bugzilla/show_bug.cgi?id=44959), leider wird dort keine Fehlerbehebung genannt.

Haben Sie einen Tipp für mich, was ich versuchen kann?

Vielen Dank im Voraus!

----------

UCS Version: 4.4-4 errata640 (Blumenthal)
Comment 27 Christian Castens univentionstaff 2020-08-07 17:59:31 CEST
reported again:
Ticket#2019071121001043
Ticket#2019072121000525
Ticket#2019082821000163
Ticket#2019092121000576
Ticket#2019110121000242
Ticket#2020062521000339
Comment 28 Christian Castens univentionstaff 2020-08-26 16:17:28 CEST
reported again:
Ticket#2020061621000356
4.4-4 errata624
Comment 29 Christian Castens univentionstaff 2020-10-23 12:47:42 CEST
reported again
4.4-6 errata758
#2020100421000389
Comment 30 Maximilian Janßen univentionstaff 2021-11-26 14:17:11 CET
reported again: 2021031521000138
Version: 4.4-7 errata910 (Blumenthal)
Comment 31 Maximilian Janßen univentionstaff 2021-11-26 15:02:51 CET
reprted again: 2021031221000723
Version: 4.4-7 errata870 (Blumenthal)
Comment 32 Maximilian Janßen univentionstaff 2021-11-26 16:59:24 CET
reprted again: 2021031021000209
Version: 4.4-7 errata907 (Blumenthal)

reported again: 2021021421000151
Version: 4.4-7 errata893 (Blumenthal)
Comment 33 Maximilian Janßen univentionstaff 2022-01-04 11:01:03 CET
Reported again: 2022010321000377
Version: 4.4-8 errata983 (Blumenthal)

...
File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 242, in _maintenance_information
  version = self.uu.get_ucs_version()



Reported again: 2022010321000402
Version: 4.4-8 errata983 (Blumenthal)

...
File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 242, in _maintenance_information
  version = self.uu.get_ucs_version()



Reported again: 2022010321000411
Version: 4.4-8 errata983 (Blumenthal)

Error: 
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message:
'Instance' object has no attribute 'uu'
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 427, in status
    self.uu.ucr_reinit()
AttributeError: 'Instance' object has no attribute 'uu'
Comment 34 Maximilian Janßen univentionstaff 2022-01-12 11:38:14 CET
reported again: 2022011021000292

Version: 4.4-8 errata1123 (Blumenthal)

Error: 
Fehler beim Verbindungsaufbau zum Update-Server. Bitte überprüfen Sie die Proxy- oder Firewall-Einstellungen, falls vorhanden. Es kann sich sich auch um ein Problem des
konfigurierten DNS-Servers handeln. Dies ist die Fehlermeldung: 'Instance' object has no attribute 'uu'
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 427, in status
    self.uu.ucr_reinit()
AttributeError: 'Instance' object has no attribute 'uu'

Role: domaincontroller_master
Comment 35 Maximilian Janßen univentionstaff 2022-01-12 12:32:44 CET
reported again: 2022011021000283
Version: 4.4-8 errata1123 (Blumenthal)
Traceback: Comment #34
Comment 36 Maximilian Janßen univentionstaff 2022-03-30 11:16:32 CEST
reported again: 2022030321000926
Version: 4.4-3 errata438 (Blumenthal)
Comment 37 Florian Best univentionstaff 2022-04-20 22:48:21 CEST
should be fixed by git:0e037a745344f95a65ffb825b288e3d02c4ff145.
Comment 38 Maximilian Janßen univentionstaff 2022-08-15 13:47:36 CEST
Ticket: 2022081421000192
Version: 4.4-9 errata1277 (Blumenthal)

Fehler beim Verbindungsaufbau zum Update-Server. Bitte überprüfen Sie die Proxy- oder Firewall-Einstellungen, falls vorhanden. Es kann sich sich auch um ein Problem des konfigurierten DNS-Servers handeln. Dies ist die Fehlermeldung: 'Instance' object has no attribute 'uu'
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 427, in status
    self.uu.ucr_reinit()
AttributeError: 'Instance' object has no attribute 'uu'
Comment 39 Mika Westphal univentionstaff 2023-09-11 12:47:53 CEST
2023090621000104  4.4-9 errata1371 (Blumenthal)
Comment 40 Mika Westphal univentionstaff 2023-09-18 12:29:51 CEST
2023082321000413  4.4-9 errata1371 (Blumenthal)