/srv/irclogs.ubuntu.com/2016/08/30/#juju-dev.txt

redirwallyworld: PTAL http://reviews.vapour.ws/r/5548 and make sure I understood you.00:37
wallyworldok00:37
wallyworldredir: you sure you oushed the changes? i can't see a new diff00:40
redirshit I need to rbt it00:41
redirRB ate my original PR00:41
redirwallyworld: ^^ rbt post -u run...00:42
wallyworldok00:42
wallyworldaxw: looking at the cloud facade - the credential apis take / return tags. but i thought our general principal was that tags are not to be exposed outside of the apis (wire format only). we pass in names etc and these are converted to tags inside api/*01:12
axwwallyworld: feel free to change it. I like the type safety and documentation it brings01:21
wallyworldaxw: yeah, i get that too. i'll leave for now, but we should agree on a consistent approach01:21
wallyworldaxw: should raise as a tb topic01:22
wallyworldaxw: damn, and we also leak params structs for results where we return a slice of {*Value, *Error}01:27
axwwallyworld: where?01:28
wallyworldeverywhere, eg01:28
wallyworldfunc (c *Client) StorageDetails(tags []names.StorageTag) ([]params.StorageDetailsResult, error)01:28
axwwallyworld: oh, yeah we do that in many places. I thought you meant in Cloud01:28
wallyworldsigh, i'll just stick to current convention for now01:29
thumperwallyworld, menn0: can you see this ? http://imgur.com/a/zmSPH03:22
wallyworldyes03:23
thumpergood?03:23
menn0nice03:23
wallyworldecept for colour blind people03:23
menn0looks good to me... the red could have better contrast IMO but that comes down to your terminal color settings03:24
thumperI can't help them...03:24
menn0thumper: I'm not sure that "unknown" should be highlighted. it's not that unusual for a charm to not set workload status03:25
thumperright, but if we mark it yellow, people will want to set it green, right?03:25
wallyworldthumper: we can help them by choosing better colours, like jenkins does03:26
wallyworldbut red and green are nice i admit03:27
=== natefinch-afk is now known as natefinch
natefinchuse red for bad, blue for good.  add symbols to make it more clear - ✘ error   ✔ success03:56
natefinch❓ unknown03:57
thumperno symbols with this change03:57
natefinchred / blue then04:00
thumperhuh...04:31
thumperinteresting04:31
thumpertried bright blue for the good color04:31
thumperbut watch -c doesn't show that04:31
thumperweird04:32
thumperless -R does04:32
thumperI'm tempted to stay with green for now and see what response we get04:32
natefinch10% of men are color blind. That's probably 9% of our target market...  I personally know several color blind people.  It's just a bad idea, and sort of inexcusable in this day and age. It sucks the default linux tools don't cooperate, but that doesn't mean we shouldn't do the right thing anyway.04:35
natefinchsounds like we might be hitting something like this: https://github.com/cloudfoundry/cli/issues/84004:37
natefinchdo we always output color, or do we do some terminal detection?04:37
wallyworldaxw: if you get bored of looking at juju heap dumps, no rush or anything, http://reviews.vapour.ws/r/5554/04:39
axwwallyworld: will take a look after lunch04:40
wallyworldsure, no hurry04:40
menn0thumper: phew... source prechecks done. just 2 more target prechecks to go.04:54
menn0doing some manual QA now04:54
menn0veebers: the migration prechecks around juju versions, upgrades in progress and machine health have all landed04:56
menn0veebers: and there's a bunch more on their way04:56
veebersmenn0: sweet. Tomorrow morning I might take some of your time to flesh out any remaining CI tests for the migration parts04:57
menn0veebers: sounds good04:57
thumperreview up: http://reviews.vapour.ws/r/5555/04:58
thumpernatit was just the blue, watch showed red/green/yellow, thinking it is the high 805:00
thumperwallyworld, menn0: here is what blue for good looks like http://imgur.com/a/4kMVu05:03
wallyworldthumper: ah, so you looked at what jenkins does :-)05:03
thumperno05:03
thumpernate suggested it05:03
thumperwallyworld: review is ready05:03
wallyworldthumper: that's what i suggested too, sigh05:04
thumperit is a one line change to go from green -> blue05:04
thumperok, you too05:04
wallyworldlooking05:04
* thumper heading off to bjj, will check on review later05:04
=== thumper is now known as thumper-afk
menn0thumper-afk: I prefer green (but only slightly)05:09
axwwallyworld: how will the ListCredentials API be used?05:34
axwwallyworld: just wondering what's the use if you can't see all of the attributes05:34
wallyworldaxw: the GUI will use it to load credential data to be displayed and to allow to user to paste in new secrets if they want to update their credentials. it still needs to be fleshed out05:35
wallyworldso for openstack say, you can see you domain and tenant and username etc05:36
wallyworldbut not the secret05:36
wallyworldi'm thinking we can always add in secrets if needed05:36
axwwallyworld: yeah ok, I guess that's fine. maybe we could set the value to "" for those attributes at least, so you can tell that they're redacted rather than missing05:37
wallyworldthat's a fair point05:37
wallyworldi'll do that05:37
axwwallyworld: or a separate field with names of refacted attrs05:37
axwredacted*05:38
axwle shrug05:38
wallyworldseparate field might be ok too05:38
wallyworldaxw: so there's just the revoked issue to consider now - as explained in the rb comment, the api just sets the revoked flag; we need to decide how to best handle that in subsequent prs06:31
axwwallyworld: ok, will look again in a moment06:33
wallyworldno rush06:33
axwwallyworld: I'm having second thoughts about delaying removal of revoked creds now, but we can change it in a follow up if needed06:48
axwwallyworld: just thinking, in terms of security you probably want that gone from the db ASAP06:48
axwrather than waiting around for something to stop referring to them06:48
wallyworldaxw: i was kinda thinking the same think, and that goes along with not shipping secrets by default. the reason for a new type is that I wanted to keep cloud.Credential nice and clean, but i guess adding a redacted slice is ok07:09
wallyworldaxw: with remiving them straight away, the idea is that a followup would implement the listener to immediately notify everything that those credentials are gone; that also allows them to be replaced immediately with the same name07:11
wallyworldso i'm happy to revert to what was there originally07:11
wallyworldaxw: you +1 with s/Revoke/Remove in state ?07:12
=== frankban|afk is now known as frankban
axwwallyworld: you don't need to add Redacted to cloud.Credential yet07:29
wallyworldaxw: yeah, came to the same conclusion07:30
wallyworldhave removed the new type07:30
=== TheRealMue is now known as TheMue
TheMuemorning07:47
=== thumper-afk is now known as thumper
MmikeHi, lads. How do I get older version of a charm source? charm-pull-source seems to download only the most recent version. Or: where do I ask questions like this? :)09:38
perrito666morning10:58
voidspaceperrito666: morning11:05
TheMueah, two old colleagues. already wondered where the European ones are.11:18
babbageclunkfwereade: Thanks for the review - have you got a moment to talk about the Undertaker tests?11:21
perrito666TheMue: I am not in europe :p11:37
fwereadebabbageclunk, let's11:38
rogpeppemgz: just went back to this after a while and found that it had failed, but it's not clear why. any idea? http://juju-ci.vapour.ws:8080/job/github-merge-juju/895211:38
TheMueperrito666: no, but at least voidspace should be11:38
babbageclunkfwereade: Wanna hangout?11:38
TheMueperrito666: has been so quiet in the channel this morning11:38
fwereadebabbageclunk, sgtm11:39
perrito666TheMue: well its like 8:30 for me :p11:39
babbageclunkfwereade: https://hangouts.google.com/hangouts/_/canonical.com/core?hl=en&authuser=111:39
mgzrogpeppe: I'll take a look11:40
rogpeppemgz: ta11:41
rogpeppemgz: not that important, but it's useful to know how/why these things fail11:41
mgzI agree11:41
rogpeppemgz: i sometimes wonder if we should auto-retry when an intermittent error happens that's not to do with the code being tested11:42
mgzI'd like to surface those to github better at least11:43
rogpeppemgz: yeah11:43
rogpeppemgz: the main one is that if a merge has been blocked because of critical bugs, it would be good to retry when unblocked11:44
rogpeppemgz: i've actually thought of doing a little daemon that would do that for me11:44
* babbageclunk goes for a run.11:51
voidspaceTheMue: I'm still in Europe, yes12:07
voidspaceTheMue: morning o/12:07
TheMuevoidspace: o/ but it seems dimitern and frobware are on vacation12:08
voidspaceTheMue: ah, maybe. I don't see that in the calendar.12:17
TheMuevoidspace: I've only interpreted the silence that way *lol*12:18
* TheMue currently plays a bit with crypto packages for token signatures12:19
voidspaceTheMue: you might be right, I know frobware was going on holiday but I can't remember if he is due back yet or not.12:20
frobwarevoidspace: I'm here...12:20
voidspacefrobware: hello o/12:21
frobwareo/12:21
TheMueah, hey frobware o/12:24
frobwareTheMue: hello12:25
* frobware runs for some lunch before standup12:45
babbageclunkdimitern: Did you get everything sorted in the bug you guys were working on?13:20
dimiternbabbageclunk: more or less - I'm working on good, well tested fix now - will start proposing PRs soon :)13:21
babbageclunkdimitern: nice one13:21
babbageclunkYay, thanks whoever added the build-parameters info for queued builds in Jenkins!13:23
babbageclunkNow I can see how far back mine is. :(13:23
rogpeppetiny review: this fixes a couple of unreliable tests: https://github.com/juju/juju/pull/611913:30
babbageclunkrogpeppe: LGTM! Failing less often sounds nice.13:32
mgzrogpeppe: your mp from earlier failed to merge again, in case you didn't see13:33
mgzrogpeppe: not the same issue13:34
mgzah, you resent13:34
perrito666Bbl doctors appointment14:01
katconatefinch: dimitern: standup time14:01
katcofwereade: standup time14:02
=== rmcall_ is now known as rmcall
rogpeppemgz: now i wanna put my "fix unreliable tests" PR near the top of the queue so that the other PRs have more hope of landing...14:09
mgz:14:10
mgzD14:10
mgzow face cut in half14:10
mgzwe can cancel things above it in the queue that haven't started yet, if there are lots14:10
babbageclunkmgz: Is build 8976 stuck? It's been running since 12:32.14:19
mgzlets have a look14:20
mgzhm, harder to see what's up with the new multi task thing14:21
fwereadekatco, oops, sorry, I was packing14:22
katcofwereade: no worries; any updates on refcounting stuff?14:22
=== alexisb-afk is now known as alexisb
fwereadekatco, I may or may not land the cleanup change after the flight14:23
fwereadekatco, ...but I have no excuse not to land that one that was already reviewed14:24
fwereadenot *land* the cleanup change, but push it for review14:24
* fwereade fail english? that's unpossible14:24
katcofwereade: haha14:24
fwereadeprobably ought to be off now to avoid panic later14:25
fwereadeo/14:25
katcofwereade: cool; yeah, figured the cleanup is the more important of the 2? the one you can land just sets the stage?14:25
katcok tc fwereade14:25
fwereadekatco, yeah exactly14:25
fwereadelater all14:25
katcofwereade: ta14:25
mgzbabbageclunk: I unstuck it14:26
babbageclunkmgz \o/14:26
mgzmattyw: your run failed - the hang was not your fault, but also looks like to have a map-order dependent test failure14:26
babbageclunkmgz ok now cancel all the other ones except for mine.14:26
mgzbabbageclunk: :P14:27
mattywmgz, yeah - that was fixed an hour ago but I'm waiting for this die so I can propose the fix14:27
mgzec2 wasn't giving us a machine and the script doesn't have a shorter timeout at the right point for that14:28
natefinchdimitern: ok, back in the standup hangout?14:33
dimiternnatefinch: omw14:34
natefinchdimitern: ssh ubuntu@104.196.124.14715:07
babbageclunkdimitern: Assuming I've turned on security.nesting, I should be able to bootstrap to lxd inside a lxd container, right?15:17
babbageclunkfrobware: ^^15:19
frobwarebabbageclunk: yes, been a while since I tried though15:19
frobwarebabbageclunk: my profile: http://pastebin.ubuntu.com/23112208/15:20
babbageclunkfrobware: Someone over in #juju is getting an error with beta16 bootstrapping to lxd - I tried it and get the same error, with both lxd 2.1 and 2.0.415:20
babbageclunkfrobware: They say it wasn't happening in beta15. Does it sound like that packaging problem you guys were talking about?15:22
frobwarebabbageclunk: :(15:22
babbageclunkfrobware: I don't see it if I use my built-from-source juju, only in a container with a juju from ppa15:22
babbageclunkfrobware: Anyway, I'll log a bug about it.15:23
frobwarebabbageclunk: ack. sidetracked atm :\15:23
babbageclunkfrobware: No worries, just wanted confirmation that it should work. Thanks!15:24
dimiternbabbageclunk: I haven't tried recently15:24
dimiternI know we set security.nesting by default15:24
babbageclunkdimitern: ok, thanks.15:27
frobwarebabbageclunk: I just started a container OK16:01
frobwarebabbageclunk: but I just built from tip of master16:02
babbageclunkfrobware: yeah, I get that as well - try with juju beta16 from the ppa16:02
frobwarebabbageclunk: perhaps. I _need_ this bootstrap. :)16:03
babbageclunkfrobware: Tsk! They're cattle not pets! ;)16:04
frobwarebabbageclunk: diff between tip and 16: 140 files changed, 4769 insertions(+), 1405 deletions16:05
babbageclunkfrobware: I'm just checking it's a beta16 thing by trying with beta15.16:05
babbageclunkfrobware: yeah, it works with beta15.16:07
redirmorning juju16:08
redirjuju-dev even16:09
frobwarebabbageclunk: you have your bisect point16:10
babbageclunkfrobware: gah, sounds like fun!16:10
dimiternfrobware, babbageclunk, voidspace: I'd appreciate a review on this: http://reviews.vapour.ws/r/5559/, I tried to keep the changes straightforward - mostly added tests16:17
mgzrogpeppe: urk your unreliable test fix branch didn't go through17:09
mgzfeature tests failed17:10
perrito666it was unreliable17:10
perrito666:p17:10
perrito666sorry could not resist17:10
mgzI'll requeue it later, as my branch before failed due to the one that branch fixes :)17:11
mgzI think we have a bug for the feature tests already?17:11
mgzsinzui: do you know? unit test failure of featuretests due to api connection refused17:12
sinzuimgz: I definitely saw one recently, but I was also reviewing 18 months of data. I will look17:13
mgzsinzui: thank you17:13
sinzuimgz: http://reports.vapour.ws/releases/issue/578f7bf1749a567c7344833e is increasing in frequency17:26
=== frankban is now known as frankban|afk
sinzuimgz: cmdStorageSuite.TestStorageAddToUnitSuccess has never failed in CI testing17:28
mgzhm, I wonder if it's something new on juju-core-slave then17:30
rogpeppemgz: i know17:34
rogpeppemgz: i've reported a bunch of unreliable test bugs today17:34
mgzrogpeppe: <317:34
rogpeppemgz: including most recently this: https://bugs.launchpad.net/juju/+bug/161856017:35
mupBug #1618560: worker/txnpruner: sporadic test failure <juju:New> <https://launchpad.net/bugs/1618560>17:35
rogpeppemgz: took me a little while to figure out how that could fail (i've added a comment)17:35
rogpeppemgz: a lot seem to be failing because they can't contact the API server. not sure what's going on there.17:35
rogpeppemgz: feel free to discard any dupes.17:36
* redir lunches19:09
* redir lunches in a minute after reboot19:25
alexisbwallyworld, I will miss the sts call20:56
wallyworldok20:56
=== natefinch is now known as natefinch-afk
wallyworldniedbalski: google hates me, be there as soon as hangouts starts working21:02
niedbalskiwallyworld, sure, np!21:03
thumperoh FFS21:06
thumperthis test: BootstrapSuite.TestBootstrapProviderDetectRegions has blocked two landings21:06
thumperintermittent failure due to ordering21:06
thumperanyone fixing this yet?21:06
alexisbhttps://bugs.launchpad.net/juju/+bug/161858221:07
mupBug #1618582: BootstrapSuite.TestBootstrapProviderDetect(No)Regions fails the expected auth type due to misordering <intermittent-failure> <regression> <trusty> <unit-test> <xenial> <juju:Triaged by wallyworld> <https://launchpad.net/bugs/1618582>21:07
alexisb^^^ ian earned a regression21:07
alexisbbut you are welcome ot fix it21:07
alexisbthumper, ^^21:08
thumperk21:08
thumperalexisb: I'll grab it21:10
thumperit is blocking me21:10
thumperis there a card for it on the board?21:11
alexisbthumper, nope21:11
=== BradCrittenden is now known as bac
thumperfound it21:18
thumperquick review for someone: https://bugs.launchpad.net/juju/+bug/161858221:23
mupBug #1618582: BootstrapSuite.TestBootstrapProviderDetect(No)Regions fails the expected auth type due to misordering <intermittent-failure> <regression> <trusty> <unit-test> <xenial> <juju:In Progress by thumper> <https://launchpad.net/bugs/1618582>21:23
* thumper sighs21:23
thumperthis one http://reviews.vapour.ws/r/5561/diff/#21:23
thumperalexisb: want to review it?21:25
thumperor menn021:25
thumperhttp://reviews.vapour.ws/r/5561/diff/#21:25
thumpermenn0: morning btw21:26
menn0thumper: howdy21:26
menn0alexisb, thumper: I'll review it. I'm OCR.21:26
thumpermenn0: review is a trivial fix for a test that is failing half the time21:26
perrito666this database is a poorly writen joke21:26
thumperheh21:26
perrito666our latest foe https://jira.mongodb.org/browse/SERVER-2072921:28
menn0thumper: ship it21:31
thumperta21:31
menn0perrito666: i'm not apologising for the db, but that ticket is closed and seems to refer to something dodgy the user was doing21:34
perrito666menn0: we are being biten by the error, but the cause is not the same21:34
menn0perrito666: ah ok21:34
perrito666apparently that can happen for a number of reason included but not limited to, the db shut down abnormally21:35
thumpermenn0: when can we have the external migration flag?21:36
thumperprechecks seems to be taking longer than we thought21:36
menn0thumper: it has... I ran into a lot of problems yesterday21:36
menn0thumper: the latest changes are ready but I noticed a possible issue while QAing yesterday21:37
menn0thumper: around unit status21:37
menn0thumper: I can pause prechecks after my current PR is done (although there's only 2 checks left to implement after that actually, but they involve minor API work)21:37
thumperI've pushed the external flag to beta 1821:38
thumperso keep with prechecks21:38
menn0ok21:38
thumpermenn0: thoughts? https://bugs.launchpad.net/juju/+bug/160699121:40
mupBug #1606991: TestWaitMinionNeverBecomeMinion wrong minion <ci> <intermittent-failure> <regression> <unit-tests> <windows> <juju:Triaged> <https://launchpad.net/bugs/1606991>21:40
menn0thumper: nothing to do with migrations if that's what you're thinking21:41
menn0thumper: will just happened to use the word minion for this leadership test21:41
menn0thumper: I have almost no clue about how leadership works21:42
menn0thumper: but I can dig into it if you need me to21:42
thumpermenn0: txn pruner clock branch: http://reviews.vapour.ws/r/5562/22:03
thumpermenn0: ok, re bug abovev22:04
thumperwallyworld: https://bugs.launchpad.net/juju/+bug/1603176 thoughts on this?22:05
mupBug #1603176: juju debug-log returns not logged-in error <debug-log> <login> <juju:Triaged> <https://launchpad.net/bugs/1603176>22:05
menn0thumper: ok, just reviewing perrito666's PR atm, will do yours next22:06
thumperI wonder if it is how we are passing creds through to the streaming apis22:06
wallyworldhmmm22:06
wallyworldoff hand i am not sure, but it does seem suspicious that it's not for a normal rpc call22:07
menn0perrito666: the diff on RB for PR 6104 doesn't match what's actually in the PR on Github22:21
menn0perrito666: in the review UserAccessSpec has ObjectID, but the PR doesn't have that22:21
menn0perrito666: sorry ObjectUUID, not ObjectID22:22
thumperhmm... enable-ha on to two manual machines seem to not work22:25
thumpercan anyone else see the problem here? http://pastebin.ubuntu.com/23113867/22:30
thumperboth amusing and not at the same time22:30
menn0thumper: it should be using a non localhost IP otherwise the other nodes can't connect?22:31
thumper:)22:31
thumperwell.. it complains a few lines lower that it has multiple entries with the same _id22:32
thumperI'm poking more22:32
menn0thumper: regarding the txnpruner fix, it looks great but I don't think you need the started channel do you?22:32
thumpermenn0: kinda, otherwise the test doesn't know when to start advancing the clock22:33
thumperunless you have other ideas22:33
menn0I think I do...22:34
* menn0 checks the test clock22:34
menn0I think the test clock has a feature to let the test know when After has been called22:34
menn0thumper: yep, that's it. The testing clock can return a channel via the Alarms method which lets you know when After has been called22:36
menn0thumper: you can just wait for that in the test22:36
menn0it's exactly for this use case22:36
thumperah, cool22:36
thumperplease leave a note :)22:36
menn0will do22:36
thumperthat was the only bit I was not happy with22:36
thumperhmm...22:37
* thumper wonders how this works with ha lxd22:37
* thumper fires one up22:38
thumperhas anyone else got tab completion woes with juju?22:38
thumperjuju _juju_complete_2_0: command not found22:38
thumperthat was juju <tab>22:39
menn0thumper: ship it22:39
menn0thumper: it looks like the juju-2.0 package isn't installing /etc/bash_completion.d/juju-2.022:45
thumperI haven't installed the package22:46
thumperI'm running from source22:46
menn0thumper: you don't have the official juju-2.0 installed as well?22:46
thumpernope22:47
thumperdon't think so22:47
menn0if you installed from source how could bash know where to find the completion?22:47
thumperprobably should yes?22:47
thumperI do have that installed22:48
menn0hmmm, it actually works for me22:48
thumperand I am missing  /etc/bash_completion.d/juju-2.022:48
menn0I have juju-2.0-beta17 installed22:49
thumperhmm... I must be missing the ppa22:49
thumperI have beta 1522:49
menn0thumper: I actually just have /etc/bash_completion.d/juju-core and that seems to work22:50
thumperand beta 15 doesn't install anything in /etc/bash_completion.d22:50
menn0there's more stuff in /usr/share/bash-completion/juju*22:50
menn0that's probably the problem then22:50
* menn0 checks where his juju package came from22:50
menn0thumper: yeah, I have the stable PPA22:51
menn0cd22:51
thumpermenn0: just the stable?22:52
menn0thumper: yep22:52
thumperstable doesn't ahve juju in it22:52
thumpermenn0: as in ppa:juju/stable22:52
thumperinteresting23:00
thumperwhen using lxd in ha mode23:00
thumperthe same input generates a different result23:00
thumpercurious23:00
perrito666menn0: sorry was at the market, what happened with gh and rb?23:16
menn0perrito666: the diff on Github is not the same as the one on RB23:17
perrito666meh, that sucks (that being rb)23:18
perrito666menn0: so your review does not apply?23:18
menn0perrito666: well most of it will still apply23:19
perrito666menn0: tx for the heads up btw, ill take a look to see if I can make them be the same23:19
menn0perrito666: the main thing I noticed is that state.UserAccessSpec doesn't have ObjectUUID in the pull request on Github23:20
menn0perrito666: did you manually update the diff on RB?23:20
perrito666menn0: nope23:21
menn0weird23:21
perrito666menn0: I dont even have the tools for that on my system23:21
menn0axw: the maximum log buffer size would be around 100MB23:42
menn0so not ridiculous23:42
axwmenn0: ah that's probably not it then, thanks23:46
thumperrogpeppe: I fixed that bootstrap test already23:49
thumperrogpeppe: you didn't mark in the bug that you were fixing it23:49
thumperso I did23:49
perrito666menn0: love your doorbell23:55

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