with testcase setup from description, system A is -remote and system B is -d
ubuntu@lp1847527-remote:~$ dpkg -l systemd|grep ii
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@lp1847527-d:~$ dpkg -l systemd|grep ii
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@lp1847527-d:~$ journalctl -b -u systemd-journal-upload.service
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:19:34 UTC. --
Nov 14 20:19:03 lp1847527-d systemd[1]: Started Journal Remote Upload Service.
Nov 14 20:19:03 lp1847527-d systemd-journal-upload[721]: Upload to http://192.168.122.184:19532/upload failed with code 411: gth Required
Nov 14 20:19:03 lp1847527-d systemd[1]: systemd-journal-upload.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 20:19:03 lp1847527-d systemd[1]: systemd-journal-upload.service: Failed with result 'exit-code'.
Fix must be applied to system A (where systemd-journal-remote.serivce is running):
ubuntu@lp1847527-remote:~$ dpkg -l systemd|grep ii
ii systemd 240-6ubuntu5.8 amd64 system and service manager
ubuntu@lp1847527-d:~$ dpkg -l systemd|grep ii
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@lp1847527-d:~$ journalctl -b -u systemd-journal-upload.service
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:34:28 UTC. --
Nov 14 20:33:33 lp1847527-d systemd[1]: Started Journal Remote Upload Service.
and upgrading system B, it still works correctly (as long as system A has been upgraded):
ubuntu@lp1847527-d:~$ dpkg -l systemd|grep ii
ii systemd 240-6ubuntu5.8 amd64 system and service manager
ubuntu@lp1847527-d:~$ journalctl -b -u systemd-journal-upload.service
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:38:38 UTC. --
Nov 14 20:38:35 lp1847527-d systemd[1]: Started Journal Remote Upload Service.
with testcase setup from description, system A is -remote and system B is -d
ubuntu@ lp1847527- remote: ~$ dpkg -l systemd|grep ii lp1847527- d:~$ dpkg -l systemd|grep ii lp1847527- d:~$ journalctl -b -u systemd- journal- upload. service journal- upload[ 721]: Upload to http:// 192.168. 122.184: 19532/upload failed with code 411: gth Required journal- upload. service: Main process exited, code=exited, status=1/FAILURE journal- upload. service: Failed with result 'exit-code'.
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:19:34 UTC. --
Nov 14 20:19:03 lp1847527-d systemd[1]: Started Journal Remote Upload Service.
Nov 14 20:19:03 lp1847527-d systemd-
Nov 14 20:19:03 lp1847527-d systemd[1]: systemd-
Nov 14 20:19:03 lp1847527-d systemd[1]: systemd-
Fix must be applied to system A (where systemd- journal- remote. serivce is running):
ubuntu@ lp1847527- remote: ~$ dpkg -l systemd|grep ii lp1847527- d:~$ dpkg -l systemd|grep ii lp1847527- d:~$ journalctl -b -u systemd- journal- upload. service
ii systemd 240-6ubuntu5.8 amd64 system and service manager
ubuntu@
ii systemd 240-6ubuntu5.7 amd64 system and service manager
ubuntu@
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:34:28 UTC. --
Nov 14 20:33:33 lp1847527-d systemd[1]: Started Journal Remote Upload Service.
and upgrading system B, it still works correctly (as long as system A has been upgraded):
ubuntu@ lp1847527- d:~$ dpkg -l systemd|grep ii lp1847527- d:~$ journalctl -b -u systemd- journal- upload. service
ii systemd 240-6ubuntu5.8 amd64 system and service manager
ubuntu@
-- Logs begin at Thu 2019-11-14 16:34:08 UTC, end at Thu 2019-11-14 20:38:38 UTC. --
Nov 14 20:38:35 lp1847527-d systemd[1]: Started Journal Remote Upload Service.