Sunday, 2014-11-23

*** funzo_ has joined #tripleo01:38
*** funzo has quit IRC01:39
*** yamahata has joined #tripleo01:47
*** sdake_ has joined #tripleo01:57
*** pcrews has joined #tripleo02:07
*** sdake_ has quit IRC02:14
*** pcrews has quit IRC02:25
*** julim has quit IRC02:46
*** pradeep has joined #tripleo02:47
*** pradeep1 has joined #tripleo02:59
*** pradeep has quit IRC03:01
*** pradeep has joined #tripleo03:30
*** pradeep1 has quit IRC03:31
*** sdake_ has joined #tripleo03:58
*** untriaged-bot has joined #tripleo04:00
untriaged-botUntriaged bugs so far:04:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139121804:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138706104:00
uvirtbotLaunchpad bug 1391218 in tripleo "Configuration Dependent on HAProxy" [Undecided,In progress]04:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139364304:00
uvirtbotLaunchpad bug 1387061 in tripleo "deploy under cloud failure due to pacemaker " [Undecided,New]04:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139141204:00
uvirtbotLaunchpad bug 1393643 in tripleo "haproxy start failed loop with 'Starting proxy horizon: cannot bind socket'" [Undecided,New]04:00
uvirtbotLaunchpad bug 1391412 in tripleo "devtest  deploy overcloud successfully,but there have one baremetal in  Maintenance state" [Undecided,New]04:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138748704:00
uvirtbotLaunchpad bug 1387487 in tripleo "tripleo-image-elements/elements/tuskar-ui /os-refresh-config /post-configure.d/101-tuskar-ui  needs authentication from Keystone" [Undecided,New]04:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139330404:00
uvirtbotLaunchpad bug 1393304 in tripleo "create-nodes failure for customised pool" [Undecided,New]04:00
untriaged-bothttps://bugs.launchpad.net/diskimage-builder/+bug/139165604:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139329804:00
uvirtbotLaunchpad bug 1391656 in diskimage-builder "There is no way to customize the installation of the bootloader" [Undecided,New]04:00
*** untriaged-bot has quit IRC04:00
uvirtbotLaunchpad bug 1393298 in tripleo "keepalived VRRP_Script(chk_haproxy) timed out" [Undecided,In progress]04:00
*** sdake_ has quit IRC04:04
*** pradeep has quit IRC04:10
*** pensu has joined #tripleo04:14
*** vinsh has joined #tripleo04:33
*** vinsh has quit IRC04:35
*** pensu has quit IRC04:41
*** edmund has quit IRC04:58
*** pradeep has joined #tripleo05:10
*** rushiagr_away is now known as rushiagr05:46
*** sirushti has left #tripleo06:09
*** rushiagr is now known as rushiagr_away06:30
*** pradeep1 has joined #tripleo06:36
*** avozza is now known as zz_avozza06:36
*** pradeep has quit IRC06:37
tchaypoIn the unlikely event that anyone is looking for me - I’ll be away all day today06:41
tchaypobut i should be pingable here06:42
*** zz_avozza is now known as avozza07:17
*** pradeep1 has quit IRC07:28
*** pradeep has joined #tripleo07:28
*** yamahata has quit IRC07:33
*** pradeep1 has joined #tripleo07:39
*** pradeep has quit IRC07:39
*** wuhg has joined #tripleo07:45
*** panda has quit IRC07:45
*** panda has joined #tripleo07:46
*** pradeep has joined #tripleo07:48
*** pradeep1 has quit IRC07:51
*** pradeep1 has joined #tripleo07:57
*** subscope_ has joined #tripleo07:58
*** pradeep has quit IRC08:00
*** avozza is now known as zz_avozza08:20
*** dshulyak_ has joined #tripleo08:30
*** dshulyak_ has quit IRC08:32
*** kpavel has quit IRC08:41
*** dshulyak_ has joined #tripleo08:42
*** kpavel has joined #tripleo08:47
*** zz_avozza is now known as avozza09:01
*** subscope_ has quit IRC09:01
openstackgerritOpenStack Proposal Bot proposed openstack/tuskar: Updated from global requirements  https://review.openstack.org/13438509:41
*** untriaged-bot has joined #tripleo10:00
untriaged-botUntriaged bugs so far:10:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139121810:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138706110:00
uvirtbotLaunchpad bug 1391218 in tripleo "Configuration Dependent on HAProxy" [Undecided,In progress]10:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139364310:00
uvirtbotLaunchpad bug 1387061 in tripleo "deploy under cloud failure due to pacemaker " [Undecided,New]10:00
uvirtbotLaunchpad bug 1393643 in tripleo "haproxy start failed loop with 'Starting proxy horizon: cannot bind socket'" [Undecided,New]10:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139141210:00
uvirtbotLaunchpad bug 1391412 in tripleo "devtest  deploy overcloud successfully,but there have one baremetal in  Maintenance state" [Undecided,New]10:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138748710:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139330410:00
uvirtbotLaunchpad bug 1387487 in tripleo "tripleo-image-elements/elements/tuskar-ui /os-refresh-config /post-configure.d/101-tuskar-ui  needs authentication from Keystone" [Undecided,New]10:00
untriaged-bothttps://bugs.launchpad.net/diskimage-builder/+bug/139165610:00
uvirtbotLaunchpad bug 1393304 in tripleo "create-nodes failure for customised pool" [Undecided,New]10:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139329810:00
uvirtbotLaunchpad bug 1391656 in diskimage-builder "There is no way to customize the installation of the bootloader" [Undecided,New]10:00
uvirtbotLaunchpad bug 1393298 in tripleo "keepalived VRRP_Script(chk_haproxy) timed out" [Undecided,In progress]10:00
*** untriaged-bot has quit IRC10:00
*** lifeless has quit IRC10:07
*** lifeless has joined #tripleo10:19
*** avozza is now known as zz_avozza10:21
*** dshulyak_ has quit IRC10:24
*** dshulyak_ has joined #tripleo10:45
*** zz_avozza is now known as avozza10:47
*** rlandy has joined #tripleo10:58
*** zaro has quit IRC11:24
*** lifeless has quit IRC12:14
*** lifeless has joined #tripleo12:29
*** avozza is now known as zz_avozza12:36
*** pradeep has joined #tripleo12:39
*** pradeep1 has joined #tripleo13:03
*** yamahata has joined #tripleo13:04
*** pradeep has quit IRC13:06
*** bvandenh has joined #tripleo13:07
*** pradeep has joined #tripleo13:14
*** dshulyak_ has quit IRC13:15
*** pradeep1 has quit IRC13:15
*** pradeep1 has joined #tripleo13:18
*** pradeep has quit IRC13:19
*** pradeep has joined #tripleo13:21
*** pradeep1 has quit IRC13:22
*** dshulyak_ has joined #tripleo13:22
*** zz_avozza is now known as avozza13:28
*** pradeep1 has joined #tripleo13:28
*** pradeep has quit IRC13:29
*** pradeep has joined #tripleo13:35
*** pradeep1 has quit IRC13:36
*** pradeep1 has joined #tripleo13:38
*** pradeep has quit IRC13:40
*** pradeep has joined #tripleo13:40
*** pradeep1 has quit IRC13:42
*** pradeep2 has joined #tripleo13:44
*** pradeep has quit IRC13:45
*** pradeep has joined #tripleo13:48
*** pradeep2 has quit IRC13:49
*** bvandenh has quit IRC13:49
*** pradeep1 has joined #tripleo13:50
*** avozza is now known as zz_avozza13:51
*** pradeep has quit IRC13:53
*** dshulyak_ has quit IRC13:59
*** dshulyak_ has joined #tripleo14:09
*** pradeep has joined #tripleo14:24
*** pradeep1 has quit IRC14:26
*** dshulyak_ has quit IRC14:35
*** pradeep1 has joined #tripleo14:41
*** pradeep has quit IRC14:43
*** pradeep has joined #tripleo14:54
*** pradeep1 has quit IRC14:56
SpamapSgreghaynes: I will send a final call for "speak now or forever hold your peace" on Monday15:09
*** pensu has joined #tripleo15:18
*** zz_avozza is now known as avozza15:21
*** yamahata has quit IRC15:33
*** avozza is now known as zz_avozza15:46
*** kpavel has quit IRC15:49
*** bvandenh has joined #tripleo15:56
*** untriaged-bot has joined #tripleo16:00
untriaged-botUntriaged bugs so far:16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139121816:00
uvirtbotLaunchpad bug 1391218 in tripleo "Configuration Dependent on HAProxy" [Undecided,In progress]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138706116:00
uvirtbotLaunchpad bug 1387061 in tripleo "deploy under cloud failure due to pacemaker " [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139364316:00
uvirtbotLaunchpad bug 1393643 in tripleo "haproxy start failed loop with 'Starting proxy horizon: cannot bind socket'" [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139141216:00
uvirtbotLaunchpad bug 1391412 in tripleo "devtest  deploy overcloud successfully,but there have one baremetal in  Maintenance state" [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138748716:00
uvirtbotLaunchpad bug 1387487 in tripleo "tripleo-image-elements/elements/tuskar-ui /os-refresh-config /post-configure.d/101-tuskar-ui  needs authentication from Keystone" [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139330416:00
uvirtbotLaunchpad bug 1393304 in tripleo "create-nodes failure for customised pool" [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/diskimage-builder/+bug/139165616:00
uvirtbotLaunchpad bug 1391656 in diskimage-builder "There is no way to customize the installation of the bootloader" [Undecided,New]16:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139329816:00
uvirtbotLaunchpad bug 1393298 in tripleo "keepalived VRRP_Script(chk_haproxy) timed out" [Undecided,In progress]16:00
*** untriaged-bot has quit IRC16:00
*** pradeep1 has joined #tripleo16:09
*** pradeep has quit IRC16:12
*** pensu has quit IRC16:15
*** vinsh has joined #tripleo16:15
*** vinsh has quit IRC16:15
*** zz_avozza is now known as avozza16:37
*** russell_h has quit IRC16:51
*** russell_h has joined #tripleo16:51
*** sdake_ has joined #tripleo16:56
*** JameLk has joined #tripleo17:02
*** avozza is now known as zz_avozza17:04
*** linkai has quit IRC17:05
*** wuhg has quit IRC17:13
*** pradeep has joined #tripleo17:22
*** pradeep1 has quit IRC17:24
mordredo hai17:29
mordredcan I suggest respectfully that ./elements/rpm-distro/pre-install.d/00-allow-heat-admin-sudo does not belong in rpm-distro ?17:30
mordredas it is very much a thing you care about if you are doing tripleo, but not at all if you are using dib to build general images17:30
*** zz_avozza is now known as avozza17:40
*** dshulyak_ has joined #tripleo17:51
*** bvandenh has quit IRC17:58
mordredzomg.18:04
mordredhow do I use redhat-common without installing redhat-lsb-core?18:04
mordredbecause O M G I do not want to install it18:04
mordredreally? cups? ghostscript? mesa?18:06
mordred(I mean, I think my question is - is there anyway, short of me just forking that element, for me to declare ina  different element that I do not want to add that package?)18:08
*** michchap_ has joined #tripleo18:19
greghaynesmordred: +1 - we could probably just move that into tripleo-image-elements entirely18:19
openstackgerritMonty Taylor proposed openstack/diskimage-builder: Remove heat-admin code from rpm-distro element  https://review.openstack.org/13664018:20
openstackgerritMonty Taylor proposed openstack/diskimage-builder: Remove use of sudo from yum pre and post elements  https://review.openstack.org/13664118:20
openstackgerritMonty Taylor proposed openstack/diskimage-builder: Add minimal ubuntu and centos base elements  https://review.openstack.org/13664218:20
mordredgreghaynes: great. glad you think so ...18:20
greghayneslooks like the heat element is really what needs it, so maybe in there18:20
*** michchap has quit IRC18:20
mordredgreghaynes: the minimal ubuntu/centos elements there may show what I'm trying to accomplish, although so far they're not finished18:20
mordredI also will not be offended if tripleo does not want those in dib directly18:21
greghaynesooo18:23
greghaynesdib seems like a fine place for that18:23
* greghaynes wonders why we were using sudo in the first place18:23
greghaynesthe commit looks like just an oversight18:24
openstackgerritMonty Taylor proposed openstack/tripleo-image-elements: Add head sudo enablement from dib  https://review.openstack.org/13664318:30
mordredgreghaynes: ^^ there's the corresponding commit18:30
*** pcrews has joined #tripleo18:51
*** jang1 has joined #tripleo18:53
*** dshulyak_ has quit IRC18:54
*** pcrews has quit IRC19:02
*** pradeep has quit IRC19:11
*** david-lyle_afk has quit IRC19:11
*** avozza is now known as zz_avozza19:24
*** zz_avozza is now known as avozza19:27
*** avozza is now known as zz_avozza19:38
*** sdake_ has quit IRC20:04
*** kpavel has joined #tripleo20:07
*** penick has joined #tripleo20:10
*** Guest83569 is now known as gael20:16
*** gael is now known as Guest2201020:17
*** Guest22010 is now known as gchamoul20:17
*** penick has quit IRC20:24
*** zz_avozza is now known as avozza20:41
*** bvandenh has joined #tripleo20:49
*** zigo has quit IRC20:59
*** zigo has joined #tripleo21:00
*** pcrews has joined #tripleo21:04
*** marun has joined #tripleo21:08
*** kpavel has quit IRC21:09
*** bvandenh has quit IRC21:09
*** pcrews has quit IRC21:10
*** goneri has joined #tripleo21:26
*** bvandenh has joined #tripleo21:38
*** bvandenh has quit IRC21:47
*** rlandy has quit IRC21:54
*** untriaged-bot has joined #tripleo22:00
untriaged-botUntriaged bugs so far:22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139121822:00
uvirtbotLaunchpad bug 1391218 in tripleo "Configuration Dependent on HAProxy" [Undecided,In progress]22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138706122:00
uvirtbotLaunchpad bug 1387061 in tripleo "deploy under cloud failure due to pacemaker " [Undecided,New]22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139364322:00
uvirtbotLaunchpad bug 1393643 in tripleo "haproxy start failed loop with 'Starting proxy horizon: cannot bind socket'" [Undecided,New]22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139141222:00
uvirtbotLaunchpad bug 1391412 in tripleo "devtest  deploy overcloud successfully,but there have one baremetal in  Maintenance state" [Undecided,New]22:00
*** goneri has quit IRC22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/138748722:00
uvirtbotLaunchpad bug 1387487 in tripleo "tripleo-image-elements/elements/tuskar-ui /os-refresh-config /post-configure.d/101-tuskar-ui  needs authentication from Keystone" [Undecided,New]22:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139330422:00
uvirtbotLaunchpad bug 1393304 in tripleo "create-nodes failure for customised pool" [Undecided,New]22:00
untriaged-bothttps://bugs.launchpad.net/diskimage-builder/+bug/139165622:00
untriaged-bothttps://bugs.launchpad.net/tripleo/+bug/139329822:00
uvirtbotLaunchpad bug 1391656 in diskimage-builder "There is no way to customize the installation of the bootloader" [Undecided,New]22:00
uvirtbotLaunchpad bug 1393298 in tripleo "keepalived VRRP_Script(chk_haproxy) timed out" [Undecided,In progress]22:00
*** untriaged-bot has quit IRC22:00
*** noslzzp has joined #tripleo22:35
*** marun has quit IRC22:36
*** marun has joined #tripleo22:38
*** marun has quit IRC22:46
mordredlifeless, greghaynes: so - any chance either of you can explain 15-remove-grub to me?22:48
mordredspecifically, ./elements/redhat-common/pre-install.d/15-remove-grub22:48
mordredESPECIALLY considering that grub2 is in ./elements/redhat-common/pre-install.d/package-installs-redhat-common22:49
greghaynesmordred: its in there as a - (meaning remove)22:50
greghaynesand IIRC removal happens at the end of phase22:51
mordredgreghaynes: I thought - was "install this but remove it at the end of the phase"22:51
mordredyup. I'm pretty sure there is just a bug here22:52
greghaynesyea, that looks correct22:52
mordredbecause whathappens is package-installs installs grub, then remove grub removes it22:52
mordredthen the - in the list causes package-uninstall to try to uninstall it22:52
greghaynesslagle: ^22:52
mordredwhich does not work22:52
mordredbecause it already got uninstalled22:52
mordredI'm guessing that perhaps some other element accidentally causes grub2 to get installed which is why this hasn't been seen before22:54
mordredbut I have no proof of that - only a guess because I happen to be building thigns with a massively small list of elements22:55
lifelessf you're working on a rinsed image22:55
lifelessthen yeah22:55
lifelesswe worked with the big fedora images22:55
mordredI am indeed22:55
mordredI'm darned close to getting it to work though :)22:55
lifeless'big' being relative, but they aren't micro22:55
mordred(in case folks aren't also reading -infra - I'm working on elements to produce stable base images for our long lived servers, since our cloud providers do strange things)22:56
lifelessorly22:57
lifelessthey do?!22:57
mordredzomg22:57
greghayneshttps://review.openstack.org/#/c/108762/11/elements/redhat-common/pre-install.d/15-remove-grub22:57
greghaynesSeems like this discussion has been had before :)22:57
mordreddon't EVEN get me started on the strange things22:57
mordredgreghaynes: you were right in your comment22:58
mordredor - you were right that there is a problem22:58
*** jang1 has quit IRC22:59
greghaynesso yea, I think we want to just remove that -grub2 in that package-installs file22:59
mordredyah23:00
mordredalso23:00
mordredinstall-packages -m base vlan_package iscsi_package23:00
mordredin base23:00
mordredseem like they should be in a tripleo element somewhere23:00
* mordred adds -n to his invocation23:02
greghaynesone thing thats bugging me is I cant find anywhere else we install grub2 in pre-install.d phase23:04
greghaynesbut it could just be a dependency of some other package23:04
mordredlifeless: so - amongst the fun things are that rackspace adds in-instance agents that we have no use for23:04
lifelessgreghaynes: the base image has it installed23:04
lifelessgreghaynes: as a bootloader23:04
lifelessgreghaynes: IIRC23:04
greghaynesYes, but then we remove it with yum23:04
mordredlifeless: and HP decides that they should spin new images from time to time and upload them with new names while changing the name of the old image23:05
greghaynesim just not sure how we werent running into this issue with double remove already...23:05
greghaynesGotta keep the users on their toes23:05
mordredlifeless: and then, also, I'm looking at making base infra images with our public key baked in so that we don't have to deal with cloud-init or keypair-extention or config drive or ec2-metadata23:07
mordredBECAUSE - if I do that, then I don't have to deal with the ubuntu user on ubuntu and the cloud-user on centos and the whatever fedora does23:07
mordredwhich is just bonghits in the first place23:08
clarkbfedora is fedora23:08
mordredthere it is23:08
clarkbits massive bong hits23:08
mordredso much bonghits23:08
mordredclarkb: I'm very close23:08
lifelesscloud-init can override the username, FWIW23:08
mordredclarkb: although there are portions of the script that are going to make you laugh23:08
mordredlifeless: I want to delete cloud-init23:09
lifelessso you can use cloud-init *and* have infra as the default user everywhere, if you want23:09
mordredlifeless: I find cloud-init to be very annoying to work with - but on the other hand, you have written me this wonderful disk-image-builder tool23:09
lifelesshah23:09
mordredso I will use it to make wonderful disk images23:09
lifelessso cloud-init-resizeroot stuff and the early network setup I find useful23:10
lifelessbut23:10
lifelessif you want it diferent, cool. More use cases == more awesomes23:10
mordredyup23:10
mordredthis is one of the reasons I'm word vomiting in here - I'm exercising strange code paths :)23:10
lifelessmordred: btw23:10
lifelessmordred: have you heard of a plan to move openstack away from eventlet to asyncio ?23:11
mordredlifeless:  I have heard constant grumbling and intent23:11
lifelessmordred: I know /some/ folk are interested in such a thing, but what I'm referring to is an agreed on decision23:11
mordredlifeless: I'd say "plan" might be a bit strong23:11
clarkbtrollius23:11
lifelesssimilar to the move from twisted to eventlet actual thing that happened23:11
lifeless(which I wasn't around for so only know by hearsay)23:11
mordredlifeless: I think dhellmann is the holder of the plan on that though23:12
lifelesssurely its a tc thing23:12
lifelesssince its going to involve a rewrite of every project23:12
mordrednot the plan23:12
lifelessthe agreement23:12
lifelessnot the plan23:12
clarkbits a per project thing right?23:12
mordredI believe the TC are all in general agreement that we'd like to move away from eventlet23:12
mordredbecause we have to to get to python323:12
mordredI believe a concrete plan is still seen as a thing that someone will figure out at some point in the future23:13
mordredbecause everytime I ask it's always "well, some day we'll ..."23:13
lifelesseventlet has python323:13
mordredoh! when did that happen?23:13
lifelessthe patches are being merged at the moment23:13
mordredgotcha23:13
mordredthat might remove the pressure on that topic then23:13
mordredpython3 was the driving factor23:14
lifelessan eventlet committer was in the python3 session for oslo in Paris23:14
*** avozza is now known as zz_avozza23:14
lifelessmordred: see my mail in 'Re: [openstack-dev] [oslo] Add a new aiogreen executor for Oslo Messaging' [just sent]23:14
lifelessmordred: please correct me as needed!23:14
mordredlifeless: it seems that you know at least 100x more than I do on the specifics here23:15
lifelessyes, but I'm not, thankfully, on the TC23:15
lifelessor I wouldn't be doing WTH I want right now23:15
lifelessI'd be accountable and responsible :)23:16
*** chlong has joined #tripleo23:17
mordredlifeless: ah - so the reasons we moved away from twisted were:23:20
mordreda) flame war23:20
mordredb) twisted is hard for people to understand23:21
mordredI'm not saying those are good or correct reasons, merely that they are the raesons (b was the real reason, but finding a conclusion to a was also important)23:22
mordredtwisted v. eventlet,  xml v. json and git v. bzr are the three largest flame wars in our history, fwiw23:22
lifelessso asyncio is going to be approx the same as twisted for understanding23:23
lifelessIMNSHO23:23
mordredalso - it's worth noting taht it wasn't purely a "move away from twisted" - nova was in twisted, swift was in eventlet23:23
lifelessinteresting23:23
mordredso half of the project was in one, and half of the project was in the other23:23
lifelessFWIW many folk don't understand eventlet at all23:23
lifeless:)23:23
mordredyah23:23
mordredI'm one of them23:23
clarkbasyncio is very similar to eventlet23:23
lifelessjust keep saying trampoline23:24
lifelessclarkb: oh?23:24
mordredI'm really not trolling when I say we should ditch all this crap and do explicit threads23:24
clarkbat least when compared to twisted23:24
lifelessmordred: or processes :)23:24
mordredlifeless: sure23:24
mordredlifeless: either one work for me23:24
lifelessclarkb: I don't get that at all.23:24
lifelessclarkb: convince me?23:24
clarkbso similar twisted devs complain about both in the same bucket23:24
lifelesshow so?23:25
clarkbunlike twisted you dont deal in futures with a massive loop23:25
lifelessI am concerned that I've fundamentally missed some thing about eventlet23:25
clarkbinstead you pass control between green threads23:25
clarkbso the abstraction is similar to eventlet23:26
clarkbbut eventlet does a bit more hand holding aiui23:26
lifelessclarkb: huh23:26
lifelessclarkb: I don't agree with anything you said23:26
clarkbok :)23:26
lifelessclarkb: or rather it doesn't agree with my model of reality23:26
lifelesseventlet [as we use it] causes *every* blocking call in Python to trampoline out of a greenthread that has been patched into the interpreter23:27
lifelessasyncio is bog standard generator co-routines23:28
lifelesstwisted has a decorator that turns such coroutines into regular twisted deferreds23:29
lifelessI forget its name23:29
lifeless[not asyncio specific ones - the exact calls etc are different]23:29
clarkbsure but control is explicit in asyncio and you have a similar abstraction of these thread like things23:29
clarkbwith twisted you have futures and you throw them at arun loop to be executed23:29
clarkbits a very differwnt mental model23:29
lifelessyou have Futures in asyncio to23:30
lifelessand asyncio is based on a reactor which pushes data into handlers as needed23:30
clarkbbut that isnt how you program in it aiui23:31
lifelesssure it is23:31
clarkbthe underlying implementation isnt super important23:31
clarkbhow I make code go vroom on it is23:31
lifelesshttps://docs.python.org/3/library/asyncio-eventloop.html#hello-world-with-call-soon23:31
lifelesshttp://stackoverflow.com/questions/14751138/http-echo-server-and-client-twisted23:32
lifelesshttp://eventlet.net/doc/examples.html23:32
lifelesswhich one is the odd one out?23:32
mordredZOMG. WHY DOES THE git PACKAGE ON REDHAT DEPEND ON A BILLION PERL LIBRARIES??????23:33
clarkbmordred git is much perl23:33
clarkblifeless all of the examples I had seen were explicit coroutine flow control23:33
clarkbso asyncio is reaching to both camps?23:33
mordredclarkb: how about libgnome-keyring?23:33
mordredclarkb, lifeless: yes - I believe asyncio is trying to provide love to both programming models23:34
clarkbwoo python and one way to do things23:35
mordredwell piddle. the package I wanted to exclude that redhat-common pulls in gets pulled in by puppet anyway23:35
mordredho-hum23:35
lifelessclarkb: an explicit design goal of asyncio is to be a unifying thing23:38
lifelessclarkb: but eventlets /point/ is the trampoline23:38
lifelessclarkb: thats what makes it so different to both asyncio an twisted, as neither have that23:39
lifelessIMO23:39
clarkbthats an implementation detail. for me the programming model is more interesting and looks like you can be like twisted or eventlet with asyncio23:40
lifelessclarkb: but that *is* the programming model in the OpenStack context.23:41
clarkbpeople dont have trouble with trampolines. they have trouble with futures and coroutines and threads23:41
lifelessclarkb: we write 'threads'23:41
lifelessclarkb: you don't write 'threads' in asyncio or in Twisted.23:42
lifelessclarkb: you write futures and coroutines. In both.23:42
mordredlifeless: where do we write threads?23:44
*** enterprisedc_ has joined #tripleo23:45
lifelessmordred: 99% of the code in e.g. nova is synchronous blocking code.23:45
lifelessmordred: (which hands off to another green thread magically)23:45
lifelessmordred: all of the big long functions, for instance which call into libvirt, or poll ironic in a loop.23:46
*** enterprisedc has quit IRC23:46
*** enterprisedc_ is now known as enterprisedc23:46
mordredlifeless: wow. ok. so, I guess there is a really good reason I don't look in nova very often23:46
lifelessthe programming model is one of threads. the implementation is one of intercepted syscalls and greenthreads and trampolines.23:46
mordredthen why not actually just use threads if the programming model is threads?23:47
lifelessthats a good question :)23:47
lifelessBut you see why I am concerned about asyncio- not because its bad(I rather like it)23:47
lifelessbut because we moved away from a programming model that is not very different23:48
lifelessto asyncio's23:48
lifelessat least AIU asyncio, which I may not and I need some examples from clarkb showing what he thinks of as asyncio code23:48
clarkbthe magical yield from23:48
mordredlifeless: but the fellow in the mailing list claims to have an eventlet compatible thing done on top of asyncio23:49
clarkbI see coroutines as similar to green threads23:49
lifelessbtw the swift code also reads like threaded code23:49
lifelessmordred: yes, but thats transitional23:49
clarkbthe major difference in control flow is explicit yielding23:49
lifelessmordred: read the detail: its a thunk to let eventlet keep working, then the goal is to migrate to direct asyncio and stop using eventlet at all23:49
clarkbso instead of trampolines you have street signs23:49
lifelessso it makes potential blocking points explicit23:50
lifelessand you have to not use any primitives that might themselves block without wrapping them with a real thread23:51
lifelessthats the delta right?23:51
lifelessright now we can't tell whats going to block, and we dont' need to wrap anything because $magic, even to the exent of threading.locals being context switched out23:51
lifelessextent23:52
clarkbya23:52
greghaynesyea, you dont get to block in asyncio, its just tying blocking resources into an event loop via yield from23:52
clarkbeventlet is definielty more magic so not 1:123:52
lifelessso you have to do things like23:54
lifeless'oh this might block, factor it into a co-routine'23:54
mordredgreghaynes: I get a lot of these: WARNING: map-packages is deprecated.  Please use the pkg-map element.23:54
lifelesswhich folk don't today.23:54
mordredgreghaynes: I'd like to use the pkg-map element, but I think that's out of my control :)23:54
greghaynesmordred: Yep, do that23:54
mordredgreghaynes: well, I'm not using either23:55
greghaynesmordred: ah23:55
mordreddirectly23:55
lifelessmordred: then ignore it23:55
greghaynesI guess it would be a good idea for us to clean those up at some point23:55
mordredgreghaynes: ok - can you explain the intent of the grub install/uninstall magic?23:56
mordredgreghaynes: because I just hit this:23:56
mordred++ rpm -i /tmp/grub/grub2-2.02-0.2.10.el7.centos.1.x86_64.rpm23:56
mordrederror: Failed dependencies:23:56
mordred        dracut is needed by grub2-1:2.02-0.2.10.el7.centos.1.x86_6423:56
mordredgreghaynes: but I don't know why we install and then uninstall, then install-download, then copy for later, then rpm -i23:57
mordredso it's hard to debug what _should_ happen23:57
greghaynesI actually dont know the original reason we do it... I assumed it was because we wanted to force grub to reconfigure23:58
mordredlifeless: ^^ do you know?23:58
lifelessfedora, no sorry23:59
lifelessthe broad picture is that23:59
lifelesswe need to reconfigure because the defaults are poor23:59
lifelessand sometimes we need to install a bootblock (the vm element)23:59
lifelesswhich you probably are in the case of23:59
mordredyah23:59

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