Friday, 2018-05-18

*** zerocoolback has joined #kata-dev00:00
*** LinuxMe has quit IRC00:11
*** zerocoolback has quit IRC00:19
*** LinuxMe has joined #kata-dev00:19
*** zerocoolback has joined #kata-dev00:19
*** LinuxMe has quit IRC00:23
*** LinuxMe has joined #kata-dev00:24
*** zerocoolback has quit IRC00:26
*** zerocoolback has joined #kata-dev00:27
*** LinuxMe has quit IRC00:29
*** zerocoolback has quit IRC00:30
*** zerocoolback has joined #kata-dev00:32
*** zerocoolback has joined #kata-dev00:32
*** LinuxMe has joined #kata-dev00:36
*** annabelleB has quit IRC00:39
*** LinuxMe has quit IRC00:41
*** zerocoolback has quit IRC01:05
*** zerocoolback has joined #kata-dev01:05
*** zerocoolback has quit IRC01:06
*** zerocoolback has joined #kata-dev01:09
*** zerocoolback has quit IRC01:13
*** dlw has joined #kata-dev01:45
*** zerocoolback has joined #kata-dev01:51
*** mcastelino has quit IRC02:02
*** zerocoolback has quit IRC02:03
*** zerocoolback has joined #kata-dev02:27
*** zerocoolback has quit IRC02:45
*** zerocool_ has joined #kata-dev02:45
*** zerocool_ has quit IRC03:43
*** zerocoolback has joined #kata-dev03:46
*** Jeffrey4l has quit IRC03:48
*** zerocoolback has quit IRC03:54
*** Jeffrey4l has joined #kata-dev03:55
kata-dev-irc-bot<bergwolf> @stefanha Does fedora act different? I did test initramfs with alpine and centos rootfs and they do not require udev to create `/dev/virtio-ports`, which thus I assumed is created by the kernel instead.04:31
*** mcastelino has joined #kata-dev04:38
*** sjas_ has joined #kata-dev04:50
*** sjas has quit IRC04:53
*** LinuxMe has joined #kata-dev04:53
*** djinni has quit IRC05:04
*** LinuxMe has quit IRC05:11
*** djinni has joined #kata-dev05:15
*** dlw1 has joined #kata-dev05:26
*** dlw has quit IRC05:27
*** dlw1 is now known as dlw05:27
*** eernst has quit IRC05:56
*** sameo_ has joined #kata-dev06:09
*** jodh has joined #kata-dev06:10
*** jodh has quit IRC06:10
*** jodh has joined #kata-dev06:10
*** sameo_ has quit IRC06:25
kata-dev-irc-bot<caihaomin> @bergwolf @james.o.hunt @eric.ernst https://github.com/kata-containers/runtime/pull/299 ready to merge~~ CI is green now!  thx~06:56
*** mcastelino has quit IRC07:04
*** sameo has joined #kata-dev07:51
*** zerocoolback has joined #kata-dev07:52
*** zerocoolback has quit IRC07:56
*** zerocoolback has joined #kata-dev07:56
*** davidgiluk has joined #kata-dev07:59
*** zerocoolback has quit IRC09:51
*** zerocoolback has joined #kata-dev10:37
*** dlw has quit IRC11:23
*** devimc has joined #kata-dev11:58
*** fuentess has joined #kata-dev12:36
*** eernst has joined #kata-dev12:53
stefanhaAny tips on debugging the Kata VM if QEMU doesn't launch or the guest powers down quickly?  In those cases I don't get useful syslog output from the runtime.12:57
stefanhaIdeally I'd like to see the VM's console output and disable the "quiet" kernel parameter.12:57
stefanhaSo far I've run Kata's QEMU command-line manually so I could debug things.  It works manually now but is still silent when run under Kata, so I need to start debugging it within Kata.12:59
*** sameo has quit IRC13:01
devimcstefanha, https://gist.github.com/devimc/f8e3373d8d8e6b3b5b56441d04875f2a13:10
devimccould be useful13:10
stefanhadevimc: Thanks!  I was wondering what console.sock was for and never got any output from it :)13:11
devimcstefanha, if you want to attach to console.sock you need to disable debugging in config file13:12
stefanhadevimc: Great, will try that!13:12
devimcand you need a custom kata image13:12
devimctake a look to osbuilder13:12
stefanhadevimc: Okay, I am already building my own.13:12
stefanhadevimc: Why is a custom image necessary?  I remember the debug options being in the kata runtime configuration file, so how does the image come into play?13:13
devimcstefanha, you need bash in the image to attach to console.sock and have a prompt13:14
devimcalso once you have the image13:14
devimcyou should modify the kata service13:14
devimchttps://gist.github.com/devimc/f8e3373d8d8e6b3b5b56441d04875f2a#to-debug-cc-agent-through-consolesock-add-next-line-to-cc-agenttarget-cc-2x-or-clear-containerstarget-cc-3013:14
stefanhadevimc: I see, thanks!13:14
devimcto include a service that will start bash13:14
devimconce you are attached to console.sock you will be in the same level than the agent13:16
*** eernst has quit IRC13:17
*** eernst has joined #kata-dev13:18
devimcstefanha, in kata the path to the target file is different13:19
devimc/usr/lib/systemd/system/kata-containers.target13:19
devimcstefanha, https://paste.fedoraproject.org/paste/5LSwt-W7Tf3sGLiYa2m6rQ13:19
devimcand this is my debug-console.service13:20
devimchttps://paste.fedoraproject.org/paste/l~BALZFI5T102W-o-5tXag13:20
stefanhadevimc: Thanks.  QEMU is terminating too quickly, I think the agent is refusing to start and the guest powers down.13:21
stefanhaI guess I'll modify the runtime to remove "nowait" from -chardev console.sock.  I want it to wait until I have the console in place :)13:22
*** dklyle has quit IRC13:22
stefanhaQEMU is disappearing too quickly and the console output is lost.13:22
*** dlw has joined #kata-dev13:30
devimcstefanha, what version of qemu are you using ?13:30
devimcstefanha, also you need to update all components13:31
devimcrunning docker or k8s?13:31
stefanhadevimc: Docker13:31
devimcumm ok that's weird13:32
devimcenable debugging and check the journal13:32
devimcsudo journalctl -b -t kata-proxy13:32
devimcsudo journalctl -b -t kata-runtime13:32
stefanhadevimc: I'm not using a stock Kata, I'm building from source and trying the Fedora rootfs.13:32
stefanhaAnd distro QEMU, so I'm not expecting things to work out-of-the-box.13:33
devimcyour host is RH ?13:33
stefanhaWas just wondering if there are smarter ways to debug than what I've been doing :)13:33
stefanhadevimc: yes13:33
devimcouch!13:33
devimcI'm not sure if RH QEMU works with kata13:37
stefanhadevimc: Right13:39
devimcif qemu version is > 2.7 it should works13:40
devimcstefanha, you could build it from source and try13:41
devimchttps://github.com/kata-containers/qemu/tree/qemu-lite-2.11.013:41
stefanhadevimc: Yes, building QEMU from source should work.13:41
jodhstefanha: the debug console info is now in the dev guide: https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#set-up-a-debug-console13:42
jodhstefanha: I'm surprised you don't get any useful messages if you've enabled *full* debug? https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#enable-full-debug13:42
* stefanha checks for agent.log=debug13:43
stefanhaI was missing agent.log=debug, thanks!13:43
*** diga has joined #kata-dev13:49
*** annabelleB has joined #kata-dev13:51
*** eernst has quit IRC13:52
*** dlw has quit IRC14:01
*** zerocoolback has quit IRC14:14
*** sameo has joined #kata-dev15:13
*** eernst has joined #kata-dev15:16
*** annabelleB has quit IRC15:18
*** zerocoolback has joined #kata-dev15:45
*** mrcastel has quit IRC15:51
*** mrcastel has joined #kata-dev15:51
*** eernst has quit IRC15:57
*** eernst has joined #kata-dev15:57
*** dklyle has joined #kata-dev15:58
*** devimc has quit IRC15:59
*** eernst_ has joined #kata-dev16:01
*** eernst has quit IRC16:02
*** eernst has joined #kata-dev16:03
*** eernst has quit IRC16:03
*** eernst_ has quit IRC16:03
*** eernst has joined #kata-dev16:03
*** zerocoolback has quit IRC16:09
*** eernst has quit IRC16:12
*** eernst has joined #kata-dev16:13
*** eernst_ has joined #kata-dev16:14
*** eernst has quit IRC16:15
*** eernst_ has quit IRC16:15
*** eernst has joined #kata-dev16:15
*** eernst has quit IRC16:19
*** eernst has joined #kata-dev16:19
*** eernst has quit IRC16:20
*** zerocoolback has joined #kata-dev16:22
*** eernst has joined #kata-dev16:22
*** annabelleB has joined #kata-dev16:45
*** mrcastel has quit IRC16:47
*** mrcastel has joined #kata-dev16:49
*** david-lyle has joined #kata-dev16:52
*** devimc has joined #kata-dev16:54
*** dklyle has quit IRC16:56
*** david-lyle has quit IRC16:56
*** dklyle has joined #kata-dev16:57
*** jodh has quit IRC17:03
*** zerocoolback has quit IRC17:07
*** zerocoolback has joined #kata-dev17:07
*** zerocoolback has quit IRC17:13
*** zerocoolback has joined #kata-dev17:13
*** zerocoolback has quit IRC17:13
*** zerocoolback has joined #kata-dev17:14
*** zerocoolback has quit IRC17:14
*** zerocoolback has joined #kata-dev17:15
*** zerocoolback has joined #kata-dev17:15
*** zerocoolback has quit IRC17:16
*** zerocoolback has joined #kata-dev17:16
*** zerocoolback has quit IRC17:17
*** zerocoolback has joined #kata-dev17:17
*** zerocoolback has quit IRC17:17
*** diga has quit IRC17:19
*** david-lyle has joined #kata-dev17:55
*** dklyle has quit IRC17:58
*** mrcastel has quit IRC18:00
*** dklyle_ has joined #kata-dev18:03
*** david-lyle has quit IRC18:06
*** mrcastel has joined #kata-dev18:21
*** mrcastel has quit IRC18:23
*** mrcastel has joined #kata-dev18:24
*** dklyle_ has quit IRC18:35
*** annabelleB has quit IRC19:01
*** annabelleB has joined #kata-dev19:03
*** annabelleB has quit IRC19:04
*** dklyle has joined #kata-dev19:25
*** LinuxMe has joined #kata-dev19:28
*** LinuxMe has quit IRC19:42
*** davidgiluk has quit IRC19:56
*** devimc has quit IRC20:34
*** annabelleB has joined #kata-dev20:42
*** fuentess has quit IRC20:43
*** fuentess has joined #kata-dev20:44
*** fuentess has quit IRC21:34
*** eernst has quit IRC21:57
*** eernst has joined #kata-dev21:57
*** eernst has quit IRC21:57
*** eernst has joined #kata-dev21:58
*** eernst has quit IRC21:58
*** LinuxMe has joined #kata-dev22:03
*** fuentess has joined #kata-dev22:10
*** eernst has joined #kata-dev22:11
*** LinuxMe has quit IRC22:13
*** eernst has quit IRC22:14
*** eernst has joined #kata-dev22:14
*** eernst has quit IRC22:18
*** eernst has joined #kata-dev22:18
*** eernst has quit IRC22:23
*** LinuxMe has joined #kata-dev22:26
*** LinuxMe has quit IRC22:30
*** fuentess has quit IRC22:49
kata-dev-irc-bot<tallclair> FYI - ​I've just added a section to my sandboxes doc analyzing the ​attack surfaces that would be exposed to sandboxed pods: https://docs.google.com/document/d/1QQ5u1RBDLXWvC8K3pscTtTRThsOeBSts_imYEoRyw8A/edit#heading=h.x07ordtme9n.23:00
kata-dev-irc-bot<tallclair> Feedback on this would be very much appreciated!23:00
*** annabelleB has quit IRC23:14
*** sameo has quit IRC23:22
*** annabelleB has joined #kata-dev23:53

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!