/srv/irclogs.ubuntu.com/2018/03/20/#juju-dev.txt

wallyworldveebers: i made some comments on the PR, we probably need to chat about them. let me know if you have a minute at some stage01:18
veeberswallyworld: ack, in process of removing the suggested deps.01:18
veeberswallyworld: I have time now if that suits01:18
wallyworldok, let's01:19
wallyworldbabbageclunk: the tracker workers need to offer the full Environ or CAAS Broker as these are used in several places and the downstream workers need the full interface01:57
babbageclunkwallyworld: oh, sure, but they could have another clause in their type-switches for CloudDestroyer01:57
wallyworldbabbageclunk: i'm not sure I follow. Those tracker workers (originally just the one - EnvironTracker) are to provide the full Environ to downstream, and the guarantee is that any config changes will be reflected in the supplied Environ. Narrowing the type at the Tracker  output is the wrong thing to do IMO. Bt maybe I'm missing something. If it's easier to talk 1:1 we can do that?02:00
babbageclunkyeah, lets02:01
wallyworld1:102:01
thumperOMG...02:47
thumperfound it02:47
thumperwas digging through the code looking for how we get ports assigned for tests.02:48
thumpera lot of digging02:48
thumperhmm...02:56
thumperwhile part of me thinks we can wrap this... another part says I'm just going to be introducing a race condition02:57
thumpernot one we care about, but one that will trigger the race detector02:57
thumperffs02:57
wallyworldbabbageclunk: i pushed the change we discussed but sadly testing fails.... juju.worker.dependency "undertaker" manifold worker returned unexpected error: expected *environs.Environ, got *undertaker.cloudDestroyer03:12
wallyworldso it seems the Get() does strict type checking03:13
wallyworldso i think we need to use the original approach03:13
babbageclunkwallyworld: No, you just need to add a clause to the manifold output funcs for CloudDestroyer03:15
babbageclunkin the environ tracker and broker03:15
babbageclunkwallyworld: here https://github.com/juju/juju/blob/develop/worker/environ/manifold.go#L5803:16
babbageclunkand here https://github.com/juju/juju/blob/develop/worker/caasbroker/manifold.go#L5803:17
wallyworldah i see, so support both clouddestroyer and environ03:17
babbageclunkyup03:18
thumperwallyworld: the test port change is going to have to be a change in the agent itself03:25
thumperotherwise there are races setting the config and getting other workers to notice03:25
thumperso won't be doing it today...03:25
wallyworldok03:25
thumperit is possible, just icky03:25
wallyworldbabbageclunk: changes pushed. manually tested on both caas and iaas models03:39
babbageclunkcool - looking now03:40
babbageclunkwallyworld: approved03:43
wallyworldyay03:43
wallyworldty03:43
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
jamwhile reviewing other code, I found a bunch of panic() calls in normal code paths. Anyone care to review https://github.com/juju/juju/pull/851008:03
jamveebers: balloons: ^^ somehow we have both go vet and go fmt issues on that branch. Did we stop calling scripts/verify.bash as part of the pre-commit check ?08:04
=== frankban|afk is now known as frankban
manadartjam: Looking at #8510 now. Just pushed to #8501 with sanitised address scenarios.09:20
=== akhavr1 is now known as akhavr
=== salmankhan1 is now known as salmankhan
=== akhavr1 is now known as akhavr
balloonsjam, Chris mentioned some needed changes to the check; but it was to ensure things didn't pass that shouldn't12:26
balloonsDid you figure or12:26
jamballoons: I just wanted to note that I ran into it, I didn't dig in at all12:26
jamballoons: why is it that everytime I check ci-run, I see red, I click on it, and I see *lots* of green, but the one that matters is red.. :(12:29
jam:)12:29
balloons;)12:35
balloonsI like clicking the view tabs at the top. Unit tests are tantalizingly close12:35
jamballoons: we need a similar cleanup of $TEMP on Windows, thoughts?12:38
jamballoons: I'm guessing we don't have cygwin/msys there, right?12:38
=== akhavr1 is now known as akhavr
jamballoons: i finally worked out: ssh developer-win-unit-tester powershell.exe 'Set-Location "$Env:TEMP"; Dir' | vim -R -12:50
jamand we have  ~11k files in TEMP12:50
balloonsjam, wow12:57
balloonsjam, the intent was always to spawn a new instance, but never could get the experience right; where we could ssh in on a fresh instance12:58
jamballoons: well, we have a weird symlink or something in %TEMP%, but I've deleted 10k or so files13:00
balloonsjam, windows unit tests are now having trouble it seems after running brilliantly for a long time13:18
cmarsgood morning. could someone review this metrics-related PR, https://github.com/juju/juju/pull/8484 ?14:22
cmarswould be much appreciated :)14:23
externalrealitymanadart, really small https://github.com/juju/juju/pull/851214:29
manadartexternalreality: Ack. Got 1:1 with balloons. Shouldn't be long.14:30
externalrealitymanadart, someone seems to have been making a effort to migrate all these retry attempts to juju/retry. I wonder if that is still a thing14:30
balloonsjam, we use https://github.com/PowerShell/Win32-OpenSSH15:08
balloonsno cygwin nonsense needed that way15:08
manadartexternalreality: Approved.15:21
cmarshi manadart, are you the on call reviewer today? (Is that still a thing?)15:41
externalrealitymanadart, as far as testing for the upgrade implicit space names in 2.3 -> 2.4 - would you be able to provide more context around that.15:42
externalrealitymanadart, the upgrade step is pretty clear, but I can't tell what is missing from the trello card description.15:42
balloonscmars, there really isn't an on-call reviewer anymore. The Pr looks pretty straightforward though, just adding labels to the struct15:49
manadartexternalreality: Want to jump on a hangout?15:51
cmarsballoons: ok, yeah, that's it. Ive got a followup that adds the labels to 'juju metrics' output15:51
balloonscmars, I don't see a test for checking the error raised in the hook context15:51
balloonsfollow-up pr ready?15:54
cory_fuIs there a way to tell what feature flags are enabled for a controller / unit?15:57
agpradoQuestion, has application Facade V6 landed? I see V5 as normal, and V6 with a CAAS flag.16:15
agpradoI'm implementing `resolv --all` and I will need a new application Facade, but I trully trully don't want to jump from V5 to V7. That just looks wrong.16:16
cmarsballoons: updated, is that what you had in mind?16:19
balloonscmars, looking16:20
balloonscmars, thank you. I approved. The PR displaying labels should be of more interest16:22
cmarsballoons: thanks for the review. the followup's in progress, i'm basically just adding a labels field/right-most column to the output16:24
hmlIs there an OpenStack version if this bug: https://bugs.launchpad.net/juju/+bug/1699930 - duplicate subnets cause spaces fail during bootstrap?16:26
mupBug #1699930: Subnets are not associated with VPCs when using AWS <juju:Fix Released by wpk> <juju 2.2:Fix Released by wpk> <https://launchpad.net/bugs/1699930>16:26
hmli just can’t find the bug16:26
balloonscory_fu, I think there is -- presumably you've looked at show-controller and model details?16:29
hmlfoudn it16:29
cory_fuballoons: I have, and nothing16:30
cory_fuballoons: I also checked controller and model config, and didn't see anything there, either16:33
cmarsballoons: could you review https://github.com/juju/utils/pull/298 or find someone to take a look? it's a prereq for displaying metric labels.16:55
cmarsand sorting on them..16:55
jamballoons: I realize no need for cygwin for ssh, but then I need to learn Powershell instead of just doing bash17:20
balloonsjam, yea, powershell or cmd.exe17:33
balloonscory_fu, i guess perhaps the db, but then that may be more than desired.17:33
=== frankban is now known as frankban|afk
balloonscmars, a slice isn't inherently unique -- what am I missing in your PR?20:18
cmarsballoons: the source, a map, will have unique keys20:18
cmarsballoons: it's probably academic at this point anyway.. it looks like juju/juju at develop's HEAD doesn't build with juju/utils current master20:20
balloonscmars, ahh sure20:21
balloonscmars, fixing that would be appreciated I'm sure20:21
cmarsballoons: that's probably too heavy for me to lift, but i can ping rog about it20:22
balloonscmars, rogpeppe has a couple outstanding PR's I wish he would land already20:22
cmarsballoons: meantime i'll use local private functions to join the string maps.. maybe that's safer anyway in the long run.. less chance of keyvalues.Join getting changed and breaking things elsewhere20:22
cmarssometimes a little code duplication isn't such a bad thing, when the intents are different20:23
balloonscmars, ok. But I was kind of reviewing with that in mind.. since you put it into utils, it should have secondary use20:23
cmarssorting vs rendering vs ...20:23
cmarsyeah, maybe i should close it20:23
balloonsright.. I'm ok with it20:23
balloonsveebers, are you going to bring juju/utils up to date?20:27
balloonsI'm actually a little surprised it's not20:27
veebersballoons: update juju/juju to use newest juju/utils? yes currently working on it (rolled into the task of moving to charmstore.v5 from -unstable)20:31
balloonscmars, so I guess it is part of the big update ^^20:32
balloonsveebers, ack, I didn't realize utils was caught up in it as well20:32
cmarsballoons: yes, i think that's what i uncovered :)20:33
veebersballoons: fyi https://github.com/juju/juju/pull/849820:34
wallyworldthumper: did we wan tto chat about intrview?21:44
thumperyep21:44
babbageclunkthumper: hey, the failure we sometimes see where the API starts up is because we try to find a free port but when we try to open the API server listener it's been taken, is that right?22:52
babbageclunkthumper: so if I'm adding code to open a listener (which needs to be able to switch ports because it should be run in tests where 80 can't be bound), I should open the listener in the test and pass it in to avoid another case of that problem?22:53
=== salmankhan1 is now known as salmankhan

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