Hello Radosław,

The Bacula Filedaemon was logging these messages. Then after logging

DEBUG:[baculak8s/util/sslserver.py:193 in handle_connection]
ConnectionServer:Connection from: ('192.168.XX.YY', 10541)
DEBUG:[baculak8s/util/sslserver.py:145 in gethello] ['Hello',
'KubernetesBackup.2023-01-04_21.05.03_10', '410706']
DEBUG:[baculak8s/util/token.py:57 in check_auth_data] AUTH_DATA:Token:
xx88M5oggQJuGsPbtD........ohQjeU7PkA4YDbSwBRxTOhT
DEBUG:[baculak8s/util/token.py:59 in check_auth_data]
RECV_TOKEN_DATA:Token: xx88M5oggQJuGsPbtD....ohQjeU7PkA4YDbSwBRxTOhT
DEBUG:[baculak8s/util/sslserver.py:105 in authenticate]
ConnectionServer:Authenticated

there was some waiting. I guess it was 60 or 120 sec or something. Then the
daemon was logging the following:

DEBUG:[baculak8s/jobs/job_pod_bacula.py:121 in handle_pod_data_recv]
> handle_pod_data_recv:EOT
> DEBUG:[baculak8s/util/sslserver.py:201 in handle_connection]
> ConnectionServer:Finish - disconnect.
> DEBUG:[baculak8s/jobs/backup_job.py:85 in __backup_pvcdata]
> backup_pvcdata:logs recv
>

I guess there was some "waiting" between the 2 parts and after the timeout
the logging went on.

 Additionally you can check the Backup POD logs to see if there are any
issues for PVC backup.

The POD logged the following (it was a brand new test today):

2023-01-13 07:45:48,817:INFO:Bacula Kubernetes backup helper version
1.0-rpk. Copyright Copyright (C) 2000-2022 Kern Sibbald
2023-01-13 07:45:48,819:INFO:BaculaConnection: mode=backup
host=kubernetes.server port=9104 token=aR8xp8......KPROZN
2023-01-13 07:45:48,819:INFO:BaculaJob:
KubernetesBackup.2023-01-13_08.45.44_07:411957
2023-01-13 07:45:48,820:INFO:Try to connect to: kubernetes.server:9104 0/600
2023-01-13 07:45:50,041:INFO:Connected.
2023-01-13 07:45:50,041:INFO:Authenticated.

And that's all. No more log messages but the back job went failure. :(

Best regards,
Zsolt

On Fri, Jan 13, 2023 at 11:27 AM Radosław Korzeniewski <
rados...@korzeniewski.net> wrote:

> Hello,
>
> DEBUG:[baculak8s/util/sslserver.py:193 in handle_connection]
>> ConnectionServer:Connection from: ('192.168.XX.YY', 10541)
>> DEBUG:[baculak8s/util/sslserver.py:145 in gethello] ['Hello',
>> 'KubernetesBackup.2023-01-04_21.05.03_10', '410706']
>> DEBUG:[baculak8s/util/token.py:57 in check_auth_data] AUTH_DATA:Token:
>> xx88M5oggQJuGsPbtD........ohQjeU7PkA4YDbSwBRxTOhT
>> DEBUG:[baculak8s/util/token.py:59 in check_auth_data]
>> RECV_TOKEN_DATA:Token: xx88M5oggQJuGsPbtD....ohQjeU7PkA4YDbSwBRxTOhT
>> DEBUG:[baculak8s/util/sslserver.py:105 in authenticate]
>> ConnectionServer:Authenticated
>>
>> .... after timeout
>>
>> DEBUG:[baculak8s/jobs/job_pod_bacula.py:121 in handle_pod_data_recv]
>> handle_pod_data_recv:EOT
>> DEBUG:[baculak8s/util/sslserver.py:201 in handle_connection]
>> ConnectionServer:Finish - disconnect.
>> DEBUG:[baculak8s/jobs/backup_job.py:85 in __backup_pvcdata]
>> backup_pvcdata:logs recv
>>
>
> Could you describe what it means "after timeout"? As the log seems valid.
> Additionally you can check the Backup POD logs to see if there are any
> issues for PVC backup.
>
> best regards
> --
> Radosław Korzeniewski
> rados...@korzeniewski.net
>
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to