/srv/irclogs.ubuntu.com/2015/09/22/#juju-dev.txt

thumperkk00:00
* thumper heads out for lunch00:00
anastasiamacwaigani: hi :D00:34
waiganianastasiamac: hello :)00:48
mupBug #1498232 opened: provider/ec2: provisioning with spaces should be provider-independent <ec2-provider> <network> <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1498232>00:49
mupBug #1498235 opened: provider/ec2: add unit and feature tests for provisioning instances with spaces in constraints <ec2-provider> <network> <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1498235>00:49
anastasiamacwaigani: i was wondering if ur old PR needed reviewing but I've reviewed it anyway :P00:49
anastasiamacwaigani: so all good :D00:49
anastasiamacwaigani: how r u, anyway?00:49
waiganianastasiamac: sorry, internet dropped out. thanks for the review.00:57
axwlazypower: if you're around, I can field answers about the loop storage provider now00:57
axwlazypower: if not, feel free to email me00:57
natefinchthumper, davechen1y, axw, etc: I have a function that gets run by a worker that iterates over a collection and performs an action for each document.  In theory, one or more of these actions may fail.  How do I handle the failures? Do I break out of the loop at the first one and let the worker restart? Do I run as many a possible and then collate the errors somehow?01:58
axwnatefinch: what's the action?01:59
axwI'm not sure there's a general answer01:59
natefinchaxw: assigning units to machines.... this is the second half of a bugfix that makes adding services atomic... in this case, the user's desired units and their placement criteria are saved to a new collection when the service is created, and a worker comes along and does the assigning. \02:01
axwnatefinch: and what would cause individual ones to fail? bad placement?02:03
axwnatefinch: I think this is a case where you'd want to try them all and collate errors (or set individual errors as status units?), so one bad placement doesn't block everything02:04
natefinchaxw: in theory the service could have been destroyed, or yeah, bad placement02:04
natefinchaxw: yeah, that was what I had gone to do, but I was hoping someone else had made a standard error collating thingy02:05
axwnatefinch: maybe collating isn't the right thing to do though. if it may fail due to user input, then you probably want to report the error rather than bounce the worker02:06
natefinchaxw: we validate the placement sychronously during service deployment, so the only thing that could really fail is if you specify some combination that doesn't match any possible machines.02:09
* thumper agrees with axw02:10
thumpercollate and report02:10
natefinchthoughts on how to turn N errors into 1 error?02:11
axwwell I'm actually saying don't collate/combine, but return an error per unit... and then update unit status with those rrors02:11
natefinchaxw: the unit statuses will be updated, that code already exists and I'm just reusing it02:11
axwnatefinch: ok, what're you going to do with the error then?02:12
natefinchaxw: that's what I was just thinking about... it's just an error reported to the worker, it either logs it and ignores it or restarts.  There's no much else to do.  If the state code logs each error individually... the worker shouldn't really need every detail of every error.02:13
axwnatefinch: so I'd probably return something like ([]UnitAssignmentResult, error) to the worker, where each result contains a unit-specific error. you can log them or not, but only bounce the worker if the top-level error result is non-nil02:15
axwnatefinch: and if you need to do something with them later that isn't logging, you haven't thrown away information02:16
natefinchaxw: makes sense.  Thanks for the help :)02:16
axwnatefinch: nps02:17
axwdavechen1y: in response to your review comment: https://github.com/juju/juju/pull/334602:48
davechen1yaxw: lgtm, i dunno why reviewboard hasn't picked it up02:58
axwdavechen1y: ta. maybe because I was lazy and didn't add a description02:58
axwoh it's there now... just a bit slow02:59
thumperand with that epic email, I'm done for the day06:29
thumperlaters06:29
mupBug #1498349 opened: juju upgrade fails with tools upload error due to invalid series "wily" <juju-core:New> <https://launchpad.net/bugs/1498349>08:08
mupBug #1498349 changed: juju upgrade fails with tools upload error due to invalid series "wily" <juju-core:New> <https://launchpad.net/bugs/1498349>08:11
mupBug #1498349 opened: juju upgrade fails with tools upload error due to invalid series "wily" <juju-core:New> <https://launchpad.net/bugs/1498349>08:14
mupBug #1498349 changed: juju upgrade fails with tools upload error due to invalid series "wily" <juju-core:New> <https://launchpad.net/bugs/1498349>08:17
mupBug #1498349 opened: juju upgrade fails with tools upload error due to invalid series "wily" <juju-core:New> <https://launchpad.net/bugs/1498349>08:29
dooferladmgz: do you want me to split up those merge requests some more, or are you ok with them?08:56
dooferladmgz: https://code.launchpad.net/~dooferlad/juju-ci-tools/addressable-containers-tools/+merge/271836, https://code.launchpad.net/~dooferlad/juju-ci-tools/addressable-containers-assess/+merge/27183708:57
=== Spads_ is now known as Spads
mupBug #1498481 opened: HAProxy charm broken by recent commit <blocker> <charm> <ci> <haproxy> <quickstart> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1498481>13:09
mupBug #1498481 changed: HAProxy charm broken by recent commit <blocker> <charm> <ci> <haproxy> <quickstart> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1498481>13:18
mupBug #1498481 opened: HAProxy charm broken by recent commit <blocker> <charm> <ci> <haproxy> <quickstart> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1498481>13:21
perrito666mattyw: your tweet just made me get again into the painful task of getting refills for my fountain pen13:27
mattywperrito666, you're one of those people as well are you?13:27
mattywperrito666, I'm new to it all13:27
mattywtasdomas, ^^13:27
perrito666mattyw: lol, I am now using a very nice staedler I got as a prize in the las sprint charming contest because finding the refills for my pain is especially hard here13:28
perrito666but yes, I am picky about my writing materials13:28
perrito666and I write a lot13:28
rick_h_perrito666: /me looks at my staedler fountain pen I picked up during nuremberg sprint13:35
katcoperrito666: rick_h_: i only use the one true writing utensil: the apple pencil13:36
rick_h_katco: hah!13:36
rick_h_my only pencils are my old drafting pencils13:36
rick_h_solid nice things13:36
wwitzel3I use the square construction pencils for everything13:37
rick_h_wwitzel3: those are my fav in the shop13:37
rick_h_nothing like taking a break to sharpen a pencil with a knife or a bandsaw :)13:37
wwitzel3rick_h_: I bought a box for the shop and they've migrated inside as well, so now I just use them for everything13:38
perrito666I only use the square ones when I help my wife with cooking, those things will write on anything13:39
wwitzel3even got me a proper carpenter pencil sharpener13:39
perrito666wwitzel3: oh, is that a thing? I use an opinel13:39
wwitzel3perrito666: yeah, they are very cheap, around a US dollar or two, but they are worth it, extends the life of the pencil by a lot (for me anyway)13:40
perrito666well look at that, never saw one of those13:44
perrito666katco: alexisb I completely forgot about the interlock sorry13:45
katcoperrito666: too busy talking about pencils13:46
perrito666katco: and compiling mongo, oh joy13:46
katcoperrito666: calendar notifications ftw ;)13:46
perrito666katco: yeah, I dismissed the notification of 10 min before but I have no notif for "starting now"13:46
katcoperrito666: gcal really needs a snooze button13:47
perrito666katco: +113:53
mupBug #1498511 opened: state server records lxbr0 address which clients attempt to use for charm downloads <juju-core:New> <https://launchpad.net/bugs/1498511>14:15
mupBug #1498518 opened: Error when attempting to deploy service in manual env without specifying machine <juju-core:New> <https://launchpad.net/bugs/1498518>14:15
rogpeppeanyone ever seen this error before (from the state tests) ? http://paste.ubuntu.com/12521386/14:25
rogpeppehmm, looks like it's a TLS error14:27
natefinchrogpeppe: doesn't look familiar.14:28
rogpeppenatefinch: yeah, first time i've seen it too14:29
natefinchniemeyer: you around?14:31
niemeyer_natefinch: Yes, but on a meeting14:31
natefinchniemeyer_: ok, ping me when you're out?  Trying to understand out how to figure out what mgo assertion is failing14:32
rogpeppei've been looking for a review of this for 5 days now. any takers? http://reviews.vapour.ws/r/2689/15:04
rogpeppemgz, sinzui: i've pushed up a hopefully-working version of the use-charm.v6-unstable feature branch. any chance we could get a CI run on it, please?15:07
sinzuirogpeppe: yes. I may not need to intervene becase CI has better feature branch rules15:08
rogpeppesinzui: thanks15:08
rogpeppenatefinch: you're OCR? fancy a review? http://reviews.vapour.ws/r/2689/15:11
perrito666rogpeppe: reviewed15:15
rogpeppeperrito666: ta!15:15
rogpeppeperrito666: not sure about your "comment name is wrong" suggestion. the comment looks as correct as it was before. or are you saying that it was always wrong?15:17
rogpeppeperrito666: FWIW i wouldn't use that phrasing either, but i didn't want to make too many gratuitous changes15:18
perrito666sorry, if you look carefully the name of the function in the comment and the actual function name are not the same15:18
rogpeppeperrito666: ha, good point15:18
rogpeppeperrito666: so it was always wrong15:18
perrito666most likely, just noticed and since you where there :p15:18
perrito666apart from that looks good, I really like that change15:20
perrito666I feel this doc is lying to me http://doc.bazaar.canonical.com/latest/en/tutorials/using_bazaar_with_launchpad.html#personal-branches15:20
perrito666I branched a project and push will not do what is says there15:21
abentleyperrito666: Did you do the launchpad-login step above?15:23
perrito666abentley: yup15:23
abentleyperrito666: What happens?15:23
natefinchrogpeppe: yeah, sorry, forgot I was OCR15:24
rick_h_ natefinch http://reviews.vapour.ws/r/2732/ has one as well please for frankban15:25
perrito666abentley: http://pastebin.ubuntu.com/12521781/15:25
natefinchrick_h_: looking15:26
abentleyperrito666: I suspect juju-mongodb is a package, not a project.15:28
abentleyperrito666: The package URL is something like lp:~hduran-8/ubuntu/trusty/juju-mongodb/juju-mongodb2.615:30
wwitzel3where does the aws-quickstart-bundle live?15:32
frankbannatefinch: ty!15:33
sinzuiwwitzel3: lp:juju-ci-tools/repository maybe15:33
sinzuiwwitzel3: http://bazaar.launchpad.net/~juju-qa/juju-ci-tools/repository/view/head:/bundles.yaml15:34
wwitzel3sinzui: thank you15:36
perrito666abentley: ah thank you my mistake15:47
mattywTheMue, ping?16:08
natefinchalexisb, katco: have we picked a date for the juju-core sprint?16:09
frobwaremattyw, he's out on holiday this week16:13
mattywfrobware, ok no problem16:14
katconatefinch: i think dec. 7th-11th is looking like it may be the winner. nothing official.16:15
natefinchkatco: thanks.  I presume no word on where yet?16:23
katconatefinch: nope. i think everyone's still focused on upcoming sprint16:24
natefinchkatco: fair enough... actually, I guess it's further away than I was thinking... I forgot november exists ;)16:26
katconatefinch: haha that's sep. for me... always seems to blow by for some reason16:27
wwitzel3sinzui: trying to reproduce https://bugs.launchpad.net/juju-core/+bug/1498481 with current 1.25 against aws, is this happening all the time for you? Or just intermintent?16:40
mupBug #1498481: HAProxy charm broken by recent commit <blocker> <charm> <ci> <haproxy> <quickstart> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged by wwitzel3> <https://launchpad.net/bugs/1498481>16:40
sinzuiwwitzel3: all the time on aws, hp, joyent, and maas16:41
wwitzel3sinzui: should I be doing something other than using deployer to deploy the bundle to replicate?16:42
mupBug #1498575 opened: Create min helper function to eliminate duplicate definitions <juju-core:New for cherylj> <https://launchpad.net/bugs/1498575>16:43
mupBug #1498575 changed: Create min helper function to eliminate duplicate definitions <juju-core:New for cherylj> <https://launchpad.net/bugs/1498575>16:46
sinzuiwwitzel3: after quickstart finished, the script just polled the status. It early if an agent is in error. If all agents are stated, then success. This is a success from a previous test of 1.25 http://reports.vapour.ws/releases/3065/job/aws-quickstart-bundle/attempt/101616:46
mupBug #1498575 opened: Create min helper function to eliminate duplicate definitions <juju-core:New for cherylj> <https://launchpad.net/bugs/1498575>16:52
mupBug #1498577 opened: juju deploy lis-test-charm hangs in pending <juju-core:New> <https://launchpad.net/bugs/1498577>17:01
mupBug #1498577 changed: juju deploy lis-test-charm hangs in pending <juju-core:New> <https://launchpad.net/bugs/1498577>17:04
mupBug #1498577 opened: juju deploy lis-test-charm hangs in pending <juju-core:New> <https://launchpad.net/bugs/1498577>17:13
alexisbnatefinch, yes, week of dec 7th17:26
alexisbnatefinch, venue still not locked down17:26
natefinchalexisb:  cool, thanks17:27
perrito666alexisb: well locking down the venue just for us is a bit overkill17:27
alexisbperrito666, I want to ensure proper network17:28
rick_h_perrito666: take over all the things!!!17:28
natefinchniemeyer_: ping?18:39
perrito666jamespage: thank you :D https://launchpad.net/~hduran-8/+archive/ubuntu/juju-mongodb2.619:12
niemeyer_natefinch: Heya19:16
niemeyer_natefinch: So tell me, what's up with assertions there?19:17
natefinchniemeyer_: hey, sorry, had to step out.  Back now.  There's just a large-ish list of ops being put into a single transaction. Most of them were there before, but in separate transactions.  The transaction is returning ErrAborted, which I understand means an assertion is failing?  But I don't know how to figure out which one, as there are several.20:05
niemeyer_natefinch: There's no magic way.. you need to introspect the current state20:06
natefinchniemeyer_: ahh, boo.  I had hoped there was a magic log file somewhere or something that could tell me which one was failing.  That's fine.  I can slog it out the hard way.20:07
niemeyer_natefinch: No.. it's very hard to do that given the constraints we have in terms of db features20:07
niemeyer_natefinch: All the assertions need to match before we fail.. when we fail, we can't be sure of what is broken since things are running concurrently20:08
natefinchniemeyer_: understood.20:10
mupBug #1498642 opened: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:10
mupBug #1498642 changed: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:13
katcowwitzel3: hey, need an update on bug 1498481 for the release meeting. how's it going?20:19
mupBug #1498481: HAProxy charm broken by recent commit <blocker> <charm> <ci> <haproxy> <quickstart> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged by wwitzel3> <https://launchpad.net/bugs/1498481>20:19
mupBug #1498642 opened: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:19
mupBug #1498642 changed: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:28
mupBug #1498642 opened: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:31
mupBug #1498642 changed: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:34
perrito666man waiting for ppas to build is nerve wrecking20:35
mupBug #1498642 opened: juju lxc template does not DHCP release <juju-core:New> <https://launchpad.net/bugs/1498642>20:37
perrito666you know mup I feel like you are trying to tell me something20:38
katcowwitzel3: ping20:48
mwhudsongood morning20:49
katcomwhudson: o/20:50
mwhudsonperrito666: someone pointed me at https://wiki.ubuntu.com/SimpleSbuild recently20:53
mwhudsonperrito666: makes for fewer ppa embarrassments20:54
perrito666mwhudson: thanks20:55
natefinchyou know it's bad when the simple process is 11 steps20:56
=== natefinch is now known as natefinch-afk
perrito666mwhudson: but this is the first build of my ppa anyway, and its mongo so it will take time :p21:01
mwhudsonah yes21:02
katcowwitzel3: ping ping ping21:04
alexisbkatco, thumper can you guys cover the release call today?21:06
alexisband ping me if you need me21:06
katcoalexisb: yes; anything in particular you want us to raise?21:07
alexisbgive green light on beta1 release21:07
alexisbdo a first pass of priorities on beta221:07
alexisblet me know if you have questions21:07
katcoalexisb: can't give a green light on beta1, 1 crit. open. wwitzel3 is working on it21:08
alexisbkatco, crap yeah ok, forgot about that21:08
alexisbthanks21:08
davecheneywhat's the story with https://bugs.launchpad.net/juju-core/+bug/149729721:48
mupBug #1497297: TestFindToolsExactInStorage fails for some archs Again <blocker> <ci> <precise> <regression> <test-failure> <unit-tests> <juju-core:Fix Committed by cherylj> <https://launchpad.net/bugs/1497297>21:48
davecheneyit's been fixed released since friday21:48
davecheneysorry, fixed comitted21:49
katcodavecheney: sinzui says we're still waiting for a blessed master21:50
davecheneykatco: ok, i'll keep waiting21:54
davecheneyhttp://reviews.vapour.ws/r/2731/21:54
davecheneyreview, going free21:54
katcodavecheney: you might poke him for a re-run in just a bit21:54
mupBug #1484419 changed: Local provider: fail to download charm from state server when using an isolated network <deploy> <ha> <landscape> <network> <juju-core:Triaged> <https://launchpad.net/bugs/1484419>22:14

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