Comment 10 for bug 2040189

Revision history for this message
Mitch Burton (mitchburton) wrote :

Test on mantic using version 23.08-0ubuntu1.1

a) installed and ran `sudo landscape-config`. Progressed through the wizard until

Request a new registration for this computer now? [y/N]: y
Registration request sent successfully.

ubuntu@expert-bug:~$ systemctl is-active landscape-client
active

ubuntu@expert-bug:~$ pgrep landscape
3197
3198
3199
3200

ubuntu@expert-bug:~$ ps u -p 3197 3198 3199 3200
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3197 0.0 0.2 54668 39316 ? Ss 22:26 0:00 /usr/bin/python3 /usr/bin/landscape-client
landsca+ 3198 0.0 0.3 217312 50776 ? Sl 22:26 0:00 /usr/bin/python3 /usr/bin/landscape-broker --ignore-sigint
landsca+ 3199 0.0 0.3 80756 50244 ? S 22:26 0:00 /usr/bin/python3 /usr/bin/landscape-monitor --ignore-sigint
root 3200 0.0 0.2 78344 46692 ? S 22:26 0:00 /usr/bin/python3 /usr/bin/landscape-manager --ignore-sigint

landscape-client appears to be behaving normally. I dispatched a reboot, a package upgrade, and a package installation.

b) installed landscape-client 23.08-0ubuntu1
b1) registered via `sudo landscape-config`. Confirmed landscape-client service is running.
Upgraded to landscape-client 23.08-0ubuntu1.1

Restarting services...
 systemctl restart landscape-client.service
Warning: The unit file, source configuration file or drop-ins of landscape-client.service changed on disk. Run 'systemctl daemon-reload' to reload units.

ubuntu@mutual-satyr:~$ tail /var/log/landscape/broker.log
...
2024-03-27 22:33:16,409 INFO [MainThread] Broker stopped with config /etc/landscape/client.conf
2024-03-27 22:33:19,987 INFO [PoolThread-twisted.internet.reactor-1] Sent 569224 bytes and received 2849 bytes in 18.98s.
2024-03-27 22:33:21,107 INFO [MainThread] Broker started with config /etc/landscape/client.conf
...

b) Installed landscape-client 23.08-0ubuntu1
b2) the landscape-client service is not running
Upgraded to landscape-client 23.08-0ubuntu1.1

The landscape-client service is still not running:
ubuntu@rich-airedale:~$ systemctl is-active landscape-client
inactive

ubuntu@rich-airedale:~$ ls -l /var/log/landscape/
total 0