*** eernst_ has quit IRC | 00:03 | |
*** eernst has joined #kata-dev | 00:09 | |
*** eernst has quit IRC | 00:11 | |
*** eernst has joined #kata-dev | 00:11 | |
*** eernst_ has joined #kata-dev | 00:13 | |
*** eernst has quit IRC | 00:13 | |
*** eernst_ has quit IRC | 00:17 | |
*** Jeffrey4l has left #kata-dev | 00:58 | |
*** pcaruana has joined #kata-dev | 04:23 | |
*** igordc has joined #kata-dev | 05:49 | |
*** igordc has quit IRC | 05:54 | |
*** igordc has joined #kata-dev | 05:54 | |
*** igordc has quit IRC | 06:02 | |
*** pcaruana has quit IRC | 06:48 | |
*** pcaruana has joined #kata-dev | 06:55 | |
*** lpetrut has joined #kata-dev | 07:19 | |
*** sgarzare has joined #kata-dev | 07:22 | |
*** jodh has joined #kata-dev | 07:32 | |
*** lpetrut has quit IRC | 08:02 | |
*** gwhaley has joined #kata-dev | 08:03 | |
*** sgarzare has quit IRC | 10:34 | |
*** gwhaley has quit IRC | 11:11 | |
*** sgarzare has joined #kata-dev | 11:26 | |
*** devimc has joined #kata-dev | 11:56 | |
*** stackedsax has quit IRC | 12:02 | |
*** stackedsax has joined #kata-dev | 12:03 | |
*** gwhaley has joined #kata-dev | 12:10 | |
*** sgarzare has quit IRC | 13:36 | |
*** sgarzare has joined #kata-dev | 13:37 | |
kata-irc-bot2 | <james.o.hunt> @mvedovati - hi! You may have missed the ping, but do you know how to install pip on SLES 12? :slightly_smiling_face: I think I need that to be able to install `yamllint` on that distro. | 13:46 |
---|---|---|
kata-irc-bot2 | <mvedovati> hey @james.o.hunt. hasn't @gabriela.cervantes.te answered to it already? It should be `zypper in python2-pip` | 13:47 |
kata-irc-bot2 | <james.o.hunt> @mvedovati - doh! I am really, *really* going off chrome and it's lazy page loads/unloads. A bypass-caching page reload now shows me her message - thanks! | 13:49 |
kata-irc-bot2 | <mvedovati> lol :slightly_smiling_face: now that i am checking, `yamllint` is provided as a package too | 13:50 |
*** tmhoang has quit IRC | 13:51 | |
*** tmhoang has joined #kata-dev | 13:51 | |
kata-irc-bot2 | <james.o.hunt> really? Does it have an odd name as I'd originally tried to install it, but it wasn't found? Maybe a different repo I need to add? | 13:52 |
kata-irc-bot2 | <mvedovati> there's both `python2-yamllint` and `python3-yamllint` packages | 13:58 |
kata-irc-bot2 | <mvedovati> i'm speaking for openSUSE, but for SLE *should* be the same | 13:58 |
kata-irc-bot2 | <mvedovati> @james.o.hunt ^ | 13:58 |
kata-irc-bot2 | <james.o.hunt> @mvedovati - does sles only have the `python2` package though I wonder? | 14:03 |
kata-irc-bot2 | <mvedovati> @james.o.hunt I checked | 14:13 |
kata-irc-bot2 | <mvedovati> I am afraid `pip` may not be available in the base repositories | 14:13 |
kata-irc-bot2 | <mvedovati> for SLE12SP3 | 14:13 |
kata-irc-bot2 | <mvedovati> the only way to officially add it is to enable the "Public Cloud" module | 14:15 |
kata-irc-bot2 | <mvedovati> @james.o.hunt, however, after some googling you can do like this: ``` $ sudo zypper in python-setuptools $ sudo easy_install pip ``` | 14:18 |
kata-irc-bot2 | <james.o.hunt> @mvedovati - sorry - all we actually need is `yamllint`. I was installing `pip` to allow me to install `yamllint` from `pip`. But if we can just install official `yamllint` packages directly with `zypper`, that's perfect ;) | 14:23 |
kata-irc-bot2 | <james.o.hunt> So my only question is: "does sles 12 have `python3-yamllint` or does it only have `python2-yamllint`?" | 14:23 |
kata-irc-bot2 | <mvedovati> @james.o.hunt neither of those unluckily. those packages are only available in openSUSE | 14:24 |
kata-irc-bot2 | <mvedovati> sorry for the ambiguity | 14:24 |
*** devimc has quit IRC | 14:25 | |
*** devimc has joined #kata-dev | 14:25 | |
*** devimc has joined #kata-dev | 14:25 | |
kata-irc-bot2 | <james.o.hunt> @mvedovati - Hmm, SLES still not happy: `No provider of 'python2-pip' found.` | 14:32 |
kata-irc-bot2 | <mvedovati> @james.o.hunt do like this to install `pip`: https://katacontainers.slack.com/archives/C879ACQ00/p1556288319164700 | 14:32 |
kata-irc-bot2 | <james.o.hunt> I'm afraid to ask, but would that be `python2-setuptools` for sles? :slightly_smiling_face: | 14:33 |
kata-irc-bot2 | <mvedovati> @james.o.hunt, it's just `python-setuptools` :slightly_smiling_face: no worry you can ask if in doubt | 14:38 |
*** kashyap has joined #kata-dev | 14:44 | |
kata-irc-bot2 | <james.o.hunt> @mvedovati - from the opensuse CI logs: `Package 'python3-yamllint' not found.` | 14:45 |
*** devimc_ has joined #kata-dev | 14:48 | |
kata-irc-bot2 | <mvedovati> @james.o.hunt I should have mentioned before, those packages are only available on openSUSE Tumbleweed and Leap 15.1 | 14:49 |
*** devimc has quit IRC | 14:49 | |
*** eernst has joined #kata-dev | 15:11 | |
*** devimc_ has quit IRC | 16:15 | |
*** devimc has joined #kata-dev | 16:18 | |
*** igordc has joined #kata-dev | 16:18 | |
*** devimc has quit IRC | 17:01 | |
*** jodh has quit IRC | 17:01 | |
*** devimc has joined #kata-dev | 17:02 | |
*** sgarzare has quit IRC | 17:45 | |
*** gwhaley has quit IRC | 17:51 | |
*** dims has quit IRC | 19:25 | |
*** dims has joined #kata-dev | 19:30 | |
*** dims has quit IRC | 19:31 | |
*** gmmaharaj has joined #kata-dev | 19:47 | |
*** gmmaha has quit IRC | 19:49 | |
*** gmmaharaj is now known as gmmaha | 19:49 | |
*** khyr0n has joined #kata-dev | 20:06 | |
*** devimc has quit IRC | 20:30 | |
*** dims has joined #kata-dev | 20:48 | |
*** pcaruana has quit IRC | 21:16 | |
kata-irc-bot2 | <gmmaharaj> hey @salvador.fuentes around? | 21:25 |
kata-irc-bot2 | <gmmaharaj> friday evening the worst time to ping someone.. my most sincere apologies for that. | 21:25 |
kata-irc-bot2 | <salvador.fuentes> hi @gmmaharaj still here | 21:38 |
kata-irc-bot2 | <gmmaharaj> hey there @salvador.fuentes | 21:38 |
kata-irc-bot2 | <gmmaharaj> i am trying to get virtio-fs enabled with our current tree. we were wondering if we can add some jobs where we test it out. Just the basic feature wise. | 21:39 |
kata-irc-bot2 | <gmmaharaj> is that something you can help with? | 21:39 |
kata-irc-bot2 | <salvador.fuentes> sure, I was thinking in using the existing nemu job, wdyt? | 21:40 |
kata-irc-bot2 | <gmmaharaj> ohh that would definitely work | 21:41 |
kata-irc-bot2 | <salvador.fuentes> yeah, we would only need to configure virtio-fs when testing with nemu, do you know if it is stable enough to try to run all tests? or we should start with some subset | 21:43 |
kata-irc-bot2 | <gmmaharaj> i am not really sure about the stability.. haven't been able to test it that extensively. | 21:44 |
kata-irc-bot2 | <gmmaharaj> can we run a single build with the full subset. if it fails, we can scale back? | 21:44 |
kata-irc-bot2 | <salvador.fuentes> sure, do you have the directions to configure it? | 21:45 |
kata-irc-bot2 | <gmmaharaj> https://virtio-fs.gitlab.io/howto-kata.html | 21:45 |
kata-irc-bot2 | <gmmaharaj> the one that is most important for us is this. | 21:45 |
kata-irc-bot2 | <gmmaharaj> https://gitlab.com/virtio-fs/runtime/snippets/1846963/raw | 21:46 |
kata-irc-bot2 | <gmmaharaj> grep for `virtio_fs` there | 21:46 |
kata-irc-bot2 | <gmmaharaj> the ones we care about are, `shared_fs`, `virtio_fs_daemon`, 'virtio_fs_cache_size`, `virtio_fs_cache` and `enable_hugepages ` | 21:47 |
*** igordc has quit IRC | 21:55 | |
kata-irc-bot2 | <salvador.fuentes> thanks, taking a look | 22:01 |
*** khyr0n has quit IRC | 22:06 | |
kata-irc-bot2 | <archana.m.shinde> @gmmaharaj dont think you need `enable_hugepages` | 22:07 |
kata-irc-bot2 | <gmmaharaj> @archana.m.shinde i thought virtio-fs needs hugepage support so that the qemu will create that mapping file for handling memory mapping | 22:07 |
kata-irc-bot2 | <archana.m.shinde> I'll let @sebastien.boeuf comment ^, but if we need hugepages then it would be quite limiting | 22:09 |
kata-irc-bot2 | <sebastien.boeuf> we don't need hugepages, but that's the easy way to get /dev/shm shared file backing the shared memory | 22:10 |
kata-irc-bot2 | <sebastien.boeuf> the code (kata) requires some changes to allow shared memory without hugepages | 22:11 |
kata-irc-bot2 | <eric.ernst> (agreed on it being limiting) | 22:11 |
kata-irc-bot2 | <eric.ernst> its experimental start though... | 22:11 |
kata-irc-bot2 | <sebastien.boeuf> the way qemu/govmm is implemented, the shared memory config flag is only taken into account if you have a factory I think | 22:12 |
kata-irc-bot2 | <sebastien.boeuf> but yeah long term we should make sure the shared memory get enabled by using virtio-fs | 22:12 |
kata-irc-bot2 | <sebastien.boeuf> the requirement about this should be transparent for the user | 22:12 |
kata-irc-bot2 | <archana.m.shinde> @sebastien.boeuf ok understood, was not aware of this condition | 22:14 |
kata-irc-bot2 | <eric.ernst> same here. | 22:14 |
kata-irc-bot2 | <sebastien.boeuf> which condition? | 22:14 |
kata-irc-bot2 | <eric.ernst> (looks to see if there's a design doc PR yet) | 22:14 |
kata-irc-bot2 | <sebastien.boeuf> the need for /dev/shm, OR the limitation from Kata code? | 22:15 |
kata-irc-bot2 | <sebastien.boeuf> https://github.com/kata-containers/runtime/pull/1016#issuecomment-481809593 | 22:16 |
kata-irc-bot2 | <sebastien.boeuf> https://github.com/kata-containers/runtime/pull/1016#issuecomment-482498651 | 22:16 |
kata-irc-bot2 | <sebastien.boeuf> Stefan will take care of it as a follow up PR | 22:17 |
kata-irc-bot2 | <archana.m.shinde> @sebastien.boeuf both, like Eric mentioned would be good to have the design doc | 22:19 |
kata-irc-bot2 | <archana.m.shinde> the number of huge pages on a system are limited, by making the entire VM memory backed by huge pages we essentially reduce container density I think | 22:20 |
kata-irc-bot2 | <sebastien.boeuf> yes that makes sense | 22:21 |
kata-irc-bot2 | <archana.m.shinde> @sebastien.boeuf so its just the /dev/shm that needs to be huge pages? I dont totally have the entire picture | 22:21 |
kata-irc-bot2 | <sebastien.boeuf> no, we don't even *need* hugepages. We *need* the guest RAM to be backed by a shared file `/dev/shm` equivalent to the size of the RAM, but the only way to enable this QEMU feature easily from Kata is to use the "hugepages" config option in our toml | 22:23 |
kata-irc-bot2 | <archana.m.shinde> ok | 22:25 |
kata-irc-bot2 | <sebastien.boeuf> when playing with virtio-fs , I never used hugepages | 22:25 |
kata-irc-bot2 | <sebastien.boeuf> as mentioned by stefan, hugepages might give you better performances, according to the type of files that you're trying to share | 22:26 |
kata-irc-bot2 | <sebastien.boeuf> and usually those files being more than 4K, you get better perfs with hugepages | 22:27 |
kata-irc-bot2 | <archana.m.shinde> ok got it | 22:30 |
kata-irc-bot2 | <archana.m.shinde> we need to cleanly expose a mechanism to have memory backed by a file on the host | 22:31 |
kata-irc-bot2 | <gmmaharaj> aaah clearly my understanding was wrong. | 22:38 |
kata-irc-bot2 | <gmmaharaj> thanks for the clarification @archana.m.shinde @sebastien.boeuf @eric.ernst | 22:38 |
kata-irc-bot2 | <sebastien.boeuf> np | 22:38 |
*** eernst has quit IRC | 22:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!