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
To get the logs of any pod, run kubectl get logs <pod name>
sudo microk8s kubectl get logs akri-udev-video-090db9-pod
error: the server doesn't have a resource type "logs"
From K8s dashboard:
akri.sh udev_broker ... env_logger::init finished
[2022-02-09T15:28:24Z INFO udev_video_broker] akri.sh Udev Broker logging started
[2022-02-09T15:28:24Z TRACE udev_video_broker] get_video_devnode - getting devnode
[2022-02-09T15:28:24Z TRACE udev_video_broker] get_video_devnode - found devnode /dev/video2
[2022-02-09T15:28:24Z TRACE udev_video_broker::util::camera_capturer] build_and_start_camera_capturer - entered
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 21, kind: IsADirectory, message: "Is a directory" }', samples/brokers/udev-video-broker/src/util/camera_capturer.rs:31:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Video 1:
akri.sh udev_broker ... env_logger::init
akri.sh udev_broker ... env_logger::init finished
[2022-02-09T15:33:53Z INFO udev_video_broker] akri.sh Udev Broker logging started
[2022-02-09T15:33:53Z TRACE udev_video_broker] get_video_devnode - getting devnode
[2022-02-09T15:33:53Z TRACE udev_video_broker] get_video_devnode - found devnode /dev/video1
[2022-02-09T15:33:53Z TRACE udev_video_broker::util::camera_capturer] build_and_start_camera_capturer - entered
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 21, kind: IsADirectory, message: "Is a directory" }', samples/brokers/udev-video-broker/src/util/camera_capturer.rs:31:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
To get the logs of a pod that has already terminated, kubectl get logs <pod name> --previous
If you believe that the problem is with the Kubelet, run journalctl -u kubelet or journalctl -u snap.microk8s.daemon-kubelet if you are using a MicroK8s cluster.
Additional context
Performed suggested clean up actions and went through reinstallation but pods still crash looped. Looks to be an issue with /src/util/camera_capturer being a directory but I didn't want to start deleting random files/directories.
The text was updated successfully, but these errors were encountered:
Hi @ElijahMendez, can you clarify what part of the demo is "up until cameras are deployed". It looks like the mock cameras are not set up correctly. There might be something wrong with the compatability of the v4l2loopback kernel module and the machines you are using. Are you running on Ubuntu? If not, that may be the issue -- i have not tested the mock cameras on other distros.
If so, can you try uninstalling the kernel module sudo modprobe -r v4l2loopback and reinserting them sudo modprobe v4l2loopback exclusive_caps=1 video_nr=1,2?
Issue has been automatically marked as stale due to inactivity for 90 days. Update the issue to remove label, otherwise it will be automatically closed.
Describe the bug
When deploying the demo cameras, the video pods enter a crash loop.
Output of
kubectl get pods,akrii,akric -o wide
Kubernetes Version: [e.g. Native Kubernetes 1.19, MicroK8s 1.19, Minikube 1.19, K3s]
1.23.3
To Reproduce
Not sure, but issue reoccured after removal and reinstallation.
Steps to reproduce the behavior:
Expected behavior
Video pods would not crashloop
Logs (please share snips of applicable logs)
kubectl get logs <pod name>
From K8s dashboard:
Video 1:
kubectl get logs <pod name> --previous
journalctl -u kubelet
orjournalctl -u snap.microk8s.daemon-kubelet
if you are using a MicroK8s cluster.Additional context
Performed suggested clean up actions and went through reinstallation but pods still crash looped. Looks to be an issue with /src/util/camera_capturer being a directory but I didn't want to start deleting random files/directories.
The text was updated successfully, but these errors were encountered: