Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-13 Thread Zsolt Kozak
Hi Radosław, Re timeout: It was 120 sec because I used the following plugin configuration (yes, it was 600 sec by default, I've just decreased it to 120): Plugin = "kubernetes: debug=1 baculaimage=repo/bacula-backup:04jan23 namespace=some pvcdata pluginhost=kubernetes.server *timeout=120* verify_

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-13 Thread Radosław Korzeniewski
Hello, pt., 13 sty 2023 o 11:34 Zsolt Kozak napisał(a): > 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

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-13 Thread Zsolt Kozak
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_2

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-13 Thread Radosław Korzeniewski
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_

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-13 Thread Zsolt Kozak
Hi Davide, Thanks for the -A switch! Still need to learn some more Kubernetes. :))) So no network policy in the "some" namespace but the -A switch was working. :) kubectl get networkpolicy -A NAMESPACE NAME POD-SELECTOR AGE calico-apiserver allow-apiserver apiserver

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-12 Thread Davide F.
Hello Zsolt, You’re really welcome On Thu, 12 Jan 2023 at 16:29 Zsolt Kozak wrote: > Hello Davide! > > I really appreciate your kind help! > > kubectl get networkpolicy gave the following: > > > "No resources found in default namespace." > > This is because network policies CR are relative to t

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-12 Thread Zsolt Kozak
Hello Davide! I really appreciate your kind help! kubectl get networkpolicy gave the following: "No resources found in default namespace." Actually I've tried to run the Kubernetes plugin in a so-called "some" namespace, but there is no networkpolicy in "some" NS neither. (I've changed the na

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-11 Thread Davide F.
Hello Zsolt, Indeed, the NetworkPolicy you've provided doesn't seem to be involved in the issue your facing. Let's keep trying to figure out what's going on with your setup Could you run these commands below kubectl get networkpolicy and if you get some result, run kubectl describe networkpo

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-11 Thread Davide F.
Hi, Are you using some kind of network policy within your cluster ? Best, Davide On Wed, 11 Jan 2023 at 10:53 Zsolt Kozak wrote: > Hello Davide! > > I am running the File Daemon on the master node, on the control plane. > It's Kubernetes vanilla, version 1.25.4. > No, the master node is runni

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-11 Thread Zsolt Kozak
Hi! Yes, but only one tiny: kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: allow-apiserver namespace: calico-apiserver ownerReferences: - apiVersion: operator.tigera.io/v1 kind: APIServer name: default controller: true blockOwnerDeletion: tr

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-11 Thread Zsolt Kozak
Hello Davide! I am running the File Daemon on the master node, on the control plane. It's Kubernetes vanilla, version 1.25.4. No, the master node is running on the same subnet as the workers. It should be some network issue, I think. Best regards, Zsolt On Wed, Jan 11, 2023 at 8:45 AM Davide F.

Re: [Bacula-devel] Kubernetes Plugin not working

2023-01-10 Thread Davide F.
Hello Kozak, I haven’t tried k8s plugin but let me try to understand what could be the root cause of your problem. Could you explain further point 1 please ? On which node are you running the file daemon ? Which version / flavor of Kubernetes are you using ? Is it Kubernetes vanilla ? OpenShift

[Bacula-devel] Kubernetes Plugin not working

2023-01-10 Thread Zsolt Kozak
Hello, I have some problems with backuping Kubernetes PVCs with Bacula Kubernetes Plugin. (I have asked it on bacula-users mailing list but got no answer.) I am using the latest 13.0.1 Bacula from the community builds on Debian Bullseye hosts. Backuping only the Kubernetes objects except Persist