Closed usma0118 closed 2 months ago
@usma0118: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
already tried #2946 without any success.
already tried #2946 without any success.
Can you provide the docker run
command that was executed?
already tried #2946 without any success.
Can you provide the
docker run
command that was executed?
I am using k8s with helm, not docker. if you want to see chart values, those can be seen here: https://pastebin.com/mAZgwKV5
Hello,
We are working on a long-term fix for this type of issue that should be part of 1.6.3, but in the meantime, you can try the following:
pod.yaml
with the following content (make sure the crowdsec version specified is the same as the one you use):
apiVersion: v1
kind: Pod
metadata:
name: temp-cscli-update
spec:
containers:
- name: temp-cscli-update
image: crowdsecurity/crowdsec:v1.6.2
command: ["sh", "-c", "ln -s /etc/crowdsec_data /etc/crowdsec && cscli hub update"]
volumeMounts:
- mountPath: /etc/crowdsec_data
name: crowdsec-agent-config
volumes:
- name: crowdsec-agent-config
persistentVolumeClaim:
claimName: crowdsec-agent-config-pvc
restartPolicy: Never
kubectl apply -f pod.yaml
kubectl logs temp-cscli-update
kubectl delete -f pod.yaml
@usma0118 Did the provided workaround managed to fix the issue? if not please reopen the issue and provided relevant details as to why it did not work or resolve the issue
What happened?
crowdsec agent startup failed with following error:
What did you expect to happen?
for crowdsect agent to startup and load collections.
How can we reproduce it (as minimally and precisely as possible)?
upgrade running helm version: 0.10.0 to version: 0.11.0
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.