/srv/irclogs.ubuntu.com/2016/03/14/#juju-dev.txt

=== menn0 is now known as menn0-afk
davecheney  00:12
thumperdavecheney: check now00:31
* thumper did something00:32
davecheneythumper: ta00:33
=== menn0-afk is now known as menn0
davecheneythumper: got it, i'll fix that stupid typo01:40
axwwallyworld: just looking at the createmodel command, the new credential code is not entirely correct. there's no requirement that the attr names match between credentials and provider config. also, the provider might need to do auth-type specific things.01:55
axwwallyworld: e.g. in gce, read creds from the file pointed to by the "file" attr01:55
axwwallyworld: or set auth-mode in openstack01:55
wallyworldaxw: that is true, there's currently no validation01:56
axwwallyworld: the creds-to-config code probably needs to be split out of BootstrapConfig01:56
axwwallyworld: s/validation/transformation/01:56
wallyworldaxw: the other thing is that with --config options to bootstrap, there's also no validation tehre wither01:56
wallyworldso people can pass in crap values01:57
axwwallyworld: true, but not so much with credentials - they come in a standardish format in a file. we should treat them the same in bootstrap and create-model01:57
wallyworldwould be good to fix all that before we ship next beta01:57
wallyworldyep01:57
wallyworldi should have left a todo in the code01:58
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/155663004:12
mupBug #1556630: Timeout github.com/juju/juju/cmd/jujud/reboot <blocker> <ci> <go1.5> <regression> <test-failure> <wily> <juju-core:Fix Committed by dave-cheney> <https://launchpad.net/bugs/1556630>04:12
davecheneyis fixed committed04:12
davecheneycan someone kick the CI jobs to get this validated pls04:12
mupBug #1533694 changed: inconsistent juju-gui and juju status <juju-core:Expired> <https://launchpad.net/bugs/1533694>04:26
bradmshould I be able to do a juju deploy --to lxc:1 with juju 1.25.4 and xenial?  it keeps telling me "ERROR adding new machine to host unit "test/1": cannot add a new machine: machine 1 cannot host lxc containers"04:32
davecheneyhttps://github.com/juju/juju/pull/470804:36
davecheney^ thumper, menn004:36
menn0davecheney: looking04:37
davecheneyjust a small driveby04:38
menn0davecheney: done04:42
davecheneyta04:43
axwwallyworld: finally got all the tests fixed. just gotta update a couple of plugins which are still using configstore, then I can remove it.04:47
wallyworldawesome04:47
davecheneymenn0: here's another little one, https://github.com/juju/juju/pull/470905:34
davecheneyanyone: https://github.com/juju/juju/pull/4711 << not a cleanup06:07
davecheneyan actual improvement06:07
davecheney^ wallyworld06:09
davecheneytest that is not hoocked up06:09
wallyworlddavecheney: i think i just reviewed that one06:09
davecheneyta06:09
davecheneythank yo06:09
davecheneyi was scratching my head going "how does this work"06:09
davecheneyand then, oh, it doesn't...06:09
axwwallyworld: https://github.com/juju/juju/pull/4712. if it's too difficult to review, I can try and break it up06:20
wallyworldaxw: i'll be ok :-)06:20
axwwallyworld: there's one more bit that I'm working on, which is validation of bootstrap config in jujuclient. won't change much though06:20
wallyworldok06:20
=== bogdanteleaga_ is now known as bogdanteleaga
=== marlinc_ is now known as marlinc
wallyworldaxw: lgtm with a few small nitpics. i'll be pressing to try and get this branch finally CI tested07:44
axwwallyworld: thanks. just finishing up the validation changes - more test fallout, should be trivial tho07:45
wallyworldok07:45
wallyworldso good to see that legacy stuff gone07:45
axwwallyworld: when do you expect we'll be able to remove -b from restore?08:37
wallyworldaxw: good question. when someone gets to do the work. i'm hoping we can get some bandwidth next week08:37
axwwallyworld: shall I just say "before 2.0"?08:37
wallyworldwhy not :-)08:38
frobwaredimitern: ping09:08
frobwaredimitern: can we sync on a ppc64 bug09:09
dimiternfrobware, hey, sure09:09
frobwaredimitern: let's use standup HO09:10
dimiternfrobware, omw09:10
mwhudsonfrobware, dimitern: if it's gccgo related please don't spend too much time on it...09:19
TheMuemorning09:24
frobwaremwhudson: sure, but it's currently OK on master, broken on our maas-spaces2 branch.09:29
frobwaremwhudson: still around?10:20
frobwaredimitern, voidspace: as a heads up, I have another (almost complete) PR for merging latest master just in case you were also thinking the same...11:08
dimiternfrobware, sounds good +111:09
sparkiegeekwhat SSL/TLS protocols does the Juju controller speak?11:57
frobwaremwhudson, dimitern: for reference, the ppc64 issue is fixed with go1.612:24
dimiternfrobware, sweet! but until we can use 1.6 that "fix" will solve the problem on maas-spaces2 I guess?12:25
frobwarejam: so using `delete(m, "yup!")' means we can drop the log as that works too. :)13:13
jamfrobware: yay... ish/13:14
mupBug #1554417 changed: Juju 2.0:  ERROR cannot deploy bundle: machine "0" is not referred to by a placement directive (and 4 more errors) <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1554417>14:28
mupBug #1556961 opened: i/o timeout from mongodb <kanban-cross-team> <landscape> <juju-core:New> <https://launchpad.net/bugs/1556961>14:28
mupBug #1556630 changed: Timeout github.com/juju/juju/cmd/jujud/reboot <blocker> <ci> <go1.5> <regression> <test-failure> <wily> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1556630>14:58
mupBug #1557020 opened: Spurious output with kill|destroy-controller <juju-core:New> <https://launchpad.net/bugs/1557020>15:37
rick_h__katco: ping15:37
natefinchrick_h__: she's out sick this morning15:37
rick_h__natefinch: ah ok, thanks for the info15:38
natefinchrick_h__: welcome15:38
* rick_h__ stops waiting in call15:38
natefinchdoh15:38
* rick_h__ sends chicken noodle soup katco's way15:38
perrito666rick_h__: oh you can wait, she will eventually be back15:41
TheMue*lol*15:41
rick_h__perrito666: most helpful person around :)15:42
perrito666you know me15:42
sparkiegeekwhat SSL/TLS protocols does the Juju controller speak?15:46
mupBug #1557020 changed: Spurious output with kill|destroy-controller <juju-core:New> <https://launchpad.net/bugs/1557020>15:46
natefinchsparkiegeek: tls 1.216:05
voidspacedimitern: frobware: I guess networking meeting is not on?16:05
voidspacedimitern: frobware: given that no-one else is here...16:06
dimiternvoidspace, yeah, sorry about that16:07
voidspacedimitern: jay didn't come either16:07
dimiternright, well too much to do anyway :)16:12
natefinchfirst meeting about kindergarten for our oldest child is today.  Info packet was set in comic sans and poorly written....16:13
sparkiegeeknatefinch: thanks16:14
natefinchsparkiegeek: welcome16:16
frobwarevoidspace: can we sync on MAAS 2.0; standup HO16:28
natefinchrogpeppe: you around?16:28
rogpeppenatefinch: i am16:28
natefinchrogpeppe: I'm adding a --resource flag to charm publish, so you can specify resources to publish with the charm... however, the code doesn't actually exist on the charmstore yet to support that.  The tests for publish currently all run a full-on charmstore... so I'm uncertain how to proceed with testing the added functionality.  Any suggestions?16:29
rogpeppenatefinch: in my view, you can't test it.16:30
rogpeppenatefinch: you could implement a mock charmstore endpoint, but what confidence would that given you that the code would eventually work when run against a real charmstore16:31
rogpeppe?16:31
natefinchrogpeppe: it would ensure I am parsing the CLI correctly and passing that data onward and upward.  It can't ensure that the real charmstore actually has that endpoint or deals with the information correctly, that's true.16:32
natefinchrogpeppe: I would note that I am required by a very long management chain to deliver this functionality (presumably with tests) in the next week-ish.. and I am sure we cannot also implement the serverside work in that time.16:33
rogpeppenatefinch: if that's all you need to do, then i'd implement a fake charmstore handler that implements or fakes the required endpoints16:33
natefinchrogpeppe: I think that's the best I can do, given the constraints of my current reality :)16:33
rogpeppenatefinch: it probably is16:34
frobwaredimitern, voidspace: http://reviews.vapour.ws/r/4157/16:46
dimiternfrankban, looking16:48
frankbandimitern: ty16:48
dimiternfrankban, oops sorry :) tab completion failed16:50
dimiternfrobware, LGTM16:50
frobwaredimitern: you can get to the bug from the commit16:51
frankbandimitern: I have a quick one as well ;-) http://reviews.vapour.ws/r/4154/16:51
dimiternfrankban, sure :) looking16:51
frankbanty16:52
mupBug #1557052 opened: Can't bootstrap LXD on juju2.0-beta2 (xenial): no registered provider for "lxd" <go1.2> <lxd> <trusty> <juju-core:New> <https://launchpad.net/bugs/1557052>16:52
dimiternfrankban, feel free to drop the issue, but I think it's good to add easy references to bugs where appropriate16:52
dimiternargh!16:52
dimiternfrobware, ^^16:52
frobwaredimitern: aimed at me? :)16:52
dimiternfrobware, :)16:53
frankbanlol16:53
frankbandimitern: cool part is that dimitern comment was appropriate to my branch too16:54
dimiternfrankban, yours LGTM btw :)16:54
frankbandimitern: ty16:54
frobwaredimitern, voidspace: one more (merge master): http://reviews.vapour.ws/r/4158/17:03
dimiternfrobware, cheers, will look shortly17:05
frobwaredimitern: thanks. would be good to try and get this ^^ in today as we'll have a CI run to look at tomorrow17:06
voidspacefrobware: great17:07
frobwarevoidspace: can we sync; standup HO17:07
voidspacefrobware: sure17:08
natefinchrogpeppe: do you have a link to info on how to set up my machine to run the rest of the tests?  For example, I don't have elastic search running on my machine, which seems like it's necessary17:08
voidspacefrobware: I'm there17:09
natefinchrogpeppe: actually... just looked at the readme... is makesysdeps all I need?17:09
rogpeppenatefinch: i think so17:09
dimiternfrobware, LGTM17:09
natefinchrogpeppe: I guess I can try it and see ;)17:09
rogpeppenatefinch: you can run the tests with ES disabled too17:09
natefinchrogpeppe: oh, that would be nice :)17:10
natefinchrogpeppe: especially since make sysdeps just failed :)17:10
rogpeppenatefinch: but it's not too bad - if you've installed it, you can just run:  sudo service elasticsearch start17:10
rogpeppenatefinch: and the tests will use it17:10
rogpeppenatefinch: you can export JUJU_TEST_ELASTICSEARCH=none17:12
rogpeppenatefinch: but that does disable quite a few tests17:12
natefinchrogpeppe: heh, it disables all the publish commands.  Perhaps that's not the way to go about it.17:13
rogpeppenatefinch: i like the charmstore approach to testing against ES more than juju's approach to testing against mongo - it uses the same server for all tests rather than starting a new instance for each tested package.17:15
ericsnownatefinch: FYI, someone suggested that I get ES directly from the site and not install via the make file17:17
ericsnownatefinch: it worked for me17:17
natefinchericsnow: do we need a specific version?17:19
ericsnownatefinch: I'm running 1.7.5 (downloaded, unpacked to dir under $HOME, and run straight from unpacked dir/bin/elasticsearch without -d)17:21
ericsnownatefinch: I left it running in a separate terminal so I could deal with it more directly17:22
natefinchlol, installing elasticsearch 1.7.4: The package is of bad quality. The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.17:30
natefincher .5 that is17:30
=== natefinch is now known as natefinch-lunch
perrito666how exactly can dpkg know that?17:31
mupBug #1557102 opened: Cannot unregister from a controller <docteam> <juju-core:New> <https://launchpad.net/bugs/1557102>18:28
=== natefinch-lunch is now known as natefinch-afk
natefinch-afkoff to battle the school system's bureaucracy, wish me luck18:34
perrito666luck18:34
mupBug #1557102 changed: Cannot unregister from a controller <docteam> <juju-core:New> <https://launchpad.net/bugs/1557102>18:40
mupBug #1557102 opened: Cannot unregister from a controller <docteam> <juju-core:New> <https://launchpad.net/bugs/1557102>18:52
mupBug #1557124 opened: Controller is orphaned for remotely registered user <docteam> <juju-core:New> <https://launchpad.net/bugs/1557124>19:04
=== natefinch-afk is now known as natefinch
mupBug #1557143 opened: help text for juju list-users needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1557143>19:59
mupBug #1557146 opened: help text for juju register needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1557146>19:59
mupBug #1557148 opened: help text for juju add-user needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1557148>19:59
mwhudsonfrobware: yay for 1.6 fixing things20:16
natefinchericsnow: are we skipping standup today?20:18
ericsnownatefinch: wasn't planning on it20:19
frobwaremwhudson: this was my fix for gccgo. http://reviews.vapour.ws/r/4157/20:34
frobwaremwhudson: only on maas-spaces2 atm, but if you have or are aware of a better fix...20:34
mwhudsonfrobware: the better fix is https://bugs.launchpad.net/ubuntu/+source/golang/+bug/153688220:34
mupBug #1536882: upload golang1.6 package for trusty <docteam> <golang (Ubuntu):In Progress by mwhudson> <https://launchpad.net/bugs/1536882>20:34
frobware:)20:35
mwhudsonwhich reminds me20:35
alexisbvoidspace, frobware you guys still around?20:35
mwhudsonare you guys still using gccgo on ppc64el for xenial?20:35
mwhudsonbecause if you are, please stop20:35
mwhudson(gccgo is less buggy in xenial, but still)20:35
frobwarealexisb: I can be20:36
frobwaremwhudson: not sure about xenial20:36
alexisbmwhudson, no20:37
=== natefinch is now known as natefinch-afk
axwdavecheney: thanks for the unused cleanup. I've been meaning to do that, didn't know which tool to use tho23:02
perrito666axw: wallyworld  do you people also have DSTd this weekend?23:03
wallyworldnot in queensland or western australia23:04
axwperrito666: what he said. you?23:04
axwdavecheney: oh, now I see why I didn't know which tool to use. it was announced yesterday ;p23:05
wallyworldaxw: what tool are you talking about?23:06
axwwallyworld: https://godoc.org/honnef.co/go/unused  -- tool davecheney used for the PR that removed all the dead code23:06
wallyworldaxw: huh, my ide has done that for over 12 months :-)23:06
wallyworlddon't need to wait for go to catch up23:07
axwwallyworld: across package boundaries?23:07
wallyworldyup23:07
axwmkay. I'd like to see the code for that23:07
wallyworldit's open source. there's a who inspections framework23:07
wallyworldwhole23:07
wallyworldall sorts of inspections are written23:07
perrito666wallyworld: but it looks so ugly :p23:08
wallyworldpycharm with golang plugin23:08
wallyworldperrito666: have you even seen it?23:08
perrito666yes I did, I once even did an editor that "borrowed extensively" from it :p23:09
wallyworldi use the gtk theme, looks native23:10
perrito666wasnt pycharm a closed source thing?23:11
wallyworldno, never23:12
perrito666oh I see there is a paid version and a free version23:12

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