You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deployment was failing with the following error message (as shown by kubectl events -n srsran): 32m (x8 over 33m) Warning Failed Pod/srsran-project-cudu-chart-75995dccf9-cz4vd Error: Error response from daemon: invalid volume specification: '/mnt/debugging-logs/2024-09-11--09:59:23:/tmp'
I see 2 potential causes in corresponding deployment.yaml:
It seems that some component in the chain, at least on my system, doesn't like column in the host path (even though directory itself was created correctly in the host file system):
{{- if .Values.debugging.enabled }}
- name: srs-host-volume
hostPath:
path: {{ .Values.debugging.hostPath }}/{{ now | date "2006-01-02--15:04:05" }}
type: DirectoryOrCreate
{{- end }}
Avoiding columns helped:
{{- if .Values.debugging.enabled }}
- name: srs-host-volume
hostPath:
path: {{ .Values.debugging.hostPath }}/{{ now | date "20060102-150405" }}
type: DirectoryOrCreate
{{- end }}
In the containers: section there seems to be swapped name and mountPath for the debugging log volume:
{{- if .Values.debugging.enabled }}
- mountPath: {{ .Values.debugging.containerPath }}
name: srs-host-volume
{{- end }}
I would assume the following is correct:
{{- if .Values.debugging.enabled }}
- name: srs-host-volume
mountPath: {{ .Values.debugging.containerPath }}
{{- end }}
Once I applied those 2 fixes, deployment went through including debugging logs volume and I can now access gnb.log on host.
The text was updated successfully, but these errors were encountered:
hudouseko
added a commit
to hudouseko/srsRAN_Project_helm
that referenced
this issue
Sep 12, 2024
Hi, when I tried to deploy with enabled debugging in custom values.yaml:
deployment was failing with the following error message (as shown by
kubectl events -n srsran
):32m (x8 over 33m) Warning Failed Pod/srsran-project-cudu-chart-75995dccf9-cz4vd Error: Error response from daemon: invalid volume specification: '/mnt/debugging-logs/2024-09-11--09:59:23:/tmp'
I see 2 potential causes in corresponding
deployment.yaml
:Avoiding columns helped:
containers:
section there seems to be swappedname
andmountPath
for the debugging log volume:I would assume the following is correct:
Once I applied those 2 fixes, deployment went through including debugging logs volume and I can now access gnb.log on host.
The text was updated successfully, but these errors were encountered: