Monday, 2018-07-02

*** trungnv has joined #openstack-dib01:14
*** openstackgerrit has quit IRC01:49
*** openstackgerrit has joined #openstack-dib04:22
openstackgerritOlivier Bourdon proposed openstack/diskimage-builder master: Fix for proper LVM support  https://review.openstack.org/57616804:22
*** andreas_s has joined #openstack-dib05:10
*** andreas_s has quit IRC05:13
*** andreas_s has joined #openstack-dib05:14
*** andreas_s has quit IRC05:18
*** andreas_s has joined #openstack-dib06:25
*** brault has joined #openstack-dib07:56
*** sambetts|afk has quit IRC08:40
*** sambetts_ has joined #openstack-dib08:47
*** andreas_s has quit IRC09:34
*** andreas_s has joined #openstack-dib09:36
*** andreas_s has quit IRC09:38
*** andreas_s has joined #openstack-dib09:38
*** sambetts_ is now known as sambetts09:45
*** andreas_s has quit IRC09:54
*** andreas_s has joined #openstack-dib09:55
*** andreas_s has quit IRC10:05
*** hkominos has joined #openstack-dib10:05
*** andreas_s has joined #openstack-dib10:10
hkominosHi all. Is this the right channel to ask a dev question about DIB ?10:14
*** andreas_s has quit IRC10:34
*** andreas_s has joined #openstack-dib10:35
*** andreas_s has quit IRC10:44
*** andreas_s has joined #openstack-dib10:45
*** andreas_s has quit IRC10:57
*** andreas_s has joined #openstack-dib10:57
*** vmlinuz has joined #openstack-dib11:56
*** vmlinuz has joined #openstack-dib11:56
*** pavel_V has quit IRC12:47
*** chhagarw has joined #openstack-dib13:07
*** chhavi__ has joined #openstack-dib13:10
*** chhagarw has quit IRC13:12
openstackgerritSaverio Proto proposed openstack/diskimage-builder master: Add support for Fedora 28  https://review.openstack.org/57913113:23
*** hkominos has left #openstack-dib13:28
openstackgerritSaverio Proto proposed openstack/diskimage-builder master: Add support for Fedora 28  https://review.openstack.org/57913114:40
*** andreas_s has quit IRC15:12
*** andreas_s has joined #openstack-dib15:13
*** andreas_s has quit IRC15:14
*** andreas_s has joined #openstack-dib15:14
*** vmlinuz has quit IRC15:19
*** mjturek has joined #openstack-dib15:20
*** vmlinuz has joined #openstack-dib15:37
*** vmlinuz has joined #openstack-dib15:37
*** pavel_V has joined #openstack-dib16:03
*** mjturek has quit IRC16:09
*** sambetts is now known as sambetts|afk16:24
*** andreas_s has quit IRC16:31
*** andreas_s has joined #openstack-dib16:32
*** andreas_s has quit IRC16:37
*** andreas_s has joined #openstack-dib16:39
*** andreas_s has quit IRC16:44
*** pavel_V has quit IRC16:58
*** mjturek has joined #openstack-dib17:11
*** mjturek has quit IRC17:25
*** mjturek has joined #openstack-dib17:28
*** chhavi__ has quit IRC17:34
*** abaindur has joined #openstack-dib18:08
openstackgerritSam Yaple proposed openstack/diskimage-builder master: Add keyring if supplied  https://review.openstack.org/57965818:10
*** mjturek has quit IRC18:17
*** mjturek has joined #openstack-dib18:19
*** mjturek has quit IRC18:27
*** mjturek has joined #openstack-dib18:30
openstackgerritSam Yaple proposed openstack/diskimage-builder master: Add keyring if supplied  https://review.openstack.org/57965818:34
*** pavel_V has joined #openstack-dib18:56
*** SamYaple has joined #openstack-dib19:25
SamYapleid like a bit more flexibility in the configuration of sources.list department. Would and apt-sources element that the debian distro family could consume be reasonable? that way i can easily 'provides' that element with my own19:26
*** pavel_V has quit IRC20:08
*** abaindur has quit IRC20:42
*** vmlinuz has quit IRC21:06
*** abaindur has joined #openstack-dib21:13
*** mjturek has quit IRC21:15
SamYapleunless someone comments here saying "it will never merge", im working on something like https://review.openstack.org/#/c/539375/ for apt-sources. end goal is for me to consume ubuntu-minimal and build against my works apt mirrors and keys22:28
SamYapleright now im duplicating ubuntu-minimal and modifying to achieve the end results, but would prefer a native upstream solution22:29
clarkbSamYaple: there is already a variable to set the mirror isn't there? Is the issue the keys?22:29
clarkbDIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/ubuntu'22:30
SamYaplekey is one issue, https://review.openstack.org/#/c/579658/22:30
SamYaplehttps://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/ubuntu-minimal/root.d/75-ubuntu-minimal-baseinstall#L25-L3022:30
SamYaplethats the other issue22:30
SamYaplei dont have backports/update/security22:31
SamYaple(the mirror is an aptly thing that squashes them)22:31
clarkbthats unfortunate22:31
SamYapleso i just need full control over the sources.list and `ubuntu-minimal` doesnt provide it22:31
SamYapleits fine, its not a big thing. its the final piece22:31
SamYaplejust want a way that makes people happy22:31
clarkbI mean aptly making a mirror that is less of a mirror22:32
SamYapleheh well i cant comment on that22:32
SamYaplecards you are dealt and all22:32
clarkbI think if you want that kind of control it would be good to have the existing ubuntu elements consume it in a backward compatbile fashion22:33
clarkbbut then also give you more control to set it however you like22:33
clarkb(maybe keep existing env var behavior then add a "just use this file" option that overrides)22:33
SamYapleive already got a `package-sources-ubuntu` that provides `package-sources` and produces the default image teh same way.22:34
SamYaplei then created a custom element that provides `package-sources` just like the `block-device-*` stuff22:34
SamYapleive got a touch of polishing, but its working the same way22:35
SamYapleand in this context `package-sources` is a new dep i introduces to `ubuntu-minimal`22:35
SamYaplei guess i just want to know if im on the right path to solve this in an upstream accepted way, or if i need to take a different approach22:37
clarkbah I'm not super familiar with how the provides/depends on stuff works as far as selection and defaults22:40
SamYapleclarkb: https://review.openstack.org/#/c/539375/9/diskimage_builder/lib/common-functions22:42
SamYaplehack in the fuction name, so you know its something you *really* want to start building on22:42
SamYaplefwiw, debian solved this in a different way (for different reasons) and this would be able to unify those ways22:44
SamYapledebian-minimal element**22:44
SamYapleconcivibly this would also be able to extend to centos repos and keys as well22:45
clarkbwould probably be nice to hvae a more generic way to express a requirement iwth many implementations and a default, but not sure its necessary to add this. ianw would be the person to weigh in on that22:45
clarkbin this case could you use a single element and not need to have multiple elements for the functionality?22:45
SamYapleif I was backing in a generic "parse these apt sources list env vars" element, sure22:46
SamYaplei was doing the provides thing because my solution will not work upstream, but thats the only bit of code in `ubuntu-minimal` i would need to swap out22:46
SamYaplethe `element-provides` stuff allows me to swap out that code, though not by its original intention probably22:47
clarkbright, my idea was continue to support the exisitng interfaces then just have an explicit override with this content option22:47
clarkbI guess that doesn't address the key issue22:47
SamYaplethis is the debian solution, https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/debian-minimal/root.d/75-debian-minimal-baseinstall#L3222:48
SamYapleand i can work with that if we copy it to ubuntu-minimal22:48
SamYapleany solution that addresses the "i dont control sources.list throughout the build" works for me. this is about code reuse for me22:49
clarkbSamYaple: ya I think you could add that to ubuntu-minimal as an override of the existing DIB_DISTRIBUTION_MIRROR22:50
SamYapleI do use DIB_DISTRIBUTION_MIRROR for what its worth22:51
SamYapleill push two patches, one that `element-provides` and one that copies debian. both retaining default behaviour22:52
SamYapleclarkb: thanks for walking me through some of this. ianw if you have any additional thoughts, im all ears22:52
*** abaindur has quit IRC23:10
*** pmannidi has joined #openstack-dib23:15
*** abaindur has joined #openstack-dib23:29
ianwSamYaple: hrm, my initial thought is that we sort of copy in repos similarly for centos in the gate23:41
ianwhttps://review.openstack.org/#/c/566779/60/roles/dib-setup-gate-mirrors/tasks/main.yaml is moving it to zuulv323:44

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