Wednesday, 2016-12-14

jeblairmordred: it's possible (likely?) your git source path idea may end up being implemented by an ansible role that may be able to be customized to some extent... probably per-site... possibly per-tenant, maybe even per-job.  if it's the last one, then we can actually have classes of jobs that have 'go-style' checkouts, and classes that have flat checkouts.  (and maybe even classes that have puppet-style checkouts?)00:00
mordredjeblair: neat00:22
mordredI'm a fan of all of those things00:22
*** harlowja has joined #zuul00:30
jamielennoxso any chance there is a doc on the upgrade from nodepool 2.5 to 3 ?01:20
jeblairjamielennox: you mean the builder thing we just did?  that'd be from nodepool 0.3 to 0.4(unreleased).  no; if you or someone else wants to write one, that'd be great.  :)01:29
jeblairjamielennox: we have my one sentence doc "run a zookeeper and point nodepool at it".  we have the puppet-nodepool and puppet-openstackci modules, and http://docs.openstack.org/infra/system-config/nodepool.html01:30
jamielennoxjeblair: yea, that's what i meant, getting over the new zuulv3 merge01:30
jamielennoxi know to turn on zookeeper, but can i turn off mysql?01:30
jeblairjamielennox: no, mysql+gearman are still used by the launcher portion (that's up next)01:31
jamielennoxok, so just enable zookeeper, point it at it and leave everything else the same for now?01:32
jeblairjamielennox: yep01:32
jamielennoxjeblair: sweet, super easy01:32
jeblairjamielennox: hope so!  /me runs away before jamielennox reconsiders01:33
jeblairjamielennox: note, there's no migration of the existing build info01:34
jeblairjamielennox: so nodepool won't be able to launch nodes until the new builder creates and uploads new builds01:34
jeblairjamielennox: and the old ones won't be deleted or anything, so you'd have to delete those by hand01:34
jeblairjamielennox: we ran the zk builder in parallel for a while to build up a quorum of uploaded images before we switched the launcher to use it so we had no downtime.01:35
jamielennoxjeblair: yea, i'm ok rebuilding the state01:35
*** saneax is now known as saneax-_-|AFK01:35
jamielennoxso long as the new launcher still operates01:35
jeblairjamielennox: it should just wait for a build to show up in zk.01:37
*** Cibo_ has quit IRC01:46
*** rcarrillocruz has quit IRC02:06
*** rcarrillocruz has joined #zuul02:07
*** Cibo_ has joined #zuul02:38
*** EmilienM has quit IRC03:19
*** EmilienM has joined #zuul03:21
*** rcarrillocruz has quit IRC04:01
*** bhavik1 has joined #zuul04:23
*** rcarrillocruz has joined #zuul04:59
*** abregman has joined #zuul06:13
*** willthames has quit IRC06:29
*** saneax-_-|AFK is now known as saneax06:55
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul: Remove TestScheduler.test_nonexistent_job  https://review.openstack.org/41057107:34
*** bhavik1 has quit IRC07:59
*** Cibo_ has quit IRC08:24
*** Cibo_ has joined #zuul08:25
*** hashar has joined #zuul08:46
*** openstackgerrit has quit IRC08:48
*** yolanda has quit IRC09:01
*** yolanda has joined #zuul09:05
*** jesusaur has quit IRC09:08
*** rmoe has quit IRC09:16
*** jesusaur has joined #zuul09:21
*** rmoe has joined #zuul09:30
*** Cibo_ has quit IRC09:49
*** rmoe has quit IRC09:52
*** Cibo_ has joined #zuul09:53
*** rmoe has joined #zuul09:55
*** jesusaur has quit IRC10:09
abregmanhi. question on nodepool - does it take into account the available resources when spawning up VMs?10:20
*** jesusaur has joined #zuul10:22
*** rmoe has quit IRC10:24
*** jesusaur has quit IRC10:30
*** jesusaur has joined #zuul11:19
*** rmoe has joined #zuul11:23
*** hashar is now known as hasharAway11:31
*** jamielennox is now known as jamielennox|away12:43
*** jamielennox|away is now known as jamielennox12:50
*** hasharAway is now known as hashar13:07
*** abregman is now known as abregman|mtg13:18
*** abregman|mtg is now known as abregman13:44
pabelangerabregman: yes, there is some docs in allocation.py about how it currently works. But nodepool will try to use the resources evenly across cloud providers13:56
*** abregman is now known as abregman|mtg14:02
*** jlk has quit IRC15:01
*** openstackgerrit has joined #zuul15:02
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Use interface_ip instead of internal logic  https://review.openstack.org/36044615:02
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Plumb ipv6-preferred into force-ipv4 setting  https://review.openstack.org/36044515:02
*** jlk has joined #zuul15:03
*** jlk has quit IRC15:03
*** jlk has joined #zuul15:03
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Plumb ipv6-preferred into force-ipv4 setting  https://review.openstack.org/41080115:03
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Use interface_ip instead of internal logic  https://review.openstack.org/41080215:03
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Stop json-encoding the nodepool metadata  https://review.openstack.org/29795015:24
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Record nodeinfo as ansible facts and inventory  https://review.openstack.org/10759715:24
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Stop json-encoding the nodepool metadata  https://review.openstack.org/41081215:25
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Record nodeinfo as ansible facts and inventory  https://review.openstack.org/41081315:25
*** saneax is now known as saneax-_-|AFK15:41
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Stop json-encoding the nodepool metadata  https://review.openstack.org/29795016:29
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Record nodeinfo as ansible facts and inventory  https://review.openstack.org/10759716:29
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Record nodeinfo as ansible facts and inventory  https://review.openstack.org/41081316:31
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Stop json-encoding the nodepool metadata  https://review.openstack.org/41081216:32
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Record nodeinfo as ansible facts and inventory  https://review.openstack.org/41081316:32
pabelangermordred: the ansible fact is awesome!16:35
pabelangervery cool16:35
mordredpabelanger: yay! that also may be my oldest outstanding change :)16:36
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Use thread local data in ZK API  https://review.openstack.org/41085316:41
Shrewsjeblair: ^^^ is the first thing that must change in order to share a single ZK client. Will build on that, but had implications for how we test some things.16:43
*** abregman|mtg is now known as abregman16:44
*** abregman has quit IRC16:44
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Use thread local data in ZK API  https://review.openstack.org/41085316:45
pabelangerwell, isn't this neat16:47
pabelanger| ubuntu-xenial-0000000005  | ubuntu-xenial  | nb02    |           | building | 01:12:57:24 |16:47
pabelangerand disk-image-create has been running for that long16:47
pabelangerit is stuck16:47
pabelanger2016-12-13 04:00:45,857 INFO nodepool.image.build.ubuntu-xenial: Cloning into '/etc/puppet/modules/openafs'...16:48
pabelangerstuck cloning16:48
pabelangerguess we need to add a timeout around that logic16:48
mordredpabelanger: wow. how lovely16:48
pabelangerwill do that today16:48
mordredyah - I think "the disk image has been building for one day" is always an error16:49
Shrewspabelanger: awesome. thx for doing that16:49
pabelangermordred: ya, feature request, ability to abort builds after x mins16:49
pabelangermight hack on that16:50
ShrewsI am not confused as to what things should go to nodepool's master branch vs the feature/zuulv3 branch16:51
Shrewss/not/now/16:51
jeblairShrews: i will clarify that shortly16:51
Shrewsi assumed the feature branch was for the newly approved spec16:52
jeblairShrews: re 410853 -- what about, instead of using thread-local data, simply stop storing the lock data on the zk class at all?  the actual use of the lock is with a context manager, which gets returned, so release of the correct thing is handled.  the only thing local storage of the lock gets us is the re-entrant detection...16:55
jeblairpabelanger: have you restarted?16:58
pabelangerjeblair: I have, just nb01 / nb0216:58
pabelangernot sure if we want to do nodepool.o.o too16:58
jeblairpabelanger: i guess we could probably just double check that /opt/nodepool is correct and call that good enough16:58
pabelangerjeblair: indeed it is16:59
jeblairyeah, it's ad531ae5bdb8e5eef820b2946fa2d09cb3a5703e which is the master version of the merge commit16:59
jeblairit's now safe to tear apart the nodepool daemon itself on the feature/zuulv3 branch to start implementing the nodepool part of the zuulv3 spec17:00
jeblairthe master branch of nodepool is where further updates to the builder, doc improvements to prepare for release, and other changes we want to go into production immediately should go.17:01
jeblairShrews: ^17:01
pabelangerRip out all the things17:05
jeblairmaybe we could use the zuulv3 topic on the nodepool master branch for things related to the new builder?17:07
jeblairso they show up on our zuulv3 dashboards17:08
pabelangerack17:08
*** hashar has quit IRC17:10
Shrewsjeblair: hrm, that's crazy enough it just might work. not sure why i had those vars to begin with now. maybe a hold over from some other thing i tried way back when17:11
jeblairShrews: yeah, it'll be nice if this ends up being simpler :)17:13
clarkbpabelanger: mordred if you do add a timeout be sure its form when dib started running and not from when build was queued. We had timeouts but they were from when things werequeued and it turned out that you could wait queuing for longer than your timeout and never get a chance to build17:15
mordredclarkb: ++17:16
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Remove ZK lock variables  https://review.openstack.org/41085317:17
mordredjeblair, Shrews: re branches - I submitted the ansible changes above to both master and feature/zuulv3 because they're simple enough that we can land them in master if we want, but certainly would cause merge conflicts with launcher rework in v3 branch17:17
mordredjeblair, Shrews: so I wanted to make sure we had the option to land them in either if we decide to land them at all17:18
mordred(also, landing the v3 merge caused them to merge-conflict so they showed up near the top of my queue)17:18
Shrewsmordred: it's looking like i probably won't start on the zuulv3 spec stuff until after the holidays, so conflicts until then should not be expected17:19
mordredkk17:20
Shrewsjeblair: 410853 is indeed simpler now17:20
Shrewsexcept for the tests17:20
mordredpesky tests17:20
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Remove ZK lock variables  https://review.openstack.org/41085317:21
jeblairmordred: we can always merge master -> v3 as needed too17:22
jeblairmordred: in 360445, there are 2 references i don't understad: "devstack nodepool tests with the new support for dual stack networks" and "ipv6 is fixed in rackspace"17:24
jeblairmordred: we could try to make me understand these, or i'm happy to defer to you and clarkb if the two of you agree :)17:24
Shrewshrm, i guess, in theory, we don't need a separate thread to test the lock stuff since attempting to lock from the same thread should now fail in the same code path.17:25
clarkbjeblair: glean did not have support for v6 in raxit may not yet for all distros not sure17:25
jeblairShrews: i would agree with that assessment17:26
mordredjeblair: I'm not sure I understand them either - especially since nodepool tests work with current devstack now17:26
clarkbjeblair: since rax doesnt use RAs like everyone else glean must statically assign v6 stuff17:26
clarkbwhich means you cant tell shade to use v6 in raxuntil gleab works17:26
mordredyah17:26
jeblairoh, are we not ipv6ing in rax right now?17:26
mordredwe're not - because nodepool always uses public_v417:27
jeblairmordred: yeah, but does the node itself have ipv6?17:27
mordredor, rather, it uses public_v4|public_v6 based on the value of ipv6-preferred17:27
clarkbjeblair: on ubuntu I think yes now17:27
clarkbon not ubuntu I dont know17:27
jeblairlike, it used to be the node was dual stack, but nodepool ignored the ipv6 (but ipv6 would still get used in tests)17:27
jeblairnow it's ipv4 in nodepool because it prefers v4, and v4 only in the tests since glean doesn't ipv6?17:28
pabelangerwe should have ipv6 in rax, let me double check17:28
mordred360446 shows the thing I was actually trying to get to - which is using interface_ip instead of logic inside of nodepool. but to do that, we have to actually tell shade when we have a config that overrides ipv6 ability detection17:29
mordredI think the commit message in 360445 is making it more complex than it needs to be17:29
pabelanger    inet6 2001:4801:7828:104:be76:4eff:fe10:684a/64 scope global17:30
pabelangerthat is from rax-ord17:30
mordredwoot17:30
mordredpabelanger: is that ubuntu or centos?17:30
pabelangerxenial17:30
mordredmind checking centos too?17:30
pabelangerit doesn't have it17:30
pabelangerI didn't update glean yet17:30
pabelangerbut checking17:30
mordredk. so we only have v6 on ubuntu - which means our config for rackspace should be force-ipv417:30
mordreduntil we have otherwise have it17:31
jeblairwith a todo: remove when glean updated for centos17:31
mordredyah17:31
pabelanger    inet6 fe80::be76:4eff:fe10:ad02/64 scope link17:31
pabelangeris centos17:31
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Remove ZK lock variables  https://review.openstack.org/41085317:32
clarkbits a repeat of the dont dhcpproblem17:32
clarkbextended to ipv617:32
mordredremote:   https://review.openstack.org/410879 Be explicit about not using ipv6 on rackspace17:33
mordredthere's a patch to make sure that we're explicit about this17:34
jeblairmordred: that's safe to land now, right?17:34
mordredjeblair: yah. it's a no-op currently17:35
jeblairmordred: okay, i think i understand all 3 patches, except for the part about "devstack nodepool tests" but it sounds like no one else does either and it's safe to ignore that.  :)17:36
mordredjeblair: but will be important if we move to ipv6-by-default-if-possible-unless-turned-off17:36
mordredjeblair: yah17:36
mordredjeblair: I can update the commit message if you like?17:36
jeblairmordred: meh, it'll be fun for future archeologists17:36
jeblairmordred: i'm +2 on all 3 in the master branch17:37
mordredwoot17:37
mordredjeblair: oh - there's two others - one of which I imagine we may want to -2 because it doesn't make sense in v3 - lemme change the topics real quick17:39
jeblairmordred: the metadata and facts ones?17:40
mordred(the 'record info as ansible inventory' is the one I tihnk we may just want to abandon/-2)17:40
mordredyah17:40
jeblairand yes, let's go with -2 on that -- it feels like adding something we're going to remove in 1 month17:40
mordredthe only reason I could see keeping the facts/inventory one is in case doing it would make rcarrillocruz's devstack-gate ansiblying more similar to what it wants to look like in v317:41
mordredbut I don't think it does17:41
jeblairyeah, i don't think so either; if we're wrong, we can pull it back out17:41
* mordred goes to abandon17:41
jeblair(and even so, i think if we did use it, it might actually make the devstack-gate -> v3 transition *harder*)17:41
mordredyah17:42
mordredk. both abandoned17:42
jeblairthe metadata patch is still good -- part of me thinks we're trading one limit (255 chars) for another (20 fields).  but we're probably better off with the fields approach.  we may want to keep that in mind when we think about how we encode image information in there -- like maybe we should combine all 4 attributes of the image used into one field17:44
clarkbfwiw rcarrillocruz's changes could use another core reviewer at this point17:44
jeblairmordred: 297950 +2 on master17:44
mordredwoot17:45
clarkbI can approve 410879 right?17:50
clarkbits noop17:50
clarkbmordred: ^17:51
mordredclarkb: yah17:52
jlkI don't suppose anybody knows off-hand what infra does with zuul 2.5 to get console.html to properly render as html (with newlines and such)?17:57
jlkis that a zuul side thing or an apache config thing?17:57
pabelangerapache setting IIRC17:59
pabelangerjlk: we also use http://git.openstack.org/cgit/openstack-infra/os-loganalyze18:00
jlkhrm, I can't tel lif that's what's hitting http://logs.openstack.org/18/406118/4/gate/gate-nova-python27-db-ubuntu-xenial/52b969d/console.html18:02
pabelangerYup, it is18:02
pabelangerwe have a whole log processing backend that does that18:03
openstackgerritMonty Taylor proposed openstack-infra/zuul: Add a log message when ansible times out  https://review.openstack.org/41088818:03
jlkalrighty18:03
openstackgerritJames E. Blair proposed openstack-infra/zuul: Fix watchdog timeout fix  https://review.openstack.org/41090218:21
clarkbjlk: pabelanger however I want to say the logs should be wrapped in <pre></pre> and just work18:31
clarkbif hosted as html18:31
jlkyeah that'd be a simple improvement.18:32
jesusaurclarkb: dont they also go through os_loganalyze?18:32
jesusauroh, you're saying they should Just Work without that, too18:32
jlki'td be nice18:33
clarkbya if they don't then its likely a regression and we should consider adding the pre tags back in18:33
jlkthey dont18:36
jlke.g. http://logs.bonnyci.com/logs/1/1/d4ff2139f57a78bd924fdfa33103739e8783ee1b/check_github/tox_py27/5739c46/console.html18:36
pabelangerclarkb: the file isn't actually HTML however, we just dump text into it18:36
pabelangerI suspect console.html is just to keep our log processing happy18:37
clarkbpabelanger: yes thats why we need to wrap in <pre>18:37
jlkLooking at the plugin it'd be pretty simple to toss the <pre> and </pre> on it18:37
* jlk tosses up a patch18:37
pabelangerclarkb: but we use it for telnet too18:37
pabelangerunless we add something into post_playbook18:37
clarkbpabelanger: thats fine you'll just see <pre> at beginning and end of telnet18:37
clarkbwon't hurt anything18:37
mordredclarkb: my eyes. it'll hurt my eyes :)18:38
pabelangerclarkb: true18:38
jlkoh hrm.18:39
jlkmaybe not so easy, because we open that file every time a command is ran18:39
jlkIt's a new open every time. I mean, I guess it's okay to have a bunch of <pre> ines in there right?18:39
clarkbjust write it the first time?18:41
openstackgerritPaul Belanger proposed openstack-infra/zuul: Wrap zuul_log in pre HTML tag  https://review.openstack.org/41091118:41
jlkhard to tell what "the first time" is18:41
pabelanger^18:41
clarkbjlk: not really if file not empty then pre18:41
pabelangerun tested18:41
clarkber if file empty18:41
jlkoh fair.18:41
jlkbut looks like pabelanger beat me to it18:41
jeblairwait what are we doing?18:41
pabelangerhowever, still not a fan of it18:41
clarkbmaking the html console file html so that browsers are happy18:41
jlkexcept his doesn't do it only the first time, it'd be every time.18:42
mordredmaybe instead of changes to 2.5 - how about just runnign os_loganalyze on the web server serving the logs? it also gets all of those nice intra log links and whatnot18:45
pabelangerYa, actually like that better18:45
pabelangernot sure I want to add HTML things into ansible18:46
clarkbone big reason is that loganaylze is suepr specific about what it will convert and add tags to18:46
jlkWell, I'd need to dig into os-logalize and see if it's appropriate for non-infra sites18:46
clarkband I don't want to have to keep up with a bunch of external CI systems trying to match all tehri stuff18:46
clarkbif we claim the file is html then I think we should just wrap in <pre> which is super simple way to make it just work everywhere18:46
mordredright.18:47
jlkthis ^^18:47
jeblairhow relevant is this to v3?18:47
mordredbut 2.5 is explicitly not intended to work anywhere other than infra18:47
pabelangercould also ForceType text/plain for console.html today too18:47
mordredso it's the same problem18:47
jlkdepends, what does v3 do for log exposure?18:47
mordredwe need to rework log exposure in v3 to provide for the websockets stuff - and the fact that the tasks will all be ansible themselves so we really need to get a callback plugin to interleave any captured log output into ansible task success/fail statements18:48
mordred(could use a spec write up on that too, tbh)18:48
clarkbwith timestmaps!18:52
clarkbsorry thats like peeve #1 using ansible18:52
mordredyah. I think it's going to be a fun callback plugin to write18:52
jlkheh, we've done that in Ursula, timestamps for the things18:52
jlkinterlaced with the nice thing that came in v2 which was displaying which file the task came from18:53
clarkbyes its a thing everyone has to do themselves because ansible procalimed a while back that they would not add it to ansible itself18:53
clarkbthough that was pre red hat and I think a way to try and get people to buy tower18:53
clarkbmaybe thats no longer the attitude18:53
jlkThey ship an example timestamps callback I think.18:57
jlkhttps://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/timer.py18:58
jlkbut it's very minimalistic18:58
jlkreally not much better than calling "time ansible-playbook blah blah blah"18:58
rcarrillocruzo/18:59
* rcarrillocruz rejoices as d-g ansibly changes are going thru the gate19:02
* rcarrillocruz checks mentions19:02
pabelangerrcarrillocruz: ya, I haven't had time to poke at it. But is cool19:20
openstackgerritMerged openstack-infra/zuul: Add a log message when ansible times out  https://review.openstack.org/41088819:30
openstackgerritMerged openstack-infra/zuul: Fix watchdog timeout fix  https://review.openstack.org/41090219:31
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul: Remove now-unused ZuulTestCase.resetGearmanServer  https://review.openstack.org/41093519:41
pabelangerjeblair: Shrews: should we remove the ability for nodepoold.py to launch a builder? And expect everybody to just use nodepool-builder command?19:44
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Remove the ability for nodepoold to launch a builder  https://review.openstack.org/41093919:49
clarkbpabelanger: what is the benefit of ^?19:50
pabelangerjeblair: Shrews: clarkb: mordred: ^ let me know what you think19:50
clarkbhaving an all in one daemon is nice and simple. I don't think we should require everyone to have a large deployment like we do19:50
pabelangertrue, but starting another process on the same machine will work out of box.19:51
clarkbno it requires you to have more init scripts and such19:51
pabelangerI like the idea of removing it, as it reduces the things we need to test and support19:51
clarkbpabelanger: but thats actually how much of the testing works19:52
pabelangerokay, an init script then19:52
clarkbso its actually harder to test the otehr thing (which we do in the integration job but not unit/functional)19:52
pabelangerI thought we just called the builder directly for testing19:53
pabelangernot nodepoold19:53
clarkbwe run it all in the same process19:53
clarkbwhich is what you are proposing we stop doing19:53
pabelangershrugs, if we want to keep it, that is fine. was trying to get away from doing nodepoold --no-builder dance in our init.d scripts19:54
clarkbif we want to invert the default I think thats fine. But having the option is nice for simpler setups and it is how much of the testing runs too19:55
Shrewspabelanger: i don't really have an answer for that question. sorry20:02
pabelangerI'll poke at it again, see what is needed to invert the logic20:04
rcarrillocruzhmm20:41
rcarrillocruzvoluptous question20:41
rcarrillocruzis it possible to define that an attribute is optional but required if another one is specified?20:41
clarkbrcarrillocruz: I think with a validation funcion20:45
pabelangeryup20:45
pabelangerI think we do something like that in grafyaml20:45
rcarrillocruzcool, let me read, thx20:45
jeblairclarkb, pabelanger: i think i lean toward removing support from nodepoold to launch a builder, mostly because even on a single host, it's better to launch them as separate processes (we rarely want to stop both of them at the same time).  i think that any package or installation of them will need the init scripts for both anyway, so i think the main argument for being able to start them together is perceived ease of use for a new user.  but i ...20:55
jeblair... think that the confusion arising around whether to decide to start them together or not is worse than the confusion of having two processes.  and things like puppet-openstackci and ansible deployments can make that easy.20:55
clarkbI think my biggest concern is just keeping number of things that change to a minimum to help users transition (this is why the builder can run in the main daemon too fwiw)21:00
dmsimardhttps://review.openstack.org/#/c/405613/ (ARA implementation patch) is based on top of the large series of ansiblezation patches and I just got the first (probably out of many) merge failure notifications. Should I just base it on current master ?21:14
mordreddmsimard: yah- I thnk so21:14
mordreddmsimard: there is enough ansible in current master that we should be able to see the output21:15
dmsimardOkay.21:15
rcarrillocruzdmsimard: yah, a bunch just merged, so you better pull and rebase21:26
openstackgerritAdam Gandelman proposed openstack-infra/zuul: Re-enable test_nonvoting_job  https://review.openstack.org/41096121:29
dmsimardsome of these views would be a great fit for ARA to reduce the amount of navigation I think http://www.patternfly.org/pattern-library/content-views/list-view/#/_overview21:29
dmsimardmaybe in the next version :)21:30
clarkbrcarrillocruz: dmsimard you don't need to pull and rebase21:32
clarkbjust recheck21:32
dmsimardclarkb: I just rebased on top of master, it was a clean rebase so no effort. Took 5 seconds :)21:32
dmsimardmordred ninja +W'd the rebase21:33
clarkbok doesn't hurt to just pointing out that zuul tests you against merged code21:33
clarkbso you don't need to rebase unless there are conflicts21:33
dmsimardbut there was21:33
clarkbah ok21:33
dmsimardat least as far as the jenkins comment says there was a merge conflict21:33
dmsimardit asks nicely to rebase :)21:33
mordredclarkb: it was based on one of the not-yet-ready ansibly patches - dmsimard rebased against master instead21:35
clarkbgotcha21:35
dmsimardansibly ? that's the term ? okay, I'll stop using ansiblization :P21:35
rcarrillocruzhah, blame me for that 'term'21:35
mordredlove ansibly as a term :)21:36
jheskethMorning22:01
SpamapSadam_g: looks like we crossed streams on test_nonvoting_job22:17
adam_gSpamapS: yay22:17
SpamapSadam_g: I claimed it in task 3428, you in 3431, so probably an HTTP refresh problem :-P22:17
SpamapSadam_g: actually no, you are 2 days late. ;)22:17
adam_gSpamapS: no, that was my fault. no biggie, didnt burn22:19
adam_g... much time on that22:19
SpamapSyeah it was an easy one22:19
adam_gSpamapS: abandoning mine22:20
SpamapSI think we're down to about 40 @skip's in feature/zuulv3 now.22:21
adam_gwhat is the plan wrt merge failure reporting? im looking at the tests now and see that thigns are no longer architected to support reporting it in the way it used to be done.22:21
adam_gim not seeing anything in the board about that, is there some notes anywhere about that?22:22
adam_g... or is it deferred till post-ZK, since it'll probably involve some work in the gearman area22:22
SpamapSI'd expect merge reports to work more or less the same22:24
clarkbthough the question of whether or not we needed that anymore did come up I think. Since gerrit checks as does github for you22:24
clarkbhowever I suppose $otherthing may not so keeping it around would still be good22:24
clarkbjeblair: is that where we left off ^22:24
jeblairyeah, it came up in the zuultrigger discussion22:25
jeblairjust limiting the discussion to real jobs (not merge-check noop jobs)....22:27
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Remove the ability for nodepoold to launch a builder  https://review.openstack.org/41093922:28
jeblairthere's a tradeoff here -- we don't really need to merge changes until we launch them, so the most straightforward path is to have the launcher report a merge failure.  however, that would happen after node allocation, so it could be a bit inefficient.  if you have a source mergability check (eg, gerrit/github) as a pipeline requirement, that won't be an issue.  otherwise, the only way to prevent that would be to invoke the merger on every ...22:28
jeblair... change before sending it to the launcher to be merged again.22:28
jeblairthat's also inefficient22:29
jeblairthough it's only one extra merge for the change, so not super crazy.22:29
adam_gthe latter sounds reasonable, perhaps only when a new 'check-merge: true' configuration option is set on the pipeline?22:31
jeblairadam_g: that's an option22:32
jeblair(note that even currently we sometimes send the change to the mergers before launching in the case of a zuul.yaml update, so that we can fetch the new config)22:33
SpamapSMy wild ass guess is that a merge is at least 10x cheaper than a node allocation and recycle.22:33
SpamapSBut if trigger sources are already doing it.. seems like the right thing to do is optimize for trigger sources doing it.22:34
jeblairSpamapS: yeah... actually oddly enough the worst and best cases line up: 30 seconds.  but the general case you're probably right, or it might even be worse.  :)22:34
jeblair(our fastest cloud gives us a node in 30 seconds and our slowest repo takes 30 seconds to merge a change)22:34
adam_gha22:35
jeblair(our slowest cloud is 5 minutes and our fastest repo is, well, seconds at most)22:35
SpamapSIn the "we don't pay for nodes" scenario, that's definitely a wash.22:35
SpamapSDunno if any clouds bill in less than 1 hour increments.22:35
adam_gin either case, theres a bunch of reporting code that isn't used currently and shoudl either go away or be updated to support pre-launcher merge checking22:35
SpamapSI know early days, EC2 would not bill you if you shut down in the first 10 minutes or so.22:36
SpamapSGuessing RAX has a similar "oops" window.22:36
SpamapS(just thinking about zuul users who are paying for computers)22:36
jeblairyeah, i think i'm leaning toward just putting the pre-launch merge back in all cases for now.22:36
SpamapSit's not a complex path, so +122:36
jeblair(rack up another point for 'keep the separate mergers')22:37
clarkbwe fixed grub to not have a timeout and just boot our images and I did rough math that showed we were saving more than a full cpu day per day with that small change22:37
adam_gi may take a stab at it if as part of re-enabling the existing merge conflict reporter tests22:37
clarkb(just pointing out that it does add up fast especially when using donated resources)22:37
SpamapSclarkb: yeah, the moral of the story is "Try hard to only allocate if you know you can use it"22:38
jeblairadam_g: cool... most of the code is still there for the getLayout() bits.  that, plus some comparison with v2 should get you most of the way there22:39
jeblairadam_g: roughly speaking, "just do that for every change, but only use the custom layout if necessary"22:40
adam_gjeblair: yea, the harder part is going to be gutting all of the stuff built up around build_set.commit / build_set.unable_to_merge22:40
SpamapSI wonder if we should do a round of dead-code-hunting using coverage reports once we're done re-enabling all the old tests.22:40
jeblairadam_g: oh that shouldn't change i don't think22:40
jeblairadam_g: those bits are still active in the getLayout code path22:40
jeblairso if we run that path always, they'll be, erm, always active :)22:40
jeblairSpamapS: ++22:41
adam_gjeblair: oh, ill need to take a closer look down there, then. the ways v2.5 used that stuff in other places seems to have changed drastically22:42
jeblairadam_g: yeah, the getLayout bit is still basically the v2.5 pre-launch merge check, just made conditional, so making it unconditional shouldn't be a huge thing and should basically plug right back in to the old stuff22:44
mordredSpamapS: re: billing - fwiw, here are three entries from fuga.io22:50
mordredNov 01, 2016 — Nov 30, 2016 OpenStack Instance - mttest / openstack_flavour_c1.small €2.8222:50
mordredNov 01, 2016 — Nov 30, 2016 OpenStack Instance - testmt / openstack_flavour_c1.tiny €0.0122:50
mordredNov 01, 2016 — Nov 30, 2016 OpenStack Instance - testmt / openstack_flavour_c1.medium22:50
mordred€0.0122:50
mordredthe c1.medium has a rate of € 0,0600/hr22:51
mordredso it does seem they do fractional hour billing22:51
mordredwith a floor of €0.0122:51
rcarrillocruzfuga, wow, didn't know about this provider22:54
rcarrillocruzfunny hearing so many 'openstack is dead' , yet openstack public clouds keep springing from everywhere22:55
mordredrcarrillocruz: openstack is only dead if you're a large already-not-very-good-at-tech US corporation22:58
mordredrcarrillocruz: especially one who was hoping openstack would somehow be a silver bullet to help you become the next amazon with no effort on your part22:58
rcarrillocruzhmm, that seems familiar :D22:59
mordredrcarrillocruz: kiss.cloud is another new public cloud22:59
rcarrillocruzyeah, heard that randomly from ng the other day22:59
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Add missing pause fields to config-validate  https://review.openstack.org/41099223:13
SpamapSIt's as dead as Linux was when VA Linux renamed themselves to VA Research and SCO started suing its users. ;)23:14
SpamapSMeaning "it's actually real and has users and has momentum"23:15
clarkbI dunno linux is only like 2% of steam installs. Clearly niche23:15
clarkb>_<23:15
pabelangerOpenStack is dead, long live OpenStack23:15
pabelangerclarkb: are you running steam on linux? I've tried it on my desktop and works pretty well. Minus the crappy graphics card I have23:16
clarkbpabelanger: not anymore, but I have a machine in a closet that has a hard drive with it on it23:17
clarkbya it did work pretty well for don't starve23:17
rcarrillocruzmy gaming time has gone to zero for some time23:21
rcarrillocruzi'm hoping i can make some room for a VR space to use my oculus from time to time tho23:21
rcarrillocruzroom in my new house i mean23:22
openstackgerritClark Boylan proposed openstack-infra/nodepool: Validate configs when used by tests  https://review.openstack.org/41099523:26
*** willthames has joined #zuul23:39
pabelangerjeblair: Shrews: something to dig into tomorrow: http://logs.openstack.org/92/410992/1/check/gate-nodepool-python27-ubuntu-xenial/3ccd075/console.html#_2016-12-14_23_26_49_46417023:40
pabelangera failure in our test_image_removal job23:40
openstackgerritRicardo Carrillo Cruz proposed openstack-infra/zuul: WIP Add per-repo public and private keys  https://review.openstack.org/40638223:41
openstackgerritClark Boylan proposed openstack-infra/nodepool: Validate configs when used by tests  https://review.openstack.org/41100223:49
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Add missing pause fields to config-validate  https://review.openstack.org/41100423:52
openstackgerritClark Boylan proposed openstack-infra/nodepool: Validate configs when used by tests  https://review.openstack.org/41099523:53

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