Saturday, 2013-08-10

*** ladquin has quit IRC00:00
*** koobs has quit IRC00:04
*** koobs has joined #openstack-infra00:04
openstackgerritJames E. Blair proposed a change to openstack-infra/devstack-gate: WIP: new nodepool  https://review.openstack.org/4095200:09
jeblairmordred, fungi: ^ it's about 98% there; needs statsd, and i think that's it.00:10
*** koobs has quit IRC00:15
*** ewindisch has quit IRC00:21
*** sarob_ has quit IRC00:31
*** sarob has joined #openstack-infra00:32
*** sarob_ has joined #openstack-infra00:36
*** sarob has quit IRC00:36
*** sarob_ has quit IRC00:45
*** sarob has joined #openstack-infra00:45
*** sarob_ has joined #openstack-infra00:50
*** sarob has quit IRC00:51
*** vipul is now known as vipul-away00:52
*** sarob_ has quit IRC01:00
*** sarob has joined #openstack-infra01:03
*** emagana has quit IRC01:12
*** sarob has quit IRC01:21
*** sarob_ has joined #openstack-infra01:22
*** mriedem has joined #openstack-infra01:23
*** anteaya has quit IRC01:31
*** sarob_ has quit IRC01:32
*** sarob has joined #openstack-infra01:33
*** sarob has quit IRC01:37
*** sarob has joined #openstack-infra01:37
*** sarob has quit IRC01:42
*** mjfork has quit IRC01:47
*** dkliban has joined #openstack-infra01:51
*** seagulls has quit IRC01:51
*** sarob has joined #openstack-infra01:53
*** jfriedly has quit IRC01:55
*** ewindisch has joined #openstack-infra02:06
*** mriedem has quit IRC02:12
*** jerryz has quit IRC02:12
*** sarob has quit IRC02:29
*** sarob has joined #openstack-infra02:30
*** koobs has joined #openstack-infra02:32
*** sarob has quit IRC02:34
*** jerryz has joined #openstack-infra03:12
*** sdake_ has quit IRC03:35
*** sarob has joined #openstack-infra03:40
*** jerryz has quit IRC03:41
*** sarob has quit IRC03:45
*** sarob has joined #openstack-infra03:49
mordredjeblair: you are awesomepants03:54
*** sdake_ has joined #openstack-infra04:03
*** changbl has quit IRC04:07
*** dkliban has quit IRC04:16
*** sarob has quit IRC04:17
*** sarob has joined #openstack-infra04:17
*** sarob has quit IRC04:21
*** erfanian has quit IRC04:23
*** Ryan_Lane has joined #openstack-infra04:27
*** ewindisch has quit IRC04:28
*** ewindisch has joined #openstack-infra04:32
*** vogxn has joined #openstack-infra04:33
*** ewindisch has quit IRC04:44
*** sarob has joined #openstack-infra04:51
*** sarob has quit IRC04:58
*** sarob has joined #openstack-infra04:58
*** ewindisch has joined #openstack-infra05:00
*** melwitt has quit IRC05:02
*** sarob has quit IRC05:02
*** Ryan_Lane has quit IRC05:03
*** ewindisch has quit IRC05:13
*** afazekas has joined #openstack-infra05:38
*** vogxn has quit IRC05:47
*** Ryan_Lane has joined #openstack-infra05:55
*** sarob has joined #openstack-infra06:09
*** sarob has quit IRC06:14
*** flashgordon is now known as jog006:16
*** Ryan_Lane has quit IRC06:46
marundevstack broken...again06:51
*** nayward has joined #openstack-infra06:57
*** sarob has joined #openstack-infra07:08
*** Ryan_Lane has joined #openstack-infra07:10
*** sarob has quit IRC07:12
*** koolhead11 has joined #openstack-infra07:25
*** Ryan_Lane has quit IRC07:29
*** sarob has joined #openstack-infra07:38
*** sarob has quit IRC07:47
*** odyssey4me has quit IRC07:59
*** odyssey4me has joined #openstack-infra08:00
*** sarob has joined #openstack-infra08:13
openstackgerritDavid Caro proposed a change to openstack-infra/jenkins-job-builder: Added more options to the Build Timeout plugin  https://review.openstack.org/3932908:17
*** sarob has quit IRC08:18
openstackgerritDavid Caro proposed a change to openstack-infra/jenkins-job-builder: Improved the gerrit trigger  https://review.openstack.org/4064408:29
*** mikal has quit IRC08:41
*** nayward has quit IRC08:42
*** nayward has joined #openstack-infra08:42
*** mikal has joined #openstack-infra08:43
openstackgerritDavid Caro proposed a change to openstack-infra/jenkins-job-builder: Added ignore-cache and flush-cache options  https://review.openstack.org/4065108:45
openstackgerritDavid Caro proposed a change to openstack-infra/jenkins-job-builder: Added more options to the Build Timeout plugin  https://review.openstack.org/3932908:51
*** sarob has joined #openstack-infra09:14
*** sarob has quit IRC09:19
*** nayward has quit IRC09:38
*** vogxn has joined #openstack-infra09:48
lifelessdstufft: is there a way to make pip install -d <foo> where foo or one of foo's deps is already downloaded, not download it again? ATM it prompts (wipe/backup/ignore)10:00
*** sarob has joined #openstack-infra10:14
*** sarob has quit IRC10:19
*** koolhead11 has quit IRC10:31
*** mjblack has joined #openstack-infra10:38
*** mjblack_ has quit IRC10:42
*** marun has quit IRC11:05
*** nayward has joined #openstack-infra11:10
*** sarob has joined #openstack-infra11:15
*** sarob has quit IRC11:20
*** nayward has quit IRC11:39
openstackgerritDirk Mueller proposed a change to openstack-dev/hacking: Reword H404 description to match check  https://review.openstack.org/4124011:59
*** vogxn has quit IRC12:16
*** mjblack_ has joined #openstack-infra12:19
*** mjblack has quit IRC12:22
*** sdake_ has quit IRC12:32
*** cp16net_ has joined #openstack-infra12:43
*** mjblack has joined #openstack-infra12:45
*** krtaylor_ has joined #openstack-infra12:45
*** sarob has joined #openstack-infra12:45
*** sarob has quit IRC12:50
*** wayneseguin has joined #openstack-infra12:50
*** cp16net has quit IRC12:50
*** wayneeseguin has quit IRC12:50
*** krtaylor has quit IRC12:50
*** mjblack_ has quit IRC12:50
*** mordred has quit IRC12:50
*** wayneseguin is now known as wayneeseguin12:51
*** cp16net_ is now known as cp16net12:52
*** nayward has joined #openstack-infra12:55
*** mordred has joined #openstack-infra12:57
Alex_GaynorIf I wanted to steal the apache header check from hacking, for use in a non-opnestack project, how much work would that be?12:59
*** nayward has quit IRC13:00
*** rustlebee is now known as russellb13:05
*** vogxn has joined #openstack-infra13:11
*** jjmb has quit IRC13:14
sdagueAlex_Gaynor: you can pull the hacking project pretty easily, and just disable the parts you don't like13:14
sdagueit's one of the reasons we made it a separate pip13:15
sdagueit might be easier than gutting out the code13:15
*** vogxn has quit IRC13:15
*** vogxn has joined #openstack-infra13:16
*** vogxn has quit IRC13:20
*** dkliban has joined #openstack-infra13:32
mordredAlex_Gaynor: yup. what sdague said. that said - it's all just a collection of flake8 plugins13:41
mordredAlex_Gaynor: so it would likely be very little work13:41
*** GheRivero is now known as GheRivero_CH13:44
*** sarob has joined #openstack-infra13:46
*** ewindisch has joined #openstack-infra13:47
*** dkliban has quit IRC13:50
*** sarob has quit IRC13:50
Alex_GaynorThanks.13:51
openstackgerritRussell Bryant proposed a change to openstack-infra/reviewstats: Add disagreement stats  https://review.openstack.org/4124313:57
openstackgerritA change was merged to openstack-infra/reviewstats: Add disagreement stats  https://review.openstack.org/4124313:57
*** ewindisch has quit IRC14:00
sdaguemordred: you understand what's wrong here? http://logs.openstack.org/95/40995/2/gate/gate-requirements-integration-no-mirror/64792bf/console.html.gz14:02
sdaguethat blocks this - https://review.openstack.org/#/c/40995/14:02
sdaguewhich blocks writing the devstack fix14:02
mordredsdague: yes. and I just noticed that the fix to the jenkins jobs hadn't applied because puppet was stuck14:02
sdagueok14:03
mordredI restarted puppet, applied the fix, and am re-rechking a pbr change14:03
sdaguecool14:03
mordredsdague: however - reverify away - the fix removes that job (which was new) from requirements14:04
sdagueok, cool14:07
*** sdake_ has joined #openstack-infra14:09
*** sdake_ has joined #openstack-infra14:09
*** russellb has quit IRC14:13
*** fungi has quit IRC14:20
*** jpeeler has joined #openstack-infra14:21
*** russellb has joined #openstack-infra14:22
openstackgerritRussell Bryant proposed a change to openstack-infra/reviewstats: Refactor into a main() function  https://review.openstack.org/4124414:27
openstackgerritA change was merged to openstack-infra/reviewstats: Refactor into a main() function  https://review.openstack.org/4124414:27
*** dkehn has quit IRC14:28
*** dkehn has joined #openstack-infra14:29
*** mberwanger has joined #openstack-infra14:30
*** fungi has joined #openstack-infra14:34
*** dkehn has quit IRC14:35
*** dkehn has joined #openstack-infra14:38
*** sarob has joined #openstack-infra14:47
*** sarob has quit IRC14:52
*** nayward has joined #openstack-infra14:55
*** nayward has quit IRC14:58
openstackgerritA change was merged to openstack/requirements: add option for adding a suffix to output files  https://review.openstack.org/4099515:00
*** russellb has quit IRC15:09
*** russellb has joined #openstack-infra15:12
*** mberwanger has quit IRC15:15
*** mberwanger has joined #openstack-infra15:21
*** changbl has joined #openstack-infra15:30
*** changbl has quit IRC15:36
*** erfanian has joined #openstack-infra15:38
*** sarob has joined #openstack-infra15:47
*** sarob has quit IRC15:51
*** jpeeler has quit IRC16:02
*** sarob has joined #openstack-infra16:11
fungifyi, got impatient waiting to turn cacti back on and opened https://launchpad.net/bugs/121082216:20
uvirtbotLaunchpad bug 1210822 in cacti "Please import 0.8.8b+dfsg-2 from Debian and backport security fixes to 12.04 LTS" [Undecided,New]16:20
*** Protux has joined #openstack-infra16:25
*** sarob has quit IRC16:29
*** sarob has joined #openstack-infra16:29
clarkbfungi: thank you, I miss cacti too16:31
fungigranted, the version containing the fix to the regression introduced by the version with the security fixes only just got uploaded to debian16:31
fungilike, yesterday sometime16:32
clarkbI hope to review the nodepool code tomorrow once I have recovered from everything that is going on16:33
clarkbwe are thankfully not going to Mt. Rainier today16:33
fungiaww, that sounds like fun though16:33
*** sarob has quit IRC16:33
clarkbI am too tired16:33
*** mberwanger has quit IRC16:37
*** Adri2000_ is now known as Adri200016:39
*** erfanian has quit IRC16:42
*** erfanian has joined #openstack-infra16:53
*** odyssey4me has quit IRC16:53
*** Steely_Dan is now known as dansmith16:55
*** nayward has joined #openstack-infra16:56
*** nayward has quit IRC17:00
*** boris-42 has joined #openstack-infra17:08
*** dkliban has joined #openstack-infra17:21
*** pabelanger has quit IRC17:30
*** sarob has joined #openstack-infra17:40
*** sarob has quit IRC17:45
jgriffithfungi: clarkb Any idea why my change is running Python 3 pep-8?  https://jenkins01.openstack.org/job/gate-cinder-pep8/96/console18:03
jgriffithfungi: clarkb fresh devstack setup with this patch it's not being checked so I'm having a hard time figuring out where the ignore isn't being set etc18:04
jgriffithfungi: clarkb hmm... wait, is it the auto-pulled test-requirements update to hacking perhaps?18:06
jgriffithappears that might be the case18:09
clarkbyes from hacking18:12
clarkband I think the check is to avoid adding more incompatibility with py3k18:13
clarkbjgriffith you can # noqa the line or ignore the rule in flake8's tox.ini section18:13
*** Ryan_Lane has joined #openstack-infra18:16
*** jpeeler has joined #openstack-infra18:18
jgriffithclarkb: well.. it's not quite so simple :)18:19
jgriffithclarkb: so the problem is that the updates were committed with my patch and resulted in things falling apart18:20
jgriffithclarkb: I'm sending an email out to describe it and how to avoid it18:20
jgriffithclarkb: although adding the ignore to tox.ini will fix it18:21
jgriffithI'll do that now18:21
jgriffithclarkb: thanks18:21
*** mriedem has joined #openstack-infra18:24
*** annegentle has quit IRC18:24
*** romero has joined #openstack-infra18:31
*** erfanian has quit IRC18:34
openstackgerritRussell Bryant proposed a change to openstack-infra/reviewstats: Tweak and explain disagreements metric  https://review.openstack.org/4125318:40
openstackgerritA change was merged to openstack-infra/reviewstats: Tweak and explain disagreements metric  https://review.openstack.org/4125318:40
*** marun has joined #openstack-infra18:48
*** Ryan_Lane has quit IRC18:51
fungiright, jog0 said something about "new hacking release"18:54
fungijgriffith: https://pypi.python.org/pypi/hacking says 0.7.0 circa yesterday18:55
* fungi is back from groceries18:55
*** nayward has joined #openstack-infra18:56
*** annegentle has joined #openstack-infra18:59
*** nayward has quit IRC19:01
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Update requirements in integration test  https://review.openstack.org/4109819:01
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Added documentation for packagers  https://review.openstack.org/4110419:02
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Use wheel by default  https://review.openstack.org/4125519:03
*** erfanian has joined #openstack-infra19:15
fungiit's funny. the moment i saw those ^ patches, "a knife and a fork" ("...a bottle with a cork, that's the way to spell new york" from information society's "hack") came up in rotation. perhaps it's his theme song?19:18
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121519:19
*** Ryan_Lane has joined #openstack-infra19:22
openstackgerritJeremy Stanley proposed a change to openstack-infra/config: Gate jeepyb and openstack/requirements on pbr  https://review.openstack.org/4125619:31
*** Ryan_Lane has quit IRC19:32
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121519:37
*** jpeeler has quit IRC19:52
*** jpeeler has joined #openstack-infra19:52
mordreddstufft: you know the best thing about pip wheel?19:56
mordreddstufft: it normalizes -'s to _'s in a way that does not match sdist!!!19:56
dstufftmordred: I didn't have to write any of the code for it and people are thanking me for it?19:56
mordreddstufft: :)19:56
mordreddstufft: I'm real close to having out mirror build wheels for everything, btw19:56
dstufftmordred: awesome :D19:57
*** mriedem has quit IRC19:57
*** changbl has joined #openstack-infra20:00
*** jpeeler has quit IRC20:00
clarkbI am on a phone but the list question about bugs is related to the new changes around that in jeepyb20:08
clarkbif you use the old style string it uses the weakest association which is related iirc20:08
clarkbat least this is what seems to be happening20:08
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121520:08
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121520:15
mordredok. that last one shoudl work20:16
fungiany objections to me restarting gerrit later on today to pick up the new replication config modifications? once i do i'll keep an eye on things for a while and roll back the config if it breaks badly for some reason20:19
mordredfungi: please do20:23
mordredjgriffith: your current project should not have picked up new flake8/hacking rules without a patch to update your project20:26
mordredjgriffith: I'm quite interested in learning more about how your env wound up breaking20:26
mordredjgriffith: because it's certainly not what it's designed to do :)20:26
lifelessmordred: maybe it wasn't pinned20:27
*** sarob has joined #openstack-infra20:28
fungimordred: worth noting i saw similar issues with git-review, thus https://review.openstack.org/40799 (admittedly no requirements enforcement there, but still)20:28
fungididn't manifest in the same way, but stale uncapped hacking dependency declared20:29
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Added documentation for packagers  https://review.openstack.org/4110420:30
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Update requirements in integration test  https://review.openstack.org/4109820:30
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Fix python-ldap mirroring.  https://review.openstack.org/4073220:30
mordredlifeless, fungi: nod20:32
mordredfungi, clarkb, lifeless: if you get bored: https://review.openstack.org/41215 works in my local testing and puts wheels in the created mirror20:32
lifelessare the wheels differentiated enough that different arch / distro versions won't be a problem ?20:34
lifelesse.g.  the same wheel on centos and raring20:34
mordredlifeless: no. /home/mordred/pypimirror/openstack/pyOpenSSL/pyOpenSSL-0.13-cp27-none-linux_x86_64.whl is an example of a wheel with actual binary content20:35
lifelessso20:35
lifelessdoesn't that imply that we can't use them ?20:36
mordredit doesn't imply that the gate can't use them20:36
lifelessunless we do a separate mirror per distribution ?20:36
lifelessarch, python are in there20:36
mordredpurely that people wanting to consume the openstack mirror _and_ turn on "PIP_USE_WHEEL" can only do so in certain situations20:37
lifelessok20:37
lifelessI still don't understand how wheels will ever actually work at the moment20:37
lifelessfor pypi itself I mean.20:37
lifelessdstufft: ^20:37
mordredI tihnk that wheels on pypi for anything other than pure-python are a bit a problem20:38
mordreduntil the wheel people start doing some of the binary depend manifest matching stuff we talked about a while back20:38
lifelessso to the extent that our mirror is used like pypi - e.g. by gate clients that have different so versions20:39
lifelesswe'll have the same problem20:39
mordredbut pure-python wheels on pypi are, I think, still helpful20:39
mordredwe have 2 different gate envs20:39
*** pabelanger has joined #openstack-infra20:39
mordredcentos / python 2.6 and precise 2.720:39
mordredbut - I agree re: the potential for confusion - perhaps we should put wheels in a separate mirror dir with distro specified20:40
mordredso that one would need to explicitly follow a particular set of wheels we put up20:40
lifelessso we have two mirrors? or one mirror and two gate environments?20:40
lifeless[today]20:40
mordredwe currently have one mirror for the openstack reqs and one for openstack-infra20:41
mordredbut one mirror shared by both gate envs20:41
lifelessright20:41
mordredhowever, in that one specific case, since our mirror builders are the same as our consumers20:41
mordredand we know the distro on both20:41
lifelessso this will be a compat issue if we put both gate builds in the one mirror20:42
mordredthe py26/py27 split in wheels will be good enough for the very specific case of the gate20:42
lifelessoh, I see20:42
lifelessright20:42
lifelesswhat about 3.3 ?20:42
mordred3.3 are also on a separate distro20:42
mordred:)20:42
mordredbut - I could totally see putting the wheels into, like pypi.o.o/openstack/precise and pypi.o.o/openstack/centos6 or something20:43
*** mberwanger has joined #openstack-infra20:43
lifelessI think that is a good idea20:43
mordredless chance for accidental harm ++20:43
mordredsigh20:45
lifelessreviewed20:45
mordredit would be great if there was a sensible way to make an id for the distro level of that20:45
lifelessif you could tag the wheel and tell pip to look for a tag20:45
lifelessthat would be great.20:45
mordredlifeless: so - the thing dstufft and I spoke about last time we talked - was to get wheel to include distro/release in the wheel name as well20:46
mordredand then also put a manifest of the actual ld reqs into the wheel20:46
mordredso that pip could attempt to download the best match it could find - but _also_ check that it was a sensible thing to install once it had it20:46
mordredand if not, bail and go get teh source20:47
lifelessyah20:47
lifelessthe life of an early adopter...20:47
mordredlifeless: lsb_release -i -r -s | xargs | tr ' ' '-'20:48
mordreddoes that seem to be a sane enough id to use for the distro id?20:49
lifelesslsb_release -cs20:49
mordredon centos, that's "Final"20:49
lifelessahahahahahaha20:49
lifelessdammit20:49
mordredright?20:49
* mordred headbutts everyone20:50
mordredlifeless: btw - have you seen the python sh lib?20:51
lifelessyes20:51
mordredI tried it out the other day - with _one_ small patch, it's totally usable for the type of shell stuff we tend to do in here20:53
mordredunfortunately, the author is taking a little bit of a break from doing side opensource projects20:53
*** nayward has joined #openstack-infra20:56
lifelesswhen I looked at it the DWIM aspect terrified me20:58
*** mberwanger has quit IRC20:59
mordredyeah.21:00
mordredlifeless: ooh! so -21:00
mordredit turns out that we're still producing html files in run-mirror21:01
mordredBUT21:01
mordredwe do not use them in the actual openstack mirror, becaseu we use mod_autoindex21:01
*** nayward has quit IRC21:01
lifelessyes, I know. My q the other day was about file:/// use.21:02
mordredhrm. file use does seem to need them21:03
mordreddammit21:03
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121521:19
mordredlifeless: ^^ there's a stab at per-distro wheel dirs21:19
*** w_ has joined #openstack-infra21:23
openstackgerritMonty Taylor proposed a change to openstack-infra/config: Add support for per-distro wheel mirrors  https://review.openstack.org/4126821:26
mordredand there's a stab at consuming it21:26
*** olaph has quit IRC21:26
*** sgviking has joined #openstack-infra21:29
mordredlifeless: w00t. it even works21:31
mordredfungi: ^^ the run-mirror change I have tested and it seems to work well21:35
mordredfungi: the per-disto wheel mirrors in select-mirror is not directly tested21:35
fungii saw the test results just come back on that. having a look after dinner21:36
mordredbut I did test the actual distro=`` command21:36
fungimmm, per distro. fun21:36
mordredon both Centos and Ubuntu21:36
lifelessmordred: reviewed21:36
mordredlifeless: thanks21:39
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121521:46
mordredlifeless: ^^ I think I've addressed things - also, here's the output it produces:21:48
mordredpaste.openstack.org/show/4380621:48
*** sarob has quit IRC21:48
*** sarob has joined #openstack-infra21:49
*** dripton has quit IRC21:50
jeblairmordred, fungi: i'm not really here, but i'm going to put jenkins01 into shutdown so later on i can upgrade gearman plugin there21:51
mordredjeblair: I'm excited about that21:51
mordredjeblair: when you are really here, I believe I've got a solid wheel in mirror solution coded and tested21:51
*** dripton has joined #openstack-infra21:53
*** sarob has quit IRC21:53
lifelessmordred: what about stdout from the commands ?21:58
lifelessmordred: you do out = ... on some, not on others.21:58
lifelessmordred: I don't understand the difference.21:58
mordredlifeless: I tried to delete the out from the ones I'm not using anymore22:00
mordredthe only real reason to do anything with the output of those command is, well, if you want to do something with the output22:00
dstufftlifeless: mordred Compiled wheels for windows work fine22:01
dstuffton PyPI22:01
lifelessmordred: but if it fails22:01
lifelessmordred: how does the user debug it ?22:01
dstufftthere's a problem with pure python wheels if you use the console_scripts entry point though22:01
lifelessdstufft: it'll work fine for windows, as long as any dependent dlls are abi compatible :)22:02
dstufftlifeless: I think windows SxS solves that? I dunno I don't know fuck all about wndows22:03
mordreddstufft: what sort of problem?22:03
dstufftI just know I had people who should tell me that it'll work22:03
dstufftmordred: entry points are platformish specific22:03
dstuffte.g. for Windows there's an extra .exe that is generated22:03
mordredoh - gah. I thought you were talking about console script entrypoints on linux22:04
dstufftso a pure python wheel with a consule_script generated on Linux won't have the .exe on windows22:04
* mordred does not care about windows even the tiniest bit here22:04
dstufftyea if all you care about is Linux it shouldn't affeect you in the slightest22:04
mordredw00t!22:04
mordredthen I _think_ we're close to good to go for our needs22:04
mordredlifeless: if it fails, run on verbose22:05
mordredthat will print all commands and all of their output22:05
lifelessmordred: oh22:05
mordredonly reason the _program_ needs the out return value is if it needs to process it for further operation22:05
lifelessmordred: so one common problem with that pattern is 'fuck, it errored, and now it doesn't when I run it again'22:05
mordredlifeless: indeed. we run all of our mirror jobs with verbose on :)22:06
lifelessmordred: similarly, 'fuck it errored and it took 50m to get here, so I have to wait 50m to fix that up'22:06
lifelesss/fix/find out/22:06
mordredyeah. totally. the UI can totally do with some rework22:06
*** erfanian has quit IRC22:06
lifelessmordred: ok - thanks for explaining. Clearly a separate problem.22:06
mordredyup. I agree though that we should address it22:06
mordredbeing one of the people who does 'enjoy' running this locally a lot22:06
lifelessanyhow, I'd like a helper function to group the wheel thing22:06
mordred"group the wheel thing" ?22:07
lifelessand the odd "setuptools Bug." comment needs a fixup of some sort.22:07
lifelessmordred: see the review22:07
mordredlooking22:07
dstufftmordred: lifeless I really want to make a transactional logging library22:07
dstufftfor python22:07
lifelessdstufft: hah. I wrote one :)22:08
dstufftlog tons of verbose stuff, and if a logical operation succeeds you discard the logged messages, if it fails you output them all22:08
dstufft:V22:08
lifelessdstufft: the 'oops' set of micro libraries22:08
mordredlifeless: yes. stdout from the commands is also printed with verbose22:08
mordredoh.crap. I was scrolled back22:08
mordred :)22:08
dstufftlifeless: awesome, I'll take a look22:08
dstufftright now I'm working on a new crypto library22:08
dstufftbecause I'm bad at life choices22:08
mordredlifeless: and yes on the function - I was going to do that22:08
mordreddstufft: wow. you suck at life choices, actually22:09
* mordred does too22:09
*** sarob has joined #openstack-infra22:10
dstufftmordred: techincally this is the second crypto library I've worked on22:10
dstufftSo i'm also a slow learner22:10
dstufft:V22:10
dstufftfirst one is PyNaCl https://github.com/dstufft/pynacl second is cryptography https://github.com/alex/cryptography22:11
lifelessdstufft: so - https://pypi.python.org/pypi/oops22:12
lifelessdstufft: the concept was factored out from LP22:12
dstufftlifeless: misread LGPL as GPL and almost had to discount it as useless to me D:22:13
lifelessdstufft: so you accumulate as much state as you want - MB's or GB's even - and then spit it out to whatever sink you want22:13
*** boris-42 has quit IRC22:13
dstufftlifeless: awesome22:13
lifelessdstufft: in LP we captured every single SQL query, all web service back end calls, syscalls we expected to be slow etc.22:14
lifelessdstufft: then spat it out over AMQP, with a local cache if AMQP was down; and a cron job to empty that cache when AMQP came back22:14
lifelessdstufft: there is a twisted variant of it, with hooks into the twisted log module22:14
lifelessdstufft: and there is a thunk for python 'logging' too, so regular logging output gets captured.22:14
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Remove spurious uses of output return values  https://review.openstack.org/4127322:15
openstackgerritMonty Taylor proposed a change to openstack-infra/jeepyb: Start building wheels in the mirror  https://review.openstack.org/4121522:15
lifelessdstufft: there is a js variant and a wsgi app too, so you can capture js exceptions from webapps back to the wsgi app and that injects into the same framework22:15
lifelessdstufft: and finally a django app to store and analyse in a db (but you can equally do any custom sink you want)22:16
dstufftlifeless: wow, a bunch of stuff :D22:18
lifelessdstufft: yah.22:22
lifelessdstufft: I think the django app might be GPL, the libraries are all LGPL from memory22:23
lifelesshttps://pypi.python.org/pypi?%3Aaction=search&term=oops&submit=search22:23
lifelessyeah, oops-tools is AGPL22:24
lifelessbut you don't need it22:24
lifelesswell, depends on the problem you're tackling, - but doing a different console is very doable22:24
lifelesssee for instance whoopsie-daisy, the ubuntu error reporting system, which uses the same schema22:25
lifelessbut uses a big-data analysis setup - errors.ubuntu.com22:25
lifelessmordred: so what about this sentence -22:27
lifeless# Need to do these separately to not trigger setuptools22:27
lifeless# Bug.22:27
lifelessI still can't make head or tails of the end of it.22:27
*** UtahDave has joined #openstack-infra22:29
maruni'm still seeing random devstack breakage22:50
marunmordred: i'm wondering if it might make sense to have a smoke build of devstack that isn't optimized for speed, but rather to ensure that a developer can build without error22:51
*** nayward has joined #openstack-infra22:57
mordredmarun: is this still on redhat?23:00
marunnope23:01
mordredyou're seeing problems running devstack on ubuntu?23:01
marunyes23:01
mordredthat's very distressing23:01
marunfirst one is related to this fix: https://review.openstack.org/#/c/41209/123:01
marunI'm going to submit an updated patch that does the same for httplib2 as the patch currently does for pretty table23:01
maruni'm thinking this issue really needs to be fixed in pip, though23:02
mordreddstufft: have you seen this ^^ ?23:02
marunthe second is related to pbr23:02
*** nayward has quit IRC23:02
marunwhen i do a clean devstack run, it fails due to a pbr-related error.  stacking again fixes it.23:02
maruni'll get you the precise message shortly23:02
*** dkliban has quit IRC23:03
marunthey are small things - nothing that can't be worked around - but still23:03
marunthe fact that gate isn't catching them is worrying23:03
mordredyes. I agree. I would lke for the gate to catch them23:04
mordredso I would consider the gate not catching them to be a bug for sure23:04
maruni'm thinking it's related to gate becoming so specialized for the sake of speed/isolation23:04
*** UtahDave has quit IRC23:04
maruni'm not sure that's compatible with testing for general use23:04
mordredwell, I mean, the only things we do in the gate that are different23:05
mordredhave to do with caching packages  (not installing them) and pointing to an external mirror23:05
mordredinternal23:05
mordrednot external23:05
*** mjblack_ has joined #openstack-infra23:05
mordredwe actually don't care about speed - the only thing we care about is repeatability- because touching pypi or github or whatever has demonstrably failed at the volume of tests we run23:06
mordredBUT23:06
mordredif we're doing something to pollute the host we're running on23:06
mordredwe need to fix it23:06
mordredbecause that would be 100% contrary to what we're trying to do23:06
*** mjblack__ has joined #openstack-infra23:07
marunmordred: ah, fair enough23:08
* mordred just spun up a blank node and will try running devstack on it with no caching23:08
* mordred curious23:08
*** mjblack has quit IRC23:08
marunmordred: pip/setuptools seem to be the major culprits lately.23:08
mordredwell, the setuptools upgrade has been a complete and total nightmare23:09
*** mjblack_ has quit IRC23:10
marunmordred: It points out, at least, the importance of behavioral stability in a packaging system.23:10
mordredif you pip install -U setuptools and then pip install -U pip before you run stack.sh - it SHOULD work23:11
mordredmarun: totally23:11
mordredalthough I think we are currently doing a thing that nobody thinks is a good idea - in that we are mixing pypi and distro packages and we are doing it without virtualenvs23:11
dstufftbasically a bad idea23:11
mordredbasically, there are 0 people in python, ubuntu or redhat packaging worlds who think it's a good idea23:12
dstufftYou'll need to use symlinks to make M2Crypto work in a venv though23:12
dstufftI think you're using M2Crypto23:12
marunmordred: do you think the way forward can be virtualenv installation and no python packages from distro?23:12
mordredwe don't use M2Crypto anymore23:12
dstufftwell then23:12
mordredmarun: YES23:12
dstufftvenv it up23:12
mordredmarun: I actually think there are only two choices23:12
mordredmarun: 100% in a venv with no distro python packages (except for libvirt, because fail)23:12
mordredmarun: OR23:12
mordredmarun: 100% distro packages23:13
dstufftbasically23:13
mordredwhich, from experience, we can both do, and will cause a different pile of heartache and confusion23:13
dstufftalso23:13
dstufftwhy does libvirt not work in a venv?23:13
mordredbecause, it turns out, there are tons of python devs who do not know how to make debs23:13
mordreddstufft: because. it doesn't build with setuptools23:13
mordredit builds as part of the libvirt C code23:13
dstufftlol23:14
maruni vote no on distro packages23:14
dstufftW E L P23:14
marundeveloping python is best done pre-distro imho23:14
dstufft+1000023:14
mordredmarun: me too. I'm willing to go down the road, but it is fraught with peril, tbh23:14
mordredmarun: ++23:14
dstufftit's how most python packages are developed23:14
mordredI made a patch to devstack to install ina global venv23:14
dstufftso it takes you closer to veryone else, for better or worse :V23:14
mordredI cannot get it fully working23:14
marunwhy not?23:14
mordredhttps://review.openstack.org/#/c/40534/23:15
mordredthe services can't figure out how to find stuff23:15
dstufftmordred: I bet sooner or later Alex_Gaynor makes a lbirary to use CFFI to bind to libvirt23:15
mordredalso, my patch seems to suck23:15
*** mjblack__ has quit IRC23:15
mordreddstufft: that would be great23:15
mordreddstufft: as long as it doesn't setup_requires on something crazy :)23:15
dstufftlikely just cffi23:16
mordredmarun: I just updated the patch based on the comments in the review23:17
mordredmarun: if you feel like tyring to figure out where it breaks - I'd LOVE to have it as a real option23:17
clarkbcffi is the crazy :P23:17
marunmordred: really?23:17
marunmordred: Are you adding the env to site-packages?23:18
dstufftmordred: I disagree that it's not proving anything to install globally with pip… it's proving it's a bad idea ;]23:18
marunmordred: I used to configure mod-python to target envs so that web apps could be isolated.  I'll take a look and see if the same logic applies.23:19
marunmordred: I'm thinking the fact that pbr generates scripts could allow those scripts to be generated with the appropriate site packages fixup.23:19
mordredmarun: I _think_ it has something to do with the screenit function23:19
marunmordred: ah, so you're just activating the env prior to running it23:20
marunmordred: that's one way.23:20
marunmordred: the other way is ensuring the daemon scripts will automatically pick up the global env23:21
mordredmarun: cool23:24
mordredmarun: I just fixed merged conflicts - re-pushing23:24
mordredmarun: is [ERROR] /home/ubuntu/devstack/lib/keystone:316 keystone did not start23:26
mordredmarun: what you get when running devstack on a blank node?23:26
marunthat's the one i'm fixing23:26
marunhttps://review.openstack.org/#/c/41209/23:27
marundean's fix was for pretty table, i've added the same fix for httplib223:27
mordredthat's FANTASTIC23:28
marunI'm going to restart from a clean vm and see if i can replicate the pbr installation issue23:28
mordredcool23:28
mordredmarun: Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/lib/python2.7/dist-packages23:29
mordredCleaning up...23:29
mordredchmod: cannot access `/usr/lib/python2.7/dist-packages/httplib2-0.8*/*': No such file or directory23:29
marunpatch no worky?23:30
mordredmarun: /usr/lib/python2.7/dist-packages/httplib2/ is what I've got on there23:30
mordredbecause, I believe, it was installed via apt23:30
mordredgranted, I'm running an unstack/stack23:30
mordredso maybe I should start with clean node too23:30
marunhuh, is the check for the directory not working then?23:30
marunoh, i see23:31
marundean's check ensures that the library is installed from pip23:31
* mordred is going to try the combo of my patches and that patch23:31
marunmine just looks for the httplib2 directory, which could be from distro23:31
marunI guess I should be looking for the egg directory?23:32
mordredit depends23:32
jeblairmordred, fungi: jenkins01 has been restarted with new gearman plugin; i'm going to leave them both in the mix for a bit, and if it looks okay, do the same for jenkins0223:34
fungijeblair: awesome23:34
mordredjeblair: ossum23:35
mordredmarun: I'm running devstack on a clean node with your and  both of my patches applied23:36
marunmordred: I can't reproduce the pbr install issue I saw earlier.  I guess it was temporal.23:44
marunmordred: I've updated the review so that the permission change for httplib2 can't ever fail.23:45
mordredmarun: because the keystone error is actually one I was seeing when trying to do the 'use global venv' patch - so maybe your fixup patch will fix that too23:45
fungifound a moment when gerrit seemed particularly quiet and restarted it23:46
marunmordred: tangential - what's the best way to deduce failure in devstack-deployed openstack?23:46
fungiseems to be up and responding23:46
marunso many services that can fail, is the only option grepping the logs?23:46
mordredfungi: w0t!23:46
mordredmarun: yes. although - we have a logstash system up and going that we haven't publicized much yet23:47
mordredmarun: into which we are feeding all devstack logs23:47
mordredmarun: we have some plans to try to do some smart things like baysian filtering and stuff, to try to show what's _different_ from normal in your logs from other logs23:47
mordredfor now though - grpping23:47
mordreddammit23:47
mordredstill [ERROR] /home/ubuntu/devstack/lib/keystone:316 keystone did not start23:47
maruni'll try out your patch23:48
marunon second thought, though, i'm going to stop working on a saturday :p23:48
mordredhehe23:48
marunI'll try out your patch next chance I get, though.23:49
mordredfungi: git.o.o is still unhappy23:49
mordredfungi: didn't we land the ssl patch?23:49
fungimordred: we did23:49
mordredfungi: welp. that's different.23:50
mordredfungi: I restarted apache there - now it shows me self-signed cert, but does not show me the cgit anymore23:50
mordredpleia2: ^^23:50
fungihuh, it has a self-signed cert now. it had a proper one before23:50
fungiyeah23:50
fungii wonder if there's some conflicting configuration in the ssl.conf that patch added23:51
fungialso i suspect to start replicating into that server i need to prompt gerrit to replicate --all23:51
fungiwill do here in a moment23:51
mordredfungi: found it23:51
fungidifferent keys specified in ssl.conf?23:51
mordredfungi: the if mod_ssl.c in the apache conf23:52
fungiyep, "SSLCertificateKeyFile /etc/pki/tls/private/localhost.key"23:53
fungiet cetera23:53
openstackgerritMonty Taylor proposed a change to openstack-infra/config: Remove if module statements  https://review.openstack.org/4127823:53
mordredfungi: that fixes it23:53
*** marun has quit IRC23:53
mordredfungi: although there still isnt' content in openstack/nova there ...23:54
mordredbut I think we're getting closer23:54
fungimordred: well, i haven't told gerrit to force replication yet23:55
mordredah23:56
mordredfungi: there don't seem to be repos at aall there though? am I just jumping the gun?23:56
fungimordred: i think the assumption was that gerrit would create them23:57
mordredah. interesting. I will be surprised if that is the case, because as far as I know, git cannot create a repo remotely23:57
mordredI thought we were going to have a thing which made sure there was an empty repo at /var/lib/git/$f for every repo in projects.yaml?23:58
fungii just issued the replicate call23:58
mordredcool!23:58
fungibut yeah, doesn't seem to actually have started creating any git repos there23:58
mordredI do not believe that is possible23:59
fungipleia2's assertion, when i asked that question, was that git ssh mirroring would create ne4w repositories23:59
fungiso i figured it was worth testing at any rate23:59
mordredit is definitely worth testing23:59

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