/srv/irclogs.ubuntu.com/2017/11/15/#juju-dev.txt

wallyworldbabbageclunk: we miss you00:01
babbageclunkomws!00:01
babbageclunkhangouts is being weird00:02
hmlwallyworld: it wasn’t me.  ha!  it was a merge error00:35
wallyworldlol00:35
hmlwallyworld: so sort of me.  :-)00:35
hmlwallyworld: i’ll fix it00:35
wallyworldta00:36
wallyworldthumper: that branch you commented on - it's targetted at a feature branch, not develop01:22
wallyworldthere's a whole bunch of stuff we're holding off on01:22
axwwallyworld babbageclunk: is the agent version stuff all done? I notice that we're still looking for agent binaries in streams for dev builds, is that expected?01:34
wallyworldaxw: there's still stuff to commit. streams can contain alphas/betas etc. is that what you mean?01:35
axwwallyworld: I mean if I build juju from source, should it still be looking for packaged binaries?01:36
axwwallyworld: it adds 10 seconds to bootstrap for me to find out there's nothing packaged01:36
wallyworldit will unless you use --build-agent01:36
axwwould be nice to shave01:36
axwok01:36
wallyworldotherwise without that flag it doesn't know to use a local version01:36
wallyworldso it searches for a match01:37
axwwallyworld: I thought we were using the fact that it's not a released agent (i.e. sha256 doesn't match version file) to skip that01:37
wallyworldthe change from --upload-tools was that without --upload-tools it would fail01:37
wallyworldyes, that should be part of it01:37
wallyworldwhat is being worke don now is just the fallback bit01:38
axwokey dokey01:38
axwwallyworld: https://github.com/juju/juju/pull/8078 you were right, it was a small fix :)02:01
wallyworldlooking02:01
wallyworldlol02:01
hmlaxw: cool - don’t see 1 char fixes often02:02
hml:-)02:02
axwhml: :)02:02
hmlwallyworld: the test ended up being deceptively simple.  ha  https://github.com/juju/juju/pull/807702:02
wallyworldlooking02:02
wallyworldhml: great ty02:05
hmlwallyworld: ty02:05
hmlg’night all02:06
axwnight hml02:07
babbageclunkaxw: sorry, was out looking at a house. what wallyworld said though02:15
thumperwallyworld: oh, ok, good02:16
axwbabbageclunk: cool02:16
babbageclunkwallyworld: check out my WIP please? https://github.com/juju/juju/pull/808003:21
wallyworldbabbageclunk: will do afterr meeting03:21
babbageclunkwallyworld: working on the multiple results from GetMetadata now.03:21
babbageclunkwallyworld: cool cool - have a nice meeting!03:22
wallyworldyay, meeting03:22
wallyworldbabbageclunk: i left a few comments, not sure if they make sense04:22
babbageclunkwallyworld: thanks, will have a look shortly04:22
wallyworldrighto, ping if yo want to discuss04:22
babbageclunkwallyworld: do you think that ValueParams needs a func that takes a stream name and returns the mirror content id then?04:58
wallyworldyeah, maybe, that could work04:59
wallyworldthe flow is once a choice has been made, the actually download needs to come from the mirror04:59
babbageclunkok, I'll add that.04:59
wallyworldi think a mirror has product files and binaries05:00
wallyworldso the index entry determines the mirror to redirect to05:00
wallyworldor something like that, it's been a loooong time05:00
babbageclunkok, I'll check how MirrorContentId gets used and see if that change makes sense.05:01
babbageclunkhad a couple of other questions, the rest of your suggestions make sense.05:02
wallyworldbabbageclunk: let me know if you want to HO or whatever05:07
babbageclunkwallyworld: yeah, can we? in 1:1?05:13
wallyworldok05:14
axwjam: are you able (allowed?) to add lp:~axwalk ssh keys to the GUI MAAS box, so I can sshuttle?05:54
jamaxw: added: 2017-11-15 00:54:50,190 INFO Authorized key ['2048', 'SHA256:eVZBwvL1gnylHvyYS2+SAxyCXp1YKNVkZHA1otEtvuc', 'andrew.wilkins@canonical.com', '(RSA)']05:55
jamand some others05:55
axwjam: thanks05:55
jamwallyworld: axw: I just saw "unit-blah-0: juju.worker.uniter.remotestate update status timer triggered" does that have to do with CMR or is the 'remotestate' there just the fact that state is on the controller06:15
jamI'm trying to figure out what 'remotestate' has to do with a local charm and no CMR involved.06:15
jambut maybe i'm misreading something06:15
wallyworldjam: remotestate refers to the other side of the relation06:16
wallyworldthat term existed before cmr06:16
wallyworldIIANM06:16
axwjam wallyworld: not quite. remotestate is about what's in the state db06:19
axwvs. local state, which is what the unit has done to date06:19
axwthe unit reconciles local state with remote06:19
axwuniter*06:19
wallyworldah right, yes06:20
axwbut yeah, nothing to do with CMR06:20
wallyworldi was thinking of "remote unit"06:20
wallyworldand remote unit data06:20
jamaxw: has your $ vs \$ been landed?06:24
jamaxw: I was testing anastasiamac's patch on action debug-hooks and thinking that maybe the "failed" values are because that was missing.06:24
axwjam: yeah it has06:24
axwjam: what failed values?06:24
jamaxw: you can hook into an action request, but you exit 0 and it reports "failed" as the action result06:25
axwjam: yeah, if my commit's not in the branch, that would explain it06:26
jamI'll try rebuilding merging dev and see if that changes06:26
axwjam: hm, anastasiamac's branch does have it06:26
jamaxw: ok, I think its because you have to actually run the action and have it report back something, vs just the return code06:29
jamdoing ./actions/ping and then exit seemed to give me a completed value06:30
axwokey dokey06:30
axwseems a little backwards maybe06:30
axwjam: https://github.com/juju/juju/pull/8082 fixes the MAAS issue, QA'd on jujugui MAAS06:31
axwjam: could you please take a look?06:31
axwI'm taking the kids to martial arts shortly, will be back in a couple of hours06:31
jamlooking06:33
jamaxw: does your patch break "juju deploy --to zone=" ?06:35
jamor is that being resolved in the value that is passed into StartInstance ?06:35
axwjam: shouldn't, that's covered by DeriveAvailabilityZones06:35
axwI'll verify that when I get back06:35
jamaxw: it seems overbroad to turn all provisioning failures into an AZ failure06:36
=== frankban|afk is now known as frankban
jamaxw: had a question about leases an 2.2 and "juju models" not sure if you have context, but when I'm done with standup, I'd like to chat a bit08:24
jamaxw: your patch effectively deals with bug #1706462 doesn't it?08:43
mupBug #1706462: juju tries to acquire machines in specific zones even when no zone placement directive is specified <cdo-qa> <foundations-engine> <juju:Triaged by ecjones> <MAAS:Invalid> <https://launchpad.net/bugs/1706462>08:43
wpkexternalreality: have you been changing configuration on jujugui maas recently?10:14
externalrealityYes, I have changed the configuration of 2 machines nuc.8 and nuc.7 I think the machines are called. Generally, I changed them to have 3 partition 1 mounted as root and 2 configured to Raid0 for reproduction of a bug10:15
externalrealityNo other node was changed10:15
externalrealityI have also modified tags10:17
externalrealitywpk, have a broken something you were doing?10:17
externalrealityThese changes were made a few days ago.10:17
externalrealitywpk, Is everything ok?10:27
wpkexternalreality: I'm getting weird bootstrap error10:32
wpk11:15:46 ERROR juju.cmd.juju.commands bootstrap.go:515 failed to bootstrap model: cannot start bootstrap instance: cannot run instances: cannot run instance: No available machine matches constraints: [('zone', ['azone']), ('mem', ['3584']), ('agent_name', ['a5bd9766-22fa-4d81-8748-c719f85fd1cb'])] (resolved to "mem=3584.0 zone=azone")10:32
wpkand I wonder if that's something I broke10:32
=== freyes__ is now known as freyes
=== freyes__ is now known as freyes
=== frankban is now known as frankban|afk
=== TikTok is now known as michealb
balloonscan I get a review of https://github.com/juju/juju/pull/8086? wallyworld, thumper, this is the second piece, patches20:51
babbageclunkballoons: won't this monkey with our working copies when we build using the makefile?20:53
balloonsbabbageclunk, it will indeed. comments welcome.. I had it as a seperate makefile target at one point. I monkeyed with it a bunch, but figured I'd just toss out the PR and see what people think20:54
babbageclunkballoons: for one thing, it will mean that mgo and other patched packages are always dirty after a build, so make godeps will fail.20:57
wpk1. it won't work if there are no patches20:59
balloonsyes, godeps will fail20:59
wpk2. I'd make it a separate target, with 'undo' (-R) option21:00
babbageclunkballoons: We could mitigate that by having something to unapply the patches? But that seems risky - what if someone was making a change to the package?21:00
wpkhttps://github.com/juju/juju/pull/8084 anyone? (for rc1)21:00
balloonswe could have a 'release-build' target. For the idea of rollback is also fine. patch supports reversing21:01
babbageclunkballoons: I like release-build21:02
babbageclunkballoons: I guess as we get more patches (I didn't realise there were so many now!) the divergence of behaviour between patched and unpatched juju might be a problem.21:03
babbageclunk(for devs doing local testing, I mean)21:08
balloonsthat's why I fell on the side off being heavy handed with always building them21:13
balloonsand to make you feel the pain a little I guess so we get a better solution :-)21:14
balloonsbut honestly it could be annoying to have your sources mucked with21:14
babbageclunkyeah, I think we really need to carve out some time to implement the fork support in godeps.21:18
babbageclunkOne of the patches is against a package where the last commit was in April 201521:19
babbageclunkOr in that case we should maybe just fork it and actually update the imports.21:20
balloonsbabbageclunk, well, I was pushing for moving to deps, which I think folks are aligned as a long-term vision to do21:23
babbageclunkoh, I missed that - presumably it supports forking without changing imports? <reads up on deps>21:24
babbageclunkugh, too many go packages with variations on the name dep21:25
babbageclunkwhich I guess shows that there's a problem21:25
babbageclunkballoons: do you mean https://github.com/golang/dep?21:26
balloonsbabbageclunk, aye21:27
babbageclunkcool, thanks21:27
balloonsso it sounds like everyone is in favor of wpk's suggestions then. I'll just propose them21:29
balloonswell your's too babbageclunk.. aka, release-build, and an 'undo'21:29
babbageclunkballoons: thanks! wpk can have the glory. :)21:30
wallyworldbabbageclunk: how are they hangin' ?22:01
babbageclunkwallyworld: still making those changes we discussed yesterday.22:03
wallyworldok, let me know if you get blocked so we can land today22:03
hmlwallyworld: do you have a few minutes for an HO?22:11
wallyworldhml: sure22:12
wallyworldstandup one22:12
hmlwallyworld: on my way22:12
balloonsaxw, any idea on http://qa.jujucharms.com/releases/5946/job/add-cloud-vsphere/attempt/1298#highlight?22:15
wpkbabbageclunk: https://github.com/juju/juju/pull/8084 ?22:18
babbageclunkwpk: sure22:18
wpktx22:19
babbageclunkwpk: A couple of comments, but approved22:33
wallyworldhml: i just re-read that bug in more detail - he makes the point that the dasjboard download is for Ubuntu deployed openstacks, and that the openrc stuff is generic. it probably is worth considering, but i'll move the bug to a 2.3.x milestone22:39
wallyworldthumper: fyi, i created  2.3.1 milestone for things which miss the 2.3.0 cut22:46
thumperta22:47
wallyworldthumper: moved one bug off the rc1 milestone due to churn in requirements and that it is more a micro feature; no need to rush a fix and regret it later22:48
thumperack22:48
babbageclunkwallyworld: making LookupConstraint.IndexIds return the stream as well...22:49
wallyworldok i think :-)22:49
thumperwallyworld: when did we change the apiserver to connect to itself rather than a random other one>?22:49
babbageclunkwallyworld: would it make more sense to have the interface have .Streams() and .IndexId(stream string)?22:49
wallyworldthumper: what's the context of the connection?22:50
wallyworldbabbageclunk: maybe, i'd need to look at the code22:50
thumperapiservers would get wedged during upgrade as they tried to connect to a different server22:50
thumperand got told "sodd off, I'm upgrading"22:50
thumperbut it meant that they couldn't upgrade22:50
wallyworldoh dear22:50
wallyworldum, i can't recall tbh22:51
wallyworldi rings a bell though22:51
wallyworldnot sure if 2.1.x or 2.2.x22:51
wpkbabbageclunk: thanks, fixd22:52
wallyworldbabbageclunk: so IndexIds() is called in one spot inside GetProductsPath() - do we need the stream there?22:53
babbageclunkwpk - you should name the error return so that the if err refers to that one. Otherwise there's a case where the err that the defer sees is nil even though the func is returning an error.22:54
babbageclunkwpk: that might not be very clear.22:55
babbageclunkwallyworld: we need it there (or somewhere around there) so we can make the mirror content id depended on the stream.22:56
wallyworldyeah figured as much, i just didn't see any reference to the mirror data near the call site, but i'm not 100% familiar with the code detail22:57
babbageclunkwpk: added a (hopefully) clearer explanation on the PR23:03
babbageclunkwpk: does it make sense?23:03
babbageclunkwallyworld: I'll do it the way we talked about for now.23:06
wallyworldbabbageclunk: whatever works :-)23:07
wpkbabbageclunk: .. and that's why I wanted to avoid conditional defer :P23:24
babbageclunkwpk: I mean, you could have said that. :)23:24
wpkbabbageclunk: I won't make it for rc1, but I will have that in mind (it's only cosmetic, as the device will be eventually cleaned when the machine is removed)23:25
babbageclunkwpk: ah, ok23:26
wpkthe fact that { foo, bar := baz() } shadows outside scope bar is one of the few things I hate23:26
wpkbabbageclunk: nothing will leak23:26
babbageclunkwpk: yeah, scoping stuff can be pretty subtle and annoying.23:27
hmlwallyworld: agreed, openrc is more generic - though missing important info potentially23:41
wallyworldhml: yeah, we can prompt for missing if needed23:41
hmlwallyworld: just needs to be thought out. :-)23:41
wallyworldyup23:41
axwjam: sorry, I saw your message about chatting yesterday after I got back, but then got distracted. can chat today if you still want to.23:45
axwjam: my patch does not address https://bugs.launchpad.net/juju/+bug/1706462 AFAICT23:45
mupBug #1706462: juju tries to acquire machines in specific zones even when no zone placement directive is specified <cdo-qa> <foundations-engine> <juju:Triaged by ecjones> <MAAS:Invalid> <https://launchpad.net/bugs/1706462>23:45
axwballoons: no idea. braixen/vcenter seems to intermittently shit itself, and I don't know why23:51

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