/srv/irclogs.ubuntu.com/2017/01/27/#juju-dev.txt

* thumper off to the vet00:17
perrito666So annyone can point me to where is the nice path to go from controller/config.go to let's say state? I find that I am missing something00:17
=== thumper is now known as thumper-afk
babbageclunkthumper's getting a cone of shame applied.00:27
perrito666Oh I would so pay to see that00:45
babbageclunkaxw: yay, adding in an individual get works, thanks!00:52
axwbabbageclunk: sweet :)00:52
babbageclunkaxw: I've got one other thing that is a bit nasty in my standalone code now though - maybe you can tell me a better way?00:53
babbageclunkaxw: In order to pass the right APIVersion values I get all of the providers first and get the latest version from the ProviderClient.00:54
babbageclunkaxw: Basically building a big map of resource type -> version.00:54
babbageclunkaxw: uh, that was clumsily phrased - I mean, I get all the providers from the provider client and build a big map of the latest api version for each type.00:56
babbageclunkThen I need to look up the version before each call for the different resources.00:56
axwbabbageclunk: that's probably the right thing to do, I'm not really sure tho - haven't done this before00:57
axwbabbageclunk: I don't think we'd want to hard-code, because we're using the generic resource API00:57
axwso I'm presuming we get the most recent version00:57
axwbabbageclunk: are you sure it's not meant to be the API version for the generic resource API?00:58
babbageclunkaxw: Yeah, I'm sure - I get errors if I leave it the resource API version - for some resource types it says there's no provider registered.00:59
axwbabbageclunk: ok00:59
babbageclunkaxw: The error message nicely says which are available, so I could compare that to the output from the azure CLI and check.01:00
axwbabbageclunk: I think listing providers is the way to go01:02
babbageclunkaxw: Cool. Anyway, thanks for all your help! I think it's a simple matter of porting what I've got into the environ and putting tests in.01:02
axwbabbageclunk: cool. I replied to your query from the other day about reentrancy btw01:02
babbageclunkaxw: oh great - I'll check it out.01:03
rediris there a way to specify series for a controller: e.g. juju bootstrap cloud controller --config series=trusty01:04
rediri know you can set default-series but can you only specify for the controller01:04
redir?01:04
babbageclunkaxw: replied - I think it'll handle that ok.01:15
axwbabbageclunk: yes, I was really just suggesting an optimisation. feel free to ignore, since this is going to happen infrequently01:16
babbageclunkaxw: Oh, I'll add the check. I guess the extra thing would be to filter by the controller tag (with the old uuid) in the call to ListResources? But that would require the old uuid being passed in.01:25
axwbabbageclunk: I think we can do without that for now01:26
axwbabbageclunk: and trust that the migration worker does the right thing :)01:26
axwbabbageclunk: ping? coming to perf meeting?01:34
blahdeblahHi all, could I have some quick advice, please?  I'm trying to work out why this env is just sitting in "waiting for machine" state across the board: https://pastebin.canonical.com/177303/01:35
blahdeblahWhere's the best place to look for debug info?01:35
=== thumper-afk is now known as thumper
babbageclunkblahdeblah: I'd look at the controller logs - juju debug-log -m controller02:03
babbageclunkblahdeblah: Can you see the machines in the underlying cloud?02:04
blahdeblahbabbageclunk: no, apparently it never gets that far02:04
babbageclunkblahdeblah: it's weird though - normally the machines reporting "down" indicates that the machines have been provisioned but the agent isn't running.02:05
blahdeblahbabbageclunk: the CI job has just timed out and destroyed the model; all I got relevant from the controller logs was this: https://pastebin.canonical.com/177304/02:06
blahdeblahI'll run the job again and try the debug log while it's starting up02:07
blahdeblahbabbageclunk: can we run the debug log before the model we're interested in exists?02:07
blahdeblahOh, looks like that's just the equivalent of juju switch controller; juju debug-log, so I'm going to assume yes.02:08
babbageclunkblahdeblah: yeah, that's what I was about to say :)02:08
blahdeblah:-)02:09
blahdeblahOK - another run under way now02:09
babbageclunkblahdeblah: if it happens again, are you able to ssh into the provisioned machines without using `juju ssh`?02:11
blahdeblahbabbageclunk: It doesn't seem to be getting that far02:13
blahdeblahOK, here's progress: https://pastebin.canonical.com/177306/02:14
babbageclunkblahdeblah: hmm. When I've seen machines stuck in down, it's because there's a problem running cloud-init and so it hasn't been able to start jujud.02:14
blahdeblahYeah - I think it's failing before that02:14
babbageclunkblahdeblah: yeah, I see what you mean02:15
babbageclunkblahdeblah: I don't know much about openstack - does that error message help?02:18
blahdeblahbabbageclunk: yeah - it does; just checking our build scripts to see what's responsible for specfiying it02:18
blahdeblahthanks for the help02:18
babbageclunkblahdeblah: no worries!02:19
* babbageclunk goes for a run02:20
blahdeblahexcellent choice02:20
blahdeblahAlthough, depending on what part of the world you're in, maybe not. :-)02:20
* redir goes to make dinner and eods02:38
thumperbabbageclunk: https://github.com/juju/juju/pull/687903:15
blahdeblahbabbageclunk: Thanks for all the help; adding the correct openstack network sorted that out03:16
thumperbabbageclunk: hold off on that review for a few minutes, found a few more test failures to fix03:19
babbageclunkblahdeblah: glad to hear it! (I'm in NZ, so it was a great choice!)03:31
blahdeblahbabbageclunk: I went running with some folks at LCA2017, and one is a Linux kernel engineer who works for Microsoft somewhere in Canada.  He reckons running anywhere down to about -30C is fine, except for the ice beard.  I reckon he's nuts. :-)03:35
babbageclunkblahdeblah: ouch! I've been running at -2C (during a cold snap in London) but I can't imagine running in that kind of cold.03:36
blahdeblahI'm too wimpy to run below about 10.  :-)03:37
babbageclunkblahdeblah: also I had to read "linux kernel engineer working for Microsoft" a few times.03:37
blahdeblahYeah - pretty funny03:38
blahdeblahBut apparently true03:38
babbageclunknice03:38
babbageclunka former colleague of mine always says "no such thing as bad weather, just the wrong clothes"03:38
babbageclunkthumper: let me know when it's good to look at that PR03:40
thumperbabbageclunk: it's there now03:57
* thumper heads off to jitz03:57
bradmanyone about?  I'm getting a weird message constantly streaming in my juju state server logs - http://pastebin.ubuntu.com/23872991/04:00
thumperbabbageclunk: thanks for the review, I won't land it just yet as I'm about to head off for a week05:33
thumperbabbageclunk: stack.Debug is *way* faster than all the DB access we do05:33
thumperso any db access will completely hide any cost to stack.Debug05:34
thumperbradm: that looks badish, what version?05:34
thumperbradm: I'm guessing pre 2.005:35
bradmthumper: nope, 2.005:36
thumperbradm: hmm...05:36
bradmthumper: I had some weird transaction issues, so I cleaned those up with mgopurge, which seemed to work ok05:37
thumperbradm: what is the background with the controller / models?05:37
bradmthumper: I've had to end up re-bootstrapping :-/05:37
thumperI'm guessing... it was mongo data loss...05:37
thumperwhich would have caused transaction issues05:37
bradmthumper: but the background is its a stack being deployed, so its being taken up and down to test out the deployment05:37
thumperand missing setting doc05:37
thumperwell... poo05:38
bradmthumper: so long running controller, with the model being deployed, torn down, remade with same name, then deployed again05:38
thumperhmm05:38
thumperthere shouldn't be a problem05:38
bradmthumper: the fun part was a juju list-models didn't show it, but a list-models --all whinged about missing data05:39
thumperthe only thing I have seen that causes transaction issues is mongo data loss05:39
thumperhmm... sounds like a half torn down model05:39
bradmyeah, I wonder if some corruption happened during tearing down the model05:39
bradmhuh, this is actually 2.0.1, I should probably update to 2.0.205:40
thumpergood luck folks05:49
* thumper out05:49
=== frankban|afk is now known as frankban
deanmanjcastro, Are you available? Following up the action needed to be complete by charmers program owner so charmers can test their centos charms.17:39
mupBug #1587644 changed: jujud and mongo cpu/ram usage spike <canonical-bootstack> <canonical-is> <eda> <performance> <juju:Fix Committed by axwalk> <juju-core:Fix Released by axwalk> <juju-core 1.25:Fix Released by axwalk> <https://launchpad.net/bugs/1587644>17:40
mupBug #1654528 changed: log sending broke between 1.25.6 and 1.25.9 on trusty <canonical-is> <juju-core:Fix Released by rogpeppe> <https://launchpad.net/bugs/1654528>17:40
jcastrodeanman: sure, I'm free for the next 1h20m, how can I help?17:40
deanmanUsing private simplestreams from sinzui and i get the following error http://paste.ubuntu.com/23875938/ and i think it just a simple action from you or Marco17:40
jcastromarcoceppi_: have you seen that before? ^^17:41
marcoceppi_jcastro deanman nope.17:41
marcoceppi_that's weird17:41
jcastroI wonder if it's a new account that's hit a limit?17:41
jcastrobut we've gotten that before and the error looks nothing like that17:41
deanmanI could search for my chat transcripts we had end of December, sinzui was basically letting me use his private simplestreams with access to centos images. Would that help ?17:43
jcastroI wonder if you need to accept some eula or something to use those images?17:44
deanmanwell from the error message description i can understand that i have, but since i don't have access to aws console, i can't see that through ?17:45
jcastrodoes the account holder have access to the console?17:47
jcastroballoons: yo anyone else on your team know anything about these centos images?17:48
jcastroI've never even seen this error before17:48
deanmanmarcoceppi_, Did you try that link https://aws.amazon.com/marketplace/pp?sku=aw0evgkw8e5c1q413zgy5pjce ?17:50
marcoceppi_deanman: OH I SEE17:51
marcoceppi_deanman: okay, I can help, probably17:51
marcoceppi_deanman: what region?17:51
deanmanim on eu-west-117:52
marcoceppi_deanman: try now?17:54
deanmanthank you sir, it worked!17:59
deanmansome weird other behavior though....17:59
deanmanmarcoceppi_, i could see the machine being created but gets stuck at pending with the following http://paste.ubuntu.com/23876093/. Does that look normal to you?18:06
marcoceppi_deanman: that's beyond me18:06
deanmanmarcoceppi_, no worries, I'll try look into this more and try get help at some other time18:08
=== frankban is now known as frankban|afk
mskalkaNot sure if here or #juju is the right place for this, but does the reactive charm framework support @when('config-changed') or similar? My google-fu is failing23:02
cmarsmskalka, it does.. looking up the state names for this23:17
cmarsmskalka, https://github.com/juju-solutions/layer-basic#reactive-states23:18
mskalkacmars: Thanks! That's exactly what I was looking for.23:20

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