Wednesday, 2019-12-04

*** igordc has quit IRC01:44
*** igordc has joined #kata-general01:51
*** auk has joined #kata-general02:41
*** igordc has quit IRC02:43
*** auk has quit IRC06:07
*** kata-irc-bot has quit IRC06:37
*** kata-irc-bot has joined #kata-general06:37
*** sameo has joined #kata-general07:54
*** sgarzare has joined #kata-general08:15
*** sameo has quit IRC08:17
*** lpetrut has joined #kata-general08:17
*** lpetrut has quit IRC08:23
*** manny has quit IRC08:23
*** kata-irc-bot has quit IRC08:24
*** irclogbot_0 has quit IRC08:24
*** mugsie has quit IRC08:24
*** rha has quit IRC08:24
*** Wimpress has quit IRC08:24
*** serverascode has quit IRC08:24
*** stackedsax has quit IRC08:24
*** sgarzare has quit IRC08:24
*** trom has quit IRC08:24
*** zer0def has quit IRC08:24
*** sjas has quit IRC08:24
*** EricAdamsZNC has quit IRC08:24
*** tobberydberg has quit IRC08:24
*** tmhoang has quit IRC08:24
*** ChanServ has quit IRC08:24
*** sgarzare has joined #kata-general08:24
*** kata-irc-bot has joined #kata-general08:24
*** mugsie has joined #kata-general08:24
*** Wimpress has joined #kata-general08:24
*** rha has joined #kata-general08:24
*** zer0def has joined #kata-general08:24
*** manny has joined #kata-general08:24
*** irclogbot_0 has joined #kata-general08:24
*** tmhoang has joined #kata-general08:24
*** trom has joined #kata-general08:24
*** stackedsax has joined #kata-general08:24
*** serverascode has joined #kata-general08:24
*** sjas has joined #kata-general08:24
*** EricAdamsZNC has joined #kata-general08:24
*** tobberydberg has joined #kata-general08:24
*** ChanServ has joined #kata-general08:24
*** orwell.freenode.net sets mode: +o ChanServ08:24
*** gwhaley has joined #kata-general09:04
*** kata-irc-bot has quit IRC10:20
*** kata-irc-bot1 has joined #kata-general10:21
kata-irc-bot1<manchenchen> Hi ,I have one question regarding kata filesystem。 i find the fs config in the toml,can i change it to the virtio-fs and what's different with 9p。thanks .11:30
kata-irc-bot1<manchenchen>11:31
kata-irc-bot1<graham.whaley> hi @manchenchen - hopefully https://github.com/kata-containers/documentation/blob/master/how-to/how-to-use-virtio-fs-with-kata.md will help clarify ? :slightly_smiling_face:11:35
kata-irc-bot1<manchenchen> Thanks ,let me check11:37
kata-irc-bot1<manchenchen> @graham.whaley Another question regarding --privileged . I see the issue in the github and kata will map the host device into vm when grant privileged access .Do we have  parameter to solve the problem now ?11:46
kata-irc-bot1<graham.whaley> @manchenchen - need more info -  do you have a link to the Issue - post here, and we can have a look. I presume you have a specific use case in mind (passing in a device?)11:48
kata-irc-bot1<manchenchen> https://github.com/kata-containers/runtime/issues/1568   This one .And My case is that I want to run the systemd in the docker with runtime kata ,I can only use the --privileged then the systemd can work normally .I notice that --privileged will pass the hosts device into the VM .so my need is only get the all capabilities but not pass the host device into VM ,thanks @graham.whaley11:51
kata-irc-bot1<graham.whaley> ^^ @julio.montes @eric.ernst as they may have more ideas11:54
kata-irc-bot1<graham.whaley> oh, and @archana.m.shinde for device stuff ^^12:07
*** gwhaley has quit IRC12:07
kata-irc-bot1<manchenchen> OK ,I will wait .12:12
*** gwhaley has joined #kata-general13:43
*** manny has quit IRC14:04
*** manny has joined #kata-general14:09
*** manny has quit IRC14:13
*** manny has joined #kata-general14:19
kata-irc-bot1<manchenchen> @eric.ernst may you have any ideas about this questions14:30
*** sameo has joined #kata-general14:37
kata-irc-bot1<eric.ernst> Hi. The configuration on devices is within the upper layers (crio/containerd).14:43
kata-irc-bot1<eric.ernst> You can run pric v w out mounting devices.14:44
kata-irc-bot1<manchenchen> @eric.ernst sorry ,can you provide the sample to disable host device mapping into vm?14:52
kata-irc-bot1<manchenchen> how to change the configuration in the containerd14:52
kata-irc-bot1<eric.ernst> Once I get to office I can take a look :)15:03
*** sameo has quit IRC16:11
*** lpetrut has joined #kata-general16:56
*** sgarzare has quit IRC17:29
kata-irc-bot1<archana.m.shinde> @manchenchen you can avoid host devices from being passed to the container in privileged mode.18:00
kata-irc-bot1<archana.m.shinde> have a look at this https://github.com/kata-containers/documentation/blob/master/how-to/privileged.md18:00
kata-irc-bot1<archana.m.shinde> the docs refer to a flag for containers, similar logic will work for cri-o as well18:00
kata-irc-bot1<archana.m.shinde> will be pushing an update for it18:01
*** gwhaley has quit IRC18:02
*** igordc has joined #kata-general18:25
*** lpetrut has quit IRC19:48
*** peluse has joined #kata-general19:55
kata-irc-bot1<paul.e.luse> QQ (I hope): I’m trying to hardcode some params on the qemu cmd line via adding them where the binary is specified in the configuration.toml and that doesn’t seem to work. Example failing output is “file /usr/bin/qemu-vanilla-system-x86_64 -smp 2 does not exist: unknown.” When I try to run an image. Is there a relatively easy to do this? FYI I’m not actually trying to specify smp, just figured that was a simple enough20:28
kata-irc-bot1Thanks!20:28
kata-irc-bot1<julio.montes> @paul.e.luse what about creating a new qemu.sh script and append your options there ?20:37
kata-irc-bot1<julio.montes> something like this  #!/bin/bash qemu-vanilla-system-x86_64  $@   --custom-options bla bla20:38
kata-irc-bot1<paul.e.luse> @julio.montes thanks yeah I tried that and got a different error. I only tried once as it was a shot in the drak, I’ll try again and make sure I didn’t fat-finger something…20:42
kata-irc-bot1<julio.montes> @paul.e.luse you need to use the fullpath i.e   path="/path/to/qemu.sh"20:47
kata-irc-bot1<julio.montes> and don't quote $@20:48
kata-irc-bot1<julio.montes> and chmod +x qemu.sh20:49
kata-irc-bot1<paul.e.luse> @julio.montes thanks much! Have to sit in a few meetings and I’ll give it a whirl…20:58
*** sameo has joined #kata-general22:53
*** sameo has quit IRC23:56

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