Monday, 2020-11-09

*** auk has joined #kata-general01:50
kata-irc-bot<bergwolf> I don’t have crio environment at hand. but can you try v1.18.3? kata is constantly being tested with v1.18.3 with CI.02:56
*** auk has quit IRC04:37
zer0defalready have tried with 1.19 once I noticed tickets that related to 1.18.3 and 1.18.4, turns out that procfs isn't properly mounted in the rootfs mount passed through to the VM, might have something to do with running K8S nodes within LXD containers05:07
*** theodosiaNa has quit IRC06:30
*** theodosiaNa has joined #kata-general06:37
*** sgarzare has joined #kata-general07:47
*** sameo has joined #kata-general09:37
*** sameo has quit IRC10:55
*** sameo has joined #kata-general11:18
zer0defout of curiosity - does Kata expect a proper FHS in infra container's image? the VM gets rootfs mounted RO, so after an initial failure to mount /proc, it attempts to create it, fails and falls over leaving the above message12:18
zer0defsince my current configuration uses `pause_image = "docker.io/rancher/pause:3.1-amd64"`, which only provides the /pause binary, I'm not sure where the behavior I'm experiencing breaks away from intended operation12:22
*** sameo has quit IRC13:05
*** devimc has joined #kata-general13:10
*** sameo has joined #kata-general13:18
kata-irc-bot<b.oosterhof> Thanks to all who voted!  https://youtu.be/PnsP1zhpNxE13:21
*** fuentess has joined #kata-general14:01
zer0defpretty sure https://github.com/cri-o/cri-o/blob/master/server/sandbox_run_linux.go#L423 is causing my headaches with cri-o14:16
*** devimc has quit IRC15:15
zer0defor not, so I'm open to providing whatever logs might help15:55
*** devimc has joined #kata-general16:39
zer0defalright, rebuilt crio to not set root as readonly and a pausing image that has FHS, that's *with* running virtiofs patched kernels and quem, so at this point I'm clueless - any feedback would be welcome16:46
zer0defrelated agent log: http://ix.io/2Dzx16:57
*** pvdp665564 has quit IRC17:08
devimczer0def,  'rebuilt crio to not set root as readonly' ?17:30
devimcwhat do you mean?17:31
devimccontainer rootfs or VM rootfs ?17:31
zer0defchanged the boolean to false here, but to no avail: https://github.com/cri-o/cri-o/blob/master/server/sandbox_run_linux.go#L42317:31
zer0defand by rootfs, I guess I'm referring to container's rootfs17:32
zer0defthough, in my particular circumstance, I find it strange that the VM wouldn't be able to mount it's own /proc, in spite of running inside of an LXD system container17:33
zer0defI'm bind-mounting binaries, libraries and images into those system containers, for clarity17:34
devimczer0def, so, kata is running in a LXD container?17:34
zer0defperhaps I should specifically link to the piece of shell that more clearly describes what's being bound over17:35
zer0defthese two links ought to provide enough context on what I'm doing: https://github.com/zer0def/aquarium/blob/master/aquarium.sh#L60 https://github.com/zer0def/aquarium/blob/master/aquarium.sh#L33117:37
zer0defbut yes, essentially that's K8S-on-LXD with Kata, also made sure qemu genuinely launches by itself17:37
devimczer0def, ptal https://github.com/kata-containers/runtime/issues/3021  -not sure if this is the same error17:41
zer0defit looks like the same thing, only mapped to kata2 and I did notice an `MS_PRIVATE` rebind in the strace log17:44
devimczer0def, s/MS_PRIVATE/MS_SHARED/g  ?17:46
devimcos MS_SLAVE ?17:46
devimc*or17:46
zer0defpretty sure it was a rebind to MS_PRIVATE17:46
devimccool17:47
zer0defhttp://ix.io/2DzR17:48
zer0deflet me follow through the steps the reporter went through and report back17:49
zer0defyep, a quick `mkdir -p /run/kata-containers/shared/sandboxes && mount --bind --make-rshared /run/kata-containers/shared/sandboxes /run/kata-containers/shared/sandboxes` fixes the situation, thanks for bringing up that particular issue, devimc18:55
*** sgarzare has quit IRC19:01
devimczer0def, that's great! :)19:30
kata-irc-bot<eric.ernst> devimc: ack? https://github.com/kata-containers/runtime/pull/304819:31
devimcdone :)19:34
*** pvdp665564 has joined #kata-general20:32
*** fuentess has quit IRC21:14
*** fuentess has joined #kata-general21:32
*** devimc has quit IRC21:52
kata-irc-bot<s257117> Hello, I'm a student from polytechnic of Turin, computer engineering. I hope I am in the right place to ask questions. I'm actually trying to benchmark I/O (with fio) of different container runtimes but i can't understand why I'm obtaining better results with kata (65.5K IOPS) instead of runc (14.7K IOPS), can someone explain me why?22:32

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!