Thursday, 2018-09-20

*** e0ne has joined #openstack-loci07:16
pbourkejaypipes: I can answer at least question 1 :) the image size shown on the badge is the compressed size07:37
pbourkesame reason as on docker hub, centos for example shows 75MB, where when you pull it locally it shows ~200MB07:39
pbourkefor question 2, I think there would be no problem with having a base rhel image in the repo if someone were willing to help maintain it07:42
pbourkefor more heavy customisation I think the idea would be that you would maintain a set of your own Dockerfiles which would inherit FROM: the loci ones07:44
pbourkeThe main differences between loci and kolla are that loci uses standard docker tooling for its dockerfiles and building resulting in OCI compliant files, rather than the jinja2 templating kolla employs. Loci images are also more CI friendly due to the fact they dont use a shared base layer, but SamYaple or portdirect can explain that better than I can right now07:52
pbourkeand yes the images are generally smaller :)07:53
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: Move Ubuntu base to Bionic  https://review.openstack.org/60338407:57
pbourkejaypipes: loci stands for 'lightweight' + OCI08:01
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: [WIP] Add a profile for kolla images  https://review.openstack.org/58325508:50
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: [WIP] Add a profile for kolla images  https://review.openstack.org/58325509:15
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: [WIP] Add a profile for kolla images  https://review.openstack.org/58325509:33
jaypipespbourke: thx very much for you answers! much appreciated :)10:36
jaypipespbourke: just to clarify, when you say the main difference is that loci uses standard Docker tooling for its dockerfiles (versus jinja2 for templatizing Dockerfiles like kolla does), what specifically are you referring to as "standard docker tooling"? thanks in advance!10:38
pbourkejaypipes: essentially you can clone loci and run 'docker build ...'. Where as with kolla you need to use the provided tooling to render the jinja and so forth10:41
jaypipespbourke, portdirect: as for not having a shared base layer, how does loci accomplish that? is there some sort of stripping or compaction that occurs in the loci image build process? since I assume each image "inherits" from some base (i.e. there is a FROM something in the Dockerfile versus a FROM scratch, right?)10:41
jaypipespbourke: ah, I see, gotcha.10:41
pbourkethe python requirements are built as wheels ahead of time and fetched into each image10:42
pbourkethere's benefits to doing this that would be better left up to the lads to explain10:42
pbourkeI believe its along the lines of, to get a consistent set of images with kolla, you have to build everything so you know they're all using the same requirements base layer10:43
pbourkewith loci you could build keystone today and a week from now and be confident that it has the same dependency versions10:44
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: Move Ubuntu base to Bionic  https://review.openstack.org/60338410:52
jaypipespbourke: well, even with kolla images, since they're immutable (once you push them to artifact repository with a tag of course) wouldn't it be possible to determine the contents of that immutable image afterwards?10:53
pbourkeit would probably be possible to something similar with kolla11:02
pbourkebut right now its not being done11:02
jaypipesk11:03
pbourkeif you're interested in kolla, I'm working on a project to bring loci images to kolla11:04
jaypipespbourke: you mean bringing the loci image build process to kolla? or to allow kolla to use loci's images as its base image layers?11:05
pbourkethe latter - to allow kolla-ansible to deploy loci images11:05
jaypipesunderstood.11:08
*** pbourke has quit IRC11:25
*** pbourke has joined #openstack-loci11:26
*** e0ne has quit IRC13:48
*** jaypipes is now known as jaypipes-ooo14:03
*** e0ne has joined #openstack-loci14:56
openstackgerritPaul Bourke (pbourke) proposed openstack/loci master: [WIP] Add a profile for kolla images  https://review.openstack.org/58325515:22
*** pbourke has quit IRC15:30
*** e0ne has quit IRC16:41
openstackgerritJean-Philippe Evrard proposed openstack/loci master: Fix typo  https://review.openstack.org/60416416:59
*** e0ne has joined #openstack-loci18:10
*** munimeha1 has joined #openstack-loci18:16
*** e0ne has quit IRC19:03
*** e0ne has joined #openstack-loci19:30
*** e0ne has quit IRC19:34
*** e0ne has joined #openstack-loci19:43
*** munimeha1 has quit IRC21:29
*** e0ne has quit IRC21:36
*** spsurya has quit IRC22:48
*** spsurya has joined #openstack-loci22:50

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