Comment 1 for bug 380633

Andreas Hasenack (ahasenack) wrote :

I can't get this client to transmit messages to the server apparently:
==> /var/log/landscape/broker.log <==
2009-06-02 17:46:08,159 INFO [MainThread] Switching to normal exchange mode.
2009-06-02 17:46:08,171 INFO [MainThread] Accepted types changed: +computer-info +operation-result +memory-info +mount-info +mount-activity +custom-graph +active-process-info +client-uptime +change-packages-result +temperature +hardware-inventory +users +processor-info +load-average +packages +unknown-package-hashes +add-packages +computer-uptime +free-space +action-info +resynchronize +text-message +distribution-info test -register -register-cloud-vm
2009-06-02 17:46:08,200 INFO [MainThread] Message exchange completed in 6.79s.
2009-06-02 17:46:40,367 INFO [MainThread] Ping indicates message available. Scheduling an urgent exchange.
2009-06-02 17:47:08,303 INFO [MainThread] Starting urgent message exchange with https://landscape.canonical.com/message-system.
2009-06-02 17:47:10,529 INFO [MainThread] Ping indicates message available. Scheduling an urgent exchange.
2009-06-02 17:47:21,664 INFO [Dummy-2 ] Sent 147434 bytes and received 149 bytes in 13.33s.
2009-06-02 17:47:21,669 INFO [MainThread] Switching to normal exchange mode.
2009-06-02 17:47:21,671 INFO [MainThread] Pending messages remain after the last exchange.
2009-06-02 17:47:21,671 INFO [MainThread] Message exchange completed in 13.37s.

Notice the "Pending messages remain after the last exchange." message. It keeps showing in the logs, and nothing seems to be uploaded to the server. No users, processes or packages.

The client queue is just getting bigger:
root@nsn2:~# l /var/lib/landscape/client/messages/0/
total 212K
drwx------ 2 landscape nogroup 4.0K 2009-06-02 17:55 .
drwxr-xr-x 3 landscape root 14 2009-06-02 17:44 ..
-rw------- 1 landscape nogroup 166 2009-06-02 17:44 0
-rw------- 1 landscape nogroup 143 2009-06-02 17:46 1
-rw------- 1 landscape nogroup 1.4K 2009-06-02 17:55 10
-rw------- 1 landscape nogroup 197 2009-06-02 17:55 11
-rw------- 1 landscape nogroup 150 2009-06-02 17:55 12
-rw------- 1 landscape nogroup 129 2009-06-02 17:55 13
-rw------- 1 landscape nogroup 852 2009-06-02 17:55 14
-rw------- 1 landscape nogroup 241 2009-06-02 17:55 15
-rw------- 1 landscape nogroup 134 2009-06-02 17:55 16
-rw------- 1 landscape nogroup 135 2009-06-02 17:55 17
-rw------- 1 landscape nogroup 329 2009-06-02 17:46 2
-rw------- 1 landscape nogroup 163 2009-06-02 17:46 3
-rw------- 1 landscape nogroup 24K 2009-06-02 17:46 4
-rw------- 1 landscape nogroup 99K 2009-06-02 17:46 5
-rw------- 1 landscape nogroup 7.9K 2009-06-02 17:46 6
-rw------- 1 landscape nogroup 12K 2009-06-02 17:46 7
-rw------- 1 landscape nogroup 961 2009-06-02 17:46 8
-rw------- 1 landscape nogroup 12K 2009-06-02 17:54 9

This is the last exchange that happened:
==> /var/log/landscape/broker.log <==
2009-06-02 17:55:28,864 INFO [MainThread] Starting urgent message exchange with https://landscape.canonical.com/message-system.
2009-06-02 17:55:42,073 INFO [Dummy-2 ] Sent 162799 bytes and received 149 bytes in 13.17s.
2009-06-02 17:55:42,089 INFO [MainThread] Switching to normal exchange mode.
2009-06-02 17:55:42,092 INFO [MainThread] Pending messages remain after the last exchange.
2009-06-02 17:55:42,093 INFO [MainThread] Message exchange completed in 13.23s.