Task "renew kerberos ticket" hangs since the update.

struband

Cadet
Joined
Feb 24, 2023
Messages
5
Hello

Immediately after the update to 22.12.1, this error message popped up:

Critical Failed to check for alert ActiveDirectoryDomainHealth: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/alert.py", line 776, in __run_source alerts = (await alert_source.check()) or [] File "/usr/lib/python3/dist-packages/middlewared/alert/source/active_directory.py", line 44, in check await self.middleware.call("activedirectory.check_nameservers") File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) TypeError: check_nameservers() missing 1 required positional argument: 'domain'

- and this task will not be completed:

ie6ellxrf3ka1.png


How do I solve this?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Bug already reported - and apparently a duplicate - but they didn't say which report it duplicated
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I have the same issue, any fix for it?
You can hot-patch based on the the fix here: https://github.com/truenas/middleware/pull/10729
Or you can disable the alert. The kerberos renewal job is supposed to be transient and not visible in the webui (it's just a background thread that waits until it's time to renew kerberos tickets).

- but they didn't say which report it duplicated
often we're quite busy and get significant numbers of duplicated tickets. In this case your ticket may be closed as a dup without us digging out the original ticket.
 

EndreEndi

Cadet
Joined
Feb 27, 2023
Messages
7
You can hot-patch based on the the fix here: https://github.com/truenas/middleware/pull/10729
Or you can disable the alert. The kerberos renewal job is supposed to be transient and not visible in the webui (it's just a background thread that waits until it's time to renew kerberos tickets).

often we're quite busy and get significant numbers of duplicated tickets. In this case your ticket may be closed as a dup without us digging out the original ticket.
So, this is normal functionality, but it shouldn't appear that is doing this?
 

EndreEndi

Cadet
Joined
Feb 27, 2023
Messages
7
You can hot-patch based on the the fix here: https://github.com/truenas/middleware/pull/10729
Or you can disable the alert. The kerberos renewal job is supposed to be transient and not visible in the webui (it's just a background thread that waits until it's time to renew kerberos tickets).

often we're quite busy and get significant numbers of duplicated tickets. In this case your ticket may be closed as a dup without us digging out the original ticket.
So, this is normal functionality, but it shouldn't appear that is doing this?

Also, I'm getting this error in the notifications:


Dashboard
Widgets (7 items)
System Information
CPU
Memory
Storage
Network
Pool :
Storage
Interface :
ens192
Alerts
CRITICAL
Failed to check for alert ActiveDirectoryDomainHealth: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/alert.py", line 776, in __run_source alerts = (await alert_source.check()) or [] File "/usr/lib/python3/dist-packages/middlewared/alert/source/active_directory.py", line 44, in check await self.middleware.call("activedirectory.check_nameservers") File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) TypeError: check_nameservers() missing 1 required positional argument: 'domain'
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
So, this is normal functionality, but it shouldn't appear that is doing this?

Also, I'm getting this error in the notifications:


Dashboard
Widgets (7 items)
System Information
CPU
Memory
Storage
Network
Pool :
Storage
Interface :
ens192
Alerts
CRITICAL
Failed to check for alert ActiveDirectoryDomainHealth: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/alert.py", line 776, in __run_source alerts = (await alert_source.check()) or [] File "/usr/lib/python3/dist-packages/middlewared/alert/source/active_directory.py", line 44, in check await self.middleware.call("activedirectory.check_nameservers") File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) TypeError: check_nameservers() missing 1 required positional argument: 'domain'
As I said, that's a bug that's being fixed in 22.12.2. You can disable the domain health alert or if you're familiar with our middleware and python you can manually edit the python file to fix the problem.
 

jackc00

Cadet
Joined
Jan 1, 2023
Messages
4
You can hot-patch based on the the fix here: https://github.com/truenas/middleware/pull/10729
Or you can disable the alert. The kerberos renewal job is supposed to be transient and not visible in the webui (it's just a background thread that waits until it's time to renew kerberos tickets).

often we're quite busy and get significant numbers of duplicated tickets. In this case your ticket may be closed as a dup without us digging out the original ticket.
It's relieving to know that this is simply a notification bug and nothing major. Thanks for the info.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
It will be - till the next update (probably)
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947

Korvenwin

Cadet
Joined
Mar 4, 2022
Messages
8
I rectify. After reach the time in the updating message, it has disappeared. Problem solved.
 
Last edited:
Top