*** eernst has joined #kata-dev | 00:08 | |
*** eernst has quit IRC | 00:15 | |
*** eernst has joined #kata-dev | 00:21 | |
*** eernst has quit IRC | 00:40 | |
*** eernst has joined #kata-dev | 00:59 | |
*** eernst_ has joined #kata-dev | 03:23 | |
*** eernst has quit IRC | 03:23 | |
kata-irc-bot | <sdeoras> hi folks, running into an error using kata-containers with cri-o and flannel on GCP with k8s 1.15.2. Any thoughts on what this error means and how to potentially debug this problem. I get no errors running the same deployment using runc. Thanks: ``` time="2019-08-27T03:59:45.167461348Z" level=warning msg="load sandbox devices failed" arch=amd64 command=create container=5f40b1015b512330fe5cd7250de2580639c0995e3082ed7e90663a973461d075 | 04:23 |
---|---|---|
kata-irc-bot | error="open /run/vc/sbs/5f40b1015b512330fe5cd7250de2580639c0995e3082ed7e90663a973461d075/devices.json: no such file or directory" name=kata-runtime pid=2324 sandbox=5f40b1015b512330fe5cd7250de2580639c0995e3082ed7e90663a973461d075 sandboxid=5f40b1015b512330fe5cd7250de2580639c0995e3082ed7e90663a973461d075 source=virtcontainers subsystem=sandbox ``` | 04:23 |
kata-irc-bot | <fupan> Hi @sdeoras, you can ignore this error, and it isn’t harmful, when you first start a kata container, it will try to load the persistent data, if didn’t find, it will skip this error. | 04:32 |
*** eernst_ has quit IRC | 04:34 | |
kata-irc-bot | <niteshkonkar007> Hi @fupan, can it be made more explicit that this error isn't harmful. My first impression was the same as Saurabh when I first saw it. Reference: https://github.com/kata-containers/runtime/issues/1943#issue-478027131 | 04:36 |
kata-irc-bot | <fupan> Hi @niteshkonkar007, actually that’s error info is logged as a “Warning” instead of an “Error” | 04:43 |
*** eernst has joined #kata-dev | 05:10 | |
*** eernst has quit IRC | 05:50 | |
*** lpetrut has joined #kata-dev | 06:02 | |
*** jodh has joined #kata-dev | 07:20 | |
*** sgarzare has joined #kata-dev | 07:29 | |
*** gwhaley has joined #kata-dev | 08:10 | |
kata-irc-bot | <graham.whaley> @mvedovati @niteshkonkar007 - heh, did you miss us :slightly_smiling_face: Back now eh @james.o.hunt | 08:18 |
kata-irc-bot | <james.o.hunt> Yep - long wait until the next holiday (Christmas Day! ;) | 08:19 |
kata-irc-bot | <mvedovati> despite being remote, it felt like I was the only one in the office :P | 08:20 |
kata-irc-bot | <graham.whaley> I wonder if when we issue a `level=warning`, maybe we should put the message in `warning=xxxx` rather than `error=xxx` - that might help lessen the confusion. Sure, technically `error=xxx` in this case is correct, as it is an error from a file access call.... what think you @james.o.hunt? | 08:22 |
kata-irc-bot | <james.o.hunt> I seem to remember we've had this discussion before. The simplest way to understand these sorts of logs messages is, "a `level=` trumps an `error=`". This is kind of a limitation of the logging package we use as we always log errors using that packages error logging API (which logs an error as `error="..."`). In this particular scenario, we've found a "real error", but we can handle it, so log it and set the log level to "warning" | 08:45 |
kata-irc-bot | to show it wasn't a fatal issue. | 08:45 |
*** eernst has joined #kata-dev | 08:56 | |
*** eernst has quit IRC | 09:02 | |
kata-irc-bot | <niteshkonkar007> Yeah! Cool that you guys are back ! :beers: ;) | 09:03 |
*** sgarzare has quit IRC | 09:40 | |
*** sgarzare has joined #kata-dev | 10:57 | |
*** gwhaley has quit IRC | 11:03 | |
*** fuentess has joined #kata-dev | 12:27 | |
*** gwhaley has joined #kata-dev | 12:32 | |
kata-irc-bot | <sdeoras> Hi Folks, thanks for the feedback. I had started looking into logs from `kata-collect-data.sh` because my pods were failing to start and stuck in container creating stage. kubectl describe says following when running using kata. Same pods are coming up fine with both runc and gVisor. What is the best way to debug this? Thanks: ```Events: Type Reason Age From Message ---- ------ | 12:56 |
kata-irc-bot | ---- ---- ------- Normal Scheduled 14s default-scheduler Successfully assigned default/ping-pong-kata-server-deployment-65d878cd44-sl4pn to ubuntu-8909 Warning FailedCreatePodSandBox 10s kubelet, ubuntu-8909 Failed create pod sandbox: rpc error: code = Unknown desc = error reading container (probably exited) json message: EOF``` | 12:56 |
*** dklyle has quit IRC | 13:38 | |
*** david-lyle has joined #kata-dev | 13:38 | |
kata-irc-bot | <graham.whaley> Just fyi everybody, no kata community call today - too many folks OOO | 13:43 |
kata-irc-bot | <xu> Thanks @graham.whaley | 13:44 |
*** lpetrut has quit IRC | 14:44 | |
*** david-lyle has quit IRC | 15:01 | |
*** david-lyle has joined #kata-dev | 15:01 | |
kata-irc-bot | <james.o.hunt> @sdeoras - please raise a bug on this, pasting the output of `kata-collect-data.sh` into the bug. | 15:42 |
kata-irc-bot | <sdeoras> thank you @james.o.hunt. will file a bug shortly. | 15:46 |
*** david-lyle is now known as dklyle | 16:23 | |
*** sgarzare has quit IRC | 16:34 | |
*** jodh has quit IRC | 17:01 | |
*** gwhaley has quit IRC | 19:33 | |
*** lpetrut has joined #kata-dev | 20:50 | |
*** lpetrut has quit IRC | 20:51 | |
*** lpetrut has joined #kata-dev | 20:51 | |
*** lpetrut has quit IRC | 20:58 | |
*** fuentess has quit IRC | 22:03 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!