/srv/irclogs.ubuntu.com/2016/02/27/#juju-dev.txt

mupBug #1550579 opened:  model "local.functional-jes:functional-jes-env2" not found <ci> <destroy-model> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1550579>00:10
mupBug #1550580 opened:  model "local.functional-jes:functional-jes-env2" not found <ci> <destroy-model> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1550580>00:10
mupBug #1550579 changed:  model "local.functional-jes:functional-jes-env2" not found <ci> <destroy-model> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1550579>00:41
mupBug #1550586 opened: github.com/juju/juju/tools/lxdclient_test constant overflows int <ci> <i386> <lxd> <regression> <juju-core:Incomplete> <juju-core lxd-container-type:Triaged> <https://launchpad.net/bugs/1550586>00:41
mupBug #1550593 opened: TestAddMetricCredentials failed to register metrics: could not create budget allocation <ci> <go1.5> <go1.6> <ppc64el> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1550593>00:41
mupBug #1537082 changed: 2.0 cannot bootstrap in AWS, Azure, and Joyent <bootstrap> <streams> <juju-core:Fix Released by anastasia-macmood> <juju-release-tools:Fix Released by abentley> <https://launchpad.net/bugs/1537082>05:20
magicaltrouthello, lxd help required ;)14:52
jamhey magicaltrout15:28
jamsorry about the delay15:28
jamthe last part seems very strange "bootstrap --upload-tools" saying that there are no tools available. Did you target trusty vs xenial?15:28
magicaltrouthey jam no worries i'm trying to keep 2 kids happy whilst debugging lxd ;)15:29
magicaltroutyou'll have to excuse the quesions, I haven't a clue. Target?15:30
magicaltrouti assumed it built tools for the platform it was built on (or all of them)15:31
rick_h_jam: we hit that with someone because they were using upload-tools from a mac15:32
rick_h_magicaltrout: any chance you're on a different series/os than what you're trying to bootstrap with upload-tools?15:33
rick_h_actually series probably doesn't matter?15:33
magicaltroutrick_h_: i installed wily, did an upgrade to xenial all before installing go and building juju15:33
magicaltroutbut i've got trusty and xenial images15:33
rick_h_magicaltrout: ah ok, lxd so you have to be on ubuntu. Gotcha.15:33
rick_h_sorry, error message triggered recent memory15:34
magicaltrouttrusty bootstraps but fails because for some reason sshd isn't running after the very first tasks15:34
magicaltroutand xenial doesn't work due to missing tools15:34
rick_h_magicaltrout: anything suspicious in the cloud-init logs?15:34
magicaltroutnothing that fails15:34
magicaltroutit does configure the keys and stuff15:34
magicaltrouti can dump them to pastebin, 2 mins15:35
magicaltroutsorry about the delay15:42
magicaltroutaddr:84.40.61.8215:43
magicaltrouter15:43
magicaltrouthttp://paste.ubuntu.com/15215668/15:43
magicaltrouthttp://paste.ubuntu.com/15215678/15:43
rick_h_magicaltrout: looking15:52
magicaltroutsshd isn't running though when you log into the images15:52
magicaltroutso it will never succeed in connecting :)15:52
rick_h_magicaltrout: hmm yea I don't see it trying to install but I'm not familiar enough with cloud-init to see if it's part of some bigger step in there15:53
* rick_h_ had hoped to see openssh-server or something in the logs15:53
magicaltroutwell if i login and actually start sshd then it does connect15:53
magicaltroutand at that point you get an error about missing nonce files et15:53
magicaltroutc15:53
rick_h_magicaltrout: did you try just creating an lxd container outside of juju and see if it had ssh?15:53
magicaltroutyeah i did15:53
magicaltroutit doesn't15:53
rick_h_hmm, so it might be the lxd images are missing a step. /me looks where those are.15:54
rick_h_magicaltrout: what series is the lxd image?15:54
rick_h_that you bring up?15:54
magicaltrout lxc launch ubuntu-trusty my-test-image2 / lxc exec my-test-image2 /bin/bash / ps aux |grep ssh15:55
magicaltroutretuns nothing15:55
rick_h_magicaltrout: ok, so it's a trusty image?15:55
magicaltrouthttp://pastebin.com/zMUSPT3J15:56
rick_h_magicaltrout: can you bring up another series in lxd manaull?15:56
magicaltroutah well xenial has an sshd15:56
magicaltroutbut i can't run that currently due to missing tools15:56
rick_h_magicaltrout: ok, so it's definitely something in the lxd images then15:56
magicaltrouthow do i generate tools for xenial? that way i can test it with a running sshd15:57
rick_h_magicaltrout: looking, I'd have thought upload-tools would work but if you're asking how to create tools the wiki here under "Generating local tools" http://wiki.cloudbase.it/juju16:02
rick_h_has some steps16:02
magicaltroutjuju bootstrap test-lxd lxd --debug --upload-tools --bootstrap-series xenial16:03
magicaltroutwell thats right, right?16:03
magicaltroutlike the series name16:03
rick_h_the series name is xenial16:04
rick_h_I've not used --bootstrap-series before so looking on that one16:04
magicaltroutme neither but thats what jam mentioned16:05
magicaltroutand without it it boots a trusty node16:05
rick_h_yea, looking at old bugs/etc it used to just be --series but looking at the code it's bootstrap-series https://github.com/juju/juju/blob/5585f90a51acd581e154aeb0c638cc279bcc2415/cmd/juju/commands/bootstrap.go#L14516:06
rick_h_and when you do that what's the output along side the 'cannot find tools'?16:07
magicaltrouthttp://pastebin.com/iKJ3jt1h16:07
rick_h_sorry phone calls and such, /me looks16:11
magicaltroutno worries it is saturday :P16:13
rick_h_magicaltrout: heh, so found the code for the error, but not enough context around it for me to be helpful unfortunately :/16:14
rick_h_magicaltrout: you've definitely gone above and beyond on hoops to try to get it working, but you're in deeper waters now.16:15
magicaltrouthehe i know, it was just a friday project to prevent me doing proper work, i had basically abandoned it until jam popped up today, but this seems to be something that might crop up for others as its not an api issue like the lxd beta 2 -> beta 3 issue16:16
magicaltroutso i figure i'll keep prodding16:16
rick_h_magicaltrout: yea, I definitely think a bug on the lxd precise image is in order for the ssh server16:17
rick_h_magicaltrout: and I think the tools is probably some magic trick that folks know that work from trunk more than I do16:17
* rick_h_ is a lazy person that uses the debs in the PPAs usually16:17
magicaltrouthehe16:17
magicaltroutalso in juju 1 there is juju set-env ... to override the streams and stuff16:28
magicaltroutin juju2 juju init has gone16:28
magicaltroutso I don't know where you're supposed to override the streams url and stuff16:28
magicaltroutalthough I'm not sure it matters in this case16:28
rick_h_magicaltrout: yea, so that stuff is moved to set-controller-config and set-model-cofig16:33
magicaltroutokay so my post dinner task is figuring out how to get xenial tools working so that juju can bootstrap it ;)16:39
mupBug #1550770 opened: TestContainerStartedAndStopped cannot create mock container on ppc64el/arm64 xenial/wily <arm64> <centos> <ci> <lxc> <ppc64el> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1550770>18:31
magicaltroutalrighty then its 8:45 I have a rum and soda, time to figure out how on earth tools get overridden20:46
magicaltroutokay so here's a question for the no one crazy enough to be around on a saturday21:00
magicaltrout--upload-tools21:00
magicaltroutwhere doe it get the tools from?21:00
magicaltroutrick_h__: fyi, i've just tried to launch a trusty bootstrap and right when it was initialising I told it to switch to init5 otherwise the init level is unknown22:20
magicaltroutand juju bootstraps22:20
magicaltroutthis might be something networking or otherwise, probably cause from my distro upgrade from wily to xenial22:21
magicaltroutshould I dump it in launchpad if anyone cares to look at it22:21
mupBug #1550810 opened: TestDetectCredentialsKnownLocationWindows missing region <ci> <regression> <test-failure> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1550810>22:47
mupBug #1550817 opened: TestUniterStartHook: never reached desired status <ci> <i386> <intermittent-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1550817>23:29
magicaltroutjeez louise23:34
magicaltrouti figured it out23:34
* magicaltrout spins up a hadoop cluster to test that theory23:39
magicaltroutomg23:40
magicaltroutthats like the best $hit ever23:40
magicaltroutoh nearly not quite23:42
mupBug #1550819 opened: TestAddLocalCharmUnauthorized mismatch <go1.5> <go1.6> <intermittent-failure> <wily> <xenial> <juju-core:Triaged> <https://launchpad.net/bugs/1550819>23:59
mupBug #1550821 opened: TestSetsAndUpdatesMembers timed out <ci> <go1.5> <regression> <trusty> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1550821>23:59

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