Tuesday, 2016-12-06

*** sudipto has joined #openstack-dib03:00
*** sudipto_ has joined #openstack-dib03:00
*** brault has quit IRC03:04
openstackgerritMerged openstack/diskimage-builder: elements: Drop executable bits from environment files  https://review.openstack.org/38744103:18
openstackgerritMerged openstack/diskimage-builder: Delete deprecated Hacking in tox.ini  https://review.openstack.org/40655503:19
*** sudipto_ has quit IRC04:25
*** sudipto has quit IRC04:25
*** mordred has quit IRC04:26
*** greghaynes has quit IRC04:26
*** greghaynes has joined #openstack-dib05:03
*** mordred has joined #openstack-dib05:04
*** mordred has quit IRC05:18
*** sudipto has joined #openstack-dib05:18
*** sudipto_ has joined #openstack-dib05:18
*** mat128 has quit IRC05:19
*** mat128 has joined #openstack-dib05:23
*** mordred has joined #openstack-dib05:27
*** chhavi has joined #openstack-dib05:27
*** chhavi has quit IRC05:41
*** chhavi has joined #openstack-dib05:48
*** sudipto_ has quit IRC06:28
*** sudipto has quit IRC06:28
openstackgerritNoam Angel proposed openstack/diskimage-builder: redhat-common add option to select networking service NetworkManager/network  https://review.openstack.org/39217006:44
*** sudipto has joined #openstack-dib06:51
*** sudipto_ has joined #openstack-dib06:52
*** mat128 has quit IRC07:22
*** mat128 has joined #openstack-dib07:23
*** mordred has quit IRC07:25
*** mordred has joined #openstack-dib07:34
openstackgerritIan Wienand proposed openstack/diskimage-builder: Preserve backwards compat for expand_dependencies  https://review.openstack.org/40738608:05
*** brault has joined #openstack-dib08:13
*** chhavi has quit IRC08:45
*** strigazi_AFK is now known as strigazi09:28
*** sudipto_ has quit IRC09:47
*** sudipto has quit IRC09:47
*** chhavi has joined #openstack-dib10:32
*** jaianshu has joined #openstack-dib10:38
*** chhavi has quit IRC11:08
*** owalsh has joined #openstack-dib11:13
*** chhavi has joined #openstack-dib11:22
*** jaianshu_ has joined #openstack-dib11:33
*** jaianshu has quit IRC11:36
*** jaianshu_ has quit IRC12:49
*** pmannidi has quit IRC13:27
*** chhavi has quit IRC13:37
*** sudipto has joined #openstack-dib14:59
*** sudipto_ has joined #openstack-dib14:59
openstackgerritAntoine Musso proposed openstack/diskimage-builder: debootstrap: avoid duplicate network configuration  https://review.openstack.org/40755115:00
openstackgerritAntoine Musso proposed openstack/diskimage-builder: debootstrap: avoid duplicate network configuration  https://review.openstack.org/40755115:05
*** hashar has joined #openstack-dib15:07
johnsomHi DIB folks.  Can we get some reviews on https://review.openstack.org/#/c/406413/ and https://review.openstack.org/#/c/406420/ ?15:16
johnsomThese combined fix an issue impacting the Octavia project scenario tests / image builds.  Thanks!15:16
*** owalsh has quit IRC16:14
*** dmarlin has joined #openstack-dib16:28
*** chhavi has joined #openstack-dib17:14
*** sudipto_ has quit IRC17:32
*** sudipto has quit IRC17:32
*** hashar is now known as hasharEat18:02
*** chhavi has quit IRC18:32
*** hasharEat is now known as hashar19:05
*** pleia2 has quit IRC19:34
*** pleia2 has joined #openstack-dib19:34
openstackgerritgreghaynes proposed openstack/diskimage-builder: Fix pip-and-virtualenv to work with python3  https://review.openstack.org/40772321:51
openstackgerritAndrey Shestakov proposed openstack/diskimage-builder: Fix dhcp-all-interfaces for ubuntu-minimal xenial  https://review.openstack.org/40772522:03
greghaynesianw: I replied to you on https://review.openstack.org/#/c/406413/2 - its messy but thats the best I could come up with22:04
openstackgerritAndrey Shestakov proposed openstack/diskimage-builder: Fix dhcp-all-interfaces for ubuntu-minimal xenial  https://review.openstack.org/40772522:05
ianwjohnsom greghaynes : so it does get left in the image (sysctl-write-value) at /usr/local/bin as a tool for later potentional use, right?22:12
greghaynesyes22:13
greghaynesthe issue is - the logic bug means its broken22:13
ianwoh, i agree it's not safe to use during the build.  it's just super confusing to me if a host built with tripleo elements has the same script but it does different things22:14
johnsomI agree, it is confusing.22:15
greghaynesactually, are we sure it gets left in the image?22:15
greghaynesI thought it did, but now I cant remember if bin/ automagically does that22:15
johnsomI guess I missed that everything in bin just gets picked up.  The tripleo element has an install.d so I figure that is where it was getting installed22:15
ianwif it's in bin/ then it gets copied to /usr/local/bin by install-bin22:15
greghaynesok22:16
ianwthe other idea, if we can be more radical, is to support elements having their own sysctl.conf snippets22:16
ianwand making this element merge them into the final sysctl.conf22:16
greghaynesoh definitely, this is doing it the old, wrong way22:17
greghaynesI just want to try and back us out of the backwards compat mess somehow :/22:17
ianwthat way, nothing gets left on the host, and we don't try to apply settings to the build kernel22:17
johnsomYeah, that makes sense.  How fast can we pull that off though?  Right now our gates ground to a halt after that os- change last week22:18
greghaynesjohnsom: for your gates - you all just need to switch from sysctl-set-value to sysctl-write-value, right?22:19
ianwjohnsom: what's calling "-apply" during the build?22:19
ianwsorry, "set-value" (which does the apply)22:19
ianwyeah, i think same point as greghaynes22:19
johnsomI guess I could, but would lose the check for duplicate settings.22:20
johnsomduplicate/conflicting22:21
greghaynesok. So maybe the fix is we deprecate this whole element, make a new element (dib-sysctl) and add a dib-sysctl-set-value there which DTRT. Eventually when we do it 'the right way' it can live in that element and we can deprecte the dib-sysctl-set-value22:22
greghaynesand the reason for deprecating the whole element is its the only way we can really give a proper deprecation warning (we dont know if someone will use the tripleo or dib version of the element)22:22
ianwwhy don't we add the duplicate setting check to the write-value command?22:24
ianwi think that was the prior changeset?22:24
greghaynesI think latest does it, it just also changes -set. The only issue with that is the potential deal where youre using the tripleo version22:24
greghaynesif were fine with that potential bug though I think thats ok22:24
greghaynesactually, yea - the check shouldnt ever hurt, it just adds a safeguard22:25
ianwyeah, if we leave the "set" command alone, it's compatible?22:26
greghaynesok, now I want to write the element to do this correctly so we can get rid of this22:26
greghaynesor if we just remove it22:26
greghaynesoh I see what youre saying, if we make one that errors its wierd22:26
greghaynesok yea, just leave it22:27
greghaynesjohnsom: sorry for the roundabout. I think leave the -set for now (maybe with a comment about how this needs to die) and then keep you -write fix22:27
johnsomOk22:27
ianwyep, and johnsom's build needs to use "-write" ... not "-set" ... that's a bug that should be mentioned in the README.rst22:28
ianwv2 would be nice here :)  makes it much easier to walk the element list and cat the files together22:29
greghaynesdefinitely22:29
johnsomI think we should keep the seperate sysctl files and not try to mess with sysctl.conf22:30
ianwoh yeah, that's even easier just dumping the files into sysctl.d22:30
greghaynesjohnsom: agreed - I think the plan is more to let elements write out sysctl.conf snippets then have an element which copies them all in place22:30
johnsom+122:31
openstackgerritIan Wienand proposed openstack/diskimage-builder: Copy sysctl.d snippets  https://review.openstack.org/40773922:40
ianwgreghaynes johnsom : ^ version 0.1 :)22:40
*** hashar has quit IRC22:46
johnsomgreghaynes Looks like something is missing the python-dev package as a dependency: https://review.openstack.org/#/c/407723/22:51
johnsomianw Mind if I take that and add the conflict check?22:52
*** yolanda has quit IRC22:52
*** yolanda has joined #openstack-dib22:54
johnsomI would just do a simple one for now, just aborting on duplicate filenames, but I guess that isn't so safe given people can call the files whatever they want this way22:54
ianwjohnsom: no, of course, edit away! :)22:57
openstackgerritMichael Johnson proposed openstack/diskimage-builder: Update sysctl-write-value to do conflict checking  https://review.openstack.org/40641323:00
johnsomThat one just updates the write to do conflict checking23:00
*** yolanda has quit IRC23:04
greghaynesjohnsom: oh thats fun23:11
*** yolanda has joined #openstack-dib23:13
*** pmannidi has joined #openstack-dib23:13
*** yolanda has quit IRC23:22
openstackgerritgreghaynes proposed openstack/diskimage-builder: Fix pip-and-virtualenv to work with python3  https://review.openstack.org/40772323:26
openstackgerritgreghaynes proposed openstack/diskimage-builder: Fix pip-and-virtualenv to work with python3  https://review.openstack.org/40772323:30
*** yolanda has joined #openstack-dib23:35
openstackgerritgreghaynes proposed openstack/diskimage-builder: Fix pip-and-virtualenv to work with python3  https://review.openstack.org/40772323:38
*** dmarlin has quit IRC23:39
*** yolanda has quit IRC23:43
openstackgerritMichael Johnson proposed openstack/diskimage-builder: Copy sysctl.d snippets  https://review.openstack.org/40773923:44
johnsomianw What do you think about that?  ^^^   Do I need an awk dependency?23:45
greghayneswow thats gnarly23:45
greghaynesfwiw its trivial to use python in place of bash if that ends up being easier23:46
johnsomToo gnarly?23:46
greghaynesuhh, i dont think so23:46
greghaynesbut yes you should add an awk dep23:46
johnsomBasically it's "skip comments, make sure the line has an =, then look for a duplicate and exit if you find one"23:46
greghaynesmaybe a comment about that too23:47
ianwjohnsom: not bad, you could split it over lines to make it a little clearer.  i'd also like to see it exit with some sort of sensible message describing the issue23:48
johnsomI guess it has a bug in that if the duplicate has an identical value it will exit23:49
ianwi think that's probably ok ... if two things are setting the same value (even to the same thing) it seems to indicate they should get together and sort it out for real23:50
ianwhttps://git.openstack.org/cgit/openstack-dev/devstack/tree/inc/meta-config#n97 are some gnarly awk's that are at least a little readable23:50

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