Landscape Client fails to recover from Could not resolve host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
New
|
Undecided
|
Unassigned |
Bug Description
It often happens that the Landscape client fails to recover from 'Could not resolve host' exceptions similar to the following:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
curly, data = self._curl(
File "/usr/lib/
return (curl, fetch(self._url, post=True, data=payload,
File "/usr/lib/
raise PyCurlError(
landscape.
2023-10-13 15:13:36,295 INFO [MainThread] Message exchange failed.
2023-10-13 15:13:36,295 INFO [MainThread] Message exchange completed in 0.00s.
2023-10-13 15:14:36,354 INFO [MainThread] Starting urgent message exchange with https:/
2023-10-13 15:14:36,358 ERROR [PoolThread-
Traceback (most recent call last):
File "/usr/lib/
curl.perform()
pycurl.error: (6, 'Could not resolve host: lds.int.
The solution is to manually restart the service.
Affected version:
$ dpkg -l | grep landscape
ii landscape-client 23.02-0ubuntu1~
ii landscape-common 23.02-0ubuntu1~
Please let me know if you'd like me to provide additional logs or anything.
Thank you,
Alan