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

mupBug #1560732 changed: Azure endpoint ACLs disappear after machine-0 restart <juju-core:New> <https://launchpad.net/bugs/1560732>00:15
perrito666man, lint really hates some juju files00:24
* arosales can't get update-clouds to pick up changes to .local/share/juju/credentials/cred.yaml00:26
arosalesso list-credentials doesn't see the latest00:26
perrito666creds00:26
perrito666isnt it?00:26
arosalesis there a way to force juju to pick up the update?00:27
arosalesperrito666: are you saying cred.yaml should be creds.yaml?00:27
arosalesI can bootstrap with the current config00:27
perrito666nah, I got confused, ignore me00:27
arosalesok00:27
arosalesand what is the recommended way to set a different region for a cloud00:28
arosalesset-default-region?00:29
wallyworldredir: your email should be fixed now00:29
redirloos like it wallyworld, many thanks00:32
redir*looks00:32
arosalesI think set-default-region is what I am looking for . . .00:32
wallyworldarosales: yes, that is the command you are looking for00:33
* wallyworld likes jedis00:34
wallyworldarosales: as of beta 3, there will be no need to edit credentials.yaml by hand - you have commands like add-credential and set-default-region etc to do it all00:35
wallyworldarosales: you can also list/show credentials contents with/without secrets00:35
arosaleswallyworld: well I edited the cred.yaml to add another user and show-credentails didn't pick up my changes00:37
wallyworldredir: could you subscribe to the canonical lists using your canonical email address. they will reject requests from your personal address00:37
wallyworldarosales: pastebin it if you like and i'll help00:37
redirwallyworld: I will, they did00:38
perrito666wallyworld: so, I have the manta removal ready too00:42
perrito666should I propose it against master too?00:42
wallyworldperrito666: does it depend on anything ?00:43
anastasiamacredir: r u in #canonical?00:43
perrito666wallyworld: on this http://reviews.vapour.ws/r/4303/ but I am not sure how to tell reviewboard that00:43
perrito666the depends-on field is a text field00:43
perrito666ericsnow: ?00:43
wallyworldperrito666: the reason for asking - can it be proposed agains admin-controller-model00:43
perrito666mm, I can try00:44
wallyworldperrito666: you don't do it in rb - you propose against a branch in gh00:44
perrito666wallyworld: I wanted the fancy version00:44
arosaleswallyworld: http://paste.ubuntu.com/15476275/00:44
perrito666wallyworld: ill propose against admin-controller-model00:44
wallyworldperrito666: rb will pick it up automatically00:44
wallyworldjust propose in gh and rb will do the right thing00:44
perrito666wallyworld: rb has fancy depends sadly I dont know how to use it, ill propose against admin-...00:45
wallyworldarosales: file should be called credentials.yaml00:45
wallyworldarosales: are you running tip of master? or a packaged beta? if tip, you can use the interactive add-credential and also autoload-credentials00:47
arosaleswallyworld: beta200:47
wallyworldbeta3 will add tools to better manage credenrtials00:47
arosalesI'll rename to credentials.yaml00:47
wallyworldok, ping if that doesn't work00:47
arosaleswallyworld: so should I update https://jujucharms.com/docs/devel/getting-started00:47
arosalesor does this not mater in juju 2.0 ga?00:47
wallyworldif it says cred.yaml then yeah, let me look00:48
wallyworldarosales: it looks ok at first glance but is a little out of date eg list-clouds does not include lxd, manual or maas00:49
arosaleswallyworld: no dice, http://paste.ubuntu.com/15476290/00:50
arosaleswallyworld: well there is no specific mention of the credentails.yaml location or the exact naming requirement00:50
arosalesonly "juju add-credential aws -f mycreds.yaml"00:51
wallyworldarosales: no! you want ~/.local/share/juju/credentials.yaml00:51
arosalesok00:51
wallyworldarosales: the release notes contain that info00:51
* perrito666 's kindgom from a straight merge00:51
wallyworldarosales: but for beta3 - no need to deal with this stuff anynmore thankfully00:52
wallyworldit's all very manual in beta200:52
arosaleswallyworld: ok that works00:53
wallyworldarosales: awesome, sorry about the hassle with it, it's wip :-)00:53
arosaleswallyworld: I do like setting my defaults in a yaml file so I always don't have to specify them at the command line00:53
wallyworldyep00:54
arosaleswallyworld: no worries00:54
arosalesglad to be trying it out, and thanks for the help00:54
wallyworldsure, thanks for testing for us :-)00:54
wallyworldbeta3 will be awesome00:54
perrito666wallyworld: https://github.com/juju/juju/pull/485700:55
arosaleswallyworld: I am looking forward to it00:55
perrito666going for dinner, bbl00:55
mgzdon't promise too big wallyworld :P00:55
wallyworldthank perrito66600:55
wallyworldmgz: i'm optimistic :-)00:55
perrito666wallyworld: and for the other one http://reviews.vapour.ws/r/4303/00:55
wallyworldperrito666: ta, will look00:55
redirhow does one undeploy? i.e. a failed deploy of a charm?01:06
mgzredir: depends on the reason01:07
mgzredir: machine didn't come up? retry-provisioning01:07
redirmgz: correct on failure and thanks01:07
mgzredir: install hook failed? resolved --retry01:08
redirdidn't come up on aws01:08
mgzfor debug purposes it's often useful to use the underlying cloud commands to see what juju is seeing01:09
redirmgz such as ec2-provider? or other commands?01:10
mgzI tend to use euca2ools against ec2, there are lots of options01:11
redirmgz oic. Thanks01:14
redirretry-provisioning worked01:14
* redir eod01:14
cheryljwth happened on the last CI run?01:22
anastasiamaccherylj: hurddles?01:26
mgzcherylj: which last one...01:27
cheryljmgz: http://reports.vapour.ws/releases/380301:27
* thumper wonders how much he just broke...01:27
cheryljeverything.  You broke everything, thumper01:28
* cherylj slow clap01:28
cheryljjust kidding :)01:28
thumper:)01:28
mgzjenkins is intermittently returning that atm01:29
mgzI hadn#'t seen it'd affected quite so many tests01:29
mgzcherylj: I did something dangerous 1 hour ago, but I see that's from 2 hours ago so am much pleased01:30
cheryljhaha01:30
mgzI may just restart the frontend machine01:30
mgzand look at its juju logs01:30
mgz/apache logs01:31
cheryljmgz: so from the last full run on master, we had the windows build failures, which I already fixed.01:31
cheryljmgz: and bug 155890101:31
mupBug #1558901: TestAddLocalCharmSuccess read has been closed <ci> <go1.5> <go1.6> <intermittent-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1558901>01:31
cheryljmgz: and that charmstore v5 ppcel failure01:32
mgzcherylj: I have a fix for that01:32
cheryljoh?01:32
cheryljyou're my hero, mgz01:32
mgzI am just doing three things at once so haven't proposed yet01:32
cheryljmgz what's the fix01:32
mgzcherylj: we also had secgroup exhaustion on canonistack01:32
mgzcherylj: rather than doing approx01:33
mgzswitch obj:01:33
mgzcase someTagType{}01:33
mgzinstead do:01:33
mgzswitch obj.(type)01:33
mgzcase someTagType01:34
mgzwhich doesn't confuse some gcc const optimiser01:34
cheryljah01:34
thumperboo01:48
thumperallWatcherStateSuite.TestStateWatcherTwoModels01:48
thumperintermittent test failure01:48
axwwallyworld: sorry for delay, reviewed01:49
wallyworldnp, ty01:49
wallyworldaxw: a small one also http://reviews.vapour.ws/r/4305/01:52
mupBug #1560757 opened: allWatcherStateSuite.TestStateWatcherTwoModels intermittent failure <intermittent-failure> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1560757>01:57
axwwallyworld: forgot to mention, cmd/modelcmd merge looked find02:32
axwfine*02:32
wallyworldaxw: gr8, ty02:32
axwwallyworld: one other thing we're missing, "juju logout"02:38
wallyworldaxw: yeah, i have indicated that will slip to next week02:39
wallyworldalong with tidying up controller listing02:39
axwwallyworld: ok02:39
wallyworldto show logged in controllers etc02:39
axwwallyworld: tidying up controller listing?02:39
axwok02:39
=== thumper is now known as thumper-afk
wallyworldaxw: if you get time, here's a charm deployment bug fix http://reviews.vapour.ws/r/4308/03:40
axwwallyworld: lgtm. should probably check with uros to make sure the charm store should be allowing that03:49
axwseems a bit weird to allow in charm store charms03:49
axwlocal case is sane tho03:49
wallyworldaxw: yeah, he was the one who pinged me about the issue; my comments in the bug are a guess,he just sent me a pastebin; i have a meeting this arvo to follow up03:49
wallyworldbut the fix is good regardless03:49
axwok03:50
axwwallyworld: for list-controllers, I'm going to add cloud type to controllers.yaml. the rest is already in bootstrap config, and can't be expected to exist in controllers.yaml anyway (e.g. if you do "juju register", most of that info is gone)03:51
wallyworldaxw: what about when we start to support heteroegeous controllers?03:52
wallyworldcloud type shouild be on the model?03:52
wallyworldfor future proof03:52
wallyworldwe could include the admin model cloud type or something for now when we list03:53
axwwallyworld: I'd prefer not to special case some model like that03:53
axwwallyworld:03:53
axwwallyworld: tho I suppose we could just check the UUID03:54
axwhrmmmmm03:54
wallyworldit would just be the default for now for list controllers - i meant yeah check the uuid03:54
=== blahdeblah is now known as Killfirefox
wallyworldif model uuid == controller uuid03:54
=== Killfirefox is now known as blahdeblah
axwwallyworld: what if the user doesn't have access to the admin model though?03:55
wallyworldwe can still tell them what type of cloud it is though - this is client side right?03:55
wallyworldi'm going frm memory, need to read the bug again03:55
axwwallyworld: how...? they can't list the models they don't have access to03:55
wallyworldhmmm, right we may need to refresh models03:56
wallyworldif they don't have access, can we not report the cloud type then03:56
axwwallyworld: I'm saying if you don't have permissions to do it. but yes, that too03:56
wallyworldi guess though people would want to know cloud type regardless of if theyhave admin model access03:57
axwmost of the time, yeah03:57
wallyworldbut that holds only for homogenoues controllers03:58
wallyworldsince it doesn't make sense otherwise03:58
axwwallyworld: well, there's the cloud that the controller runs in03:58
axwwallyworld: and the cloud(s) that it manages03:58
axwcurrently one and the same, but later on cloud-that-it-runs-in is still valid03:59
wallyworldyes but if you don't have admin access, then what do you want to know that for03:59
axwtrue.03:59
wallyworldif you can create a model of your own in whatever cloud you want03:59
axwwallyworld: I wonder if we shouldn't just use bootstrap config for this03:59
axwwallyworld: all this info is in bootstrap config already03:59
wallyworldit is yes04:00
wallyworldbut not on everyone's machine04:00
wallyworldi do like adding it to model metadats for that reason04:00
wallyworldsince that gets refreshed04:00
=== ses is now known as Guest91979
wallyworldaxw: so the person who asked for this would be a controller admin, we could do it per model so long as you have admin access, and get feedback04:01
wallyworldit will satisfy that initil use case04:01
wallyworldwe can easily change / extend to get from bootstrap config. but even then, if you have bootstrap config you'd be admin04:02
axwwallyworld: I think I could live with having it on model details, but I'm not so keen on requiring a model refresh to get the admin model04:03
wallyworldaxw: sgtm, you would expect to have that04:04
axwwallyworld: what sounds good? expect what?04:04
wallyworldnot having a model refresh because it's not needed because you'd expect to have those model details04:05
wallyworldaxw: i was just suggesting having it on model for the reasons outlined, if there's a show stopper then we can think of something else04:05
wallyworldbut to me it makes sense anyway :-)04:05
axwwallyworld: seeing as adam wants the maas-server and other info anyway, I'm treating them as orthogonal. we'll render bootstrap config if we have it, which addresses his immediate needs. we can add type to model if/when it's needed. people can already do "juju get-model-config type" if they need to04:23
wallyworldaxw: sgtm04:24
wallyworldaxw: later when you are free, here's a pr to remove manta from joyent. credentials entry nicer now http://reviews.vapour.ws/r/4309/04:28
axwwallyworld: will take a look after lunch04:37
wallyworldaxw: np, there's a queue anyway04:37
=== beisner- is now known as beisner
axwwallyworld: done05:10
wallyworldta05:10
=== urulama|afk is now known as urulama
wallyworldaxw: i had one question/suggestion06:11
wallyworldthoughts?06:11
axwwallyworld: yeah, I was thinking that too, for the type anyway. the name is pretty much useless, because it's always going to be "admin"06:13
axwwallyworld: how about this: I'll remove name, take type up to the top level, and if that's all that's in config, omit config06:14
wallyworldaxw: sgtm07:07
wallyworldaxw: a small fix http://reviews.vapour.ws/r/4314/07:07
axwwallyworld: looking07:11
axwwallyworld: LGTM, just one request07:15
wallyworldsure ty07:15
axwwallyworld: are any of the other cards more important to you than others?08:02
axwoh, there was the list-models one08:02
wallyworldaxw: yeah, i retested that but couldn't repro08:06
wallyworldaxw: i reckon we should print the current controller when listing models08:06
wallyworldaxw: as for cards, anything usability related, so the text when registering if there's no current model etc, or warning when --config has unknown values08:07
wallyworldaxw: also, roger suggested renaming controller apiendpoints and servers to APIEndpoints and ResolvedAPIEndpoints08:09
wallyworldwell i guess that's one rename08:09
axwwallyworld: yeah, the field names there already aren't great08:44
axwok, I'll just pick off some stuff08:44
wallyworldta08:45
wallyworldaxw: have started manually testing restore, something looks broken. i manually kill the controller, the only machine, and restore -b, and it detects that there's no controllers and then proceeds to try and connect continually to the (killed) controller ip08:49
wallyworldi have soccer but will look later, unless you are able to take a look while i'm gone08:49
wallyworldthe original admin-secret issue is fixed, tis occurs after that08:49
urulamawallyworld: multi-series charms are ok now08:52
wallyworldurulama: yay, awesome08:52
urulamawallyworld: indeed, thanks for the quick fix08:52
wallyworldnp, i'm an "expert" :-)08:53
urulamaLOL08:53
wallyworldurulama: still a bit concerning that the stored charm metadat *seems* to lack series08:53
wallyworldwe'll need to dig into that08:53
urulamawallyworld: you're using charmstore v5 to get the blob, right? if you're using v4, that would indeed be the case, you'd get a blob where metadata doesn't have series08:55
wallyworldurulama: not sure tbh, i think it's v5 since i think i merged master after those changes landed08:55
urulamawallyworld: ok, let's dig in for beta408:56
wallyworldyep, i'll add it to the list08:56
wallyworldaxw: yeah, so it finally timed out08:58
wallyworld1-85dd-bc5bff067743/api: dial tcp 54.237.98.19:17070: getsockopt: connection timed out08:58
wallyworld2016-03-23 08:56:58 ERROR cmd supercommand.go:448 getting API info: addresses for [] not found08:58
wallyworldoff to soccer, look check back later08:59
wallyworldwill08:59
=== babbageclunk is now known as xtian
=== xtian is now known as babbageclunk
voidspacebabbageclunk: heya, morning09:08
voidspacebabbageclunk: how was your first day?09:08
babbageclunkvoidspace: Hi, great thanks!09:08
voidspacebabbageclunk: did you get company email and access to HR systems working?09:09
TheMuebabbageclunk: heya, greetings from a former team member09:09
voidspacebabbageclunk: and yay, you're working with us - that's great :-)09:09
babbageclunkvoidspace: Yup yup.09:09
babbageclunkTheMue: Cheers!09:09
voidspacebabbageclunk: we have standup meetings at 10am - can you see them on your calendar?09:09
voidspacebabbageclunk: if not I can give you the link09:09
voidspaceTheMue: o/ morning09:10
TheMuevoidspace: o/ heya09:10
voidspacebabbageclunk: I'm going to have a chat with Tim about work changes on the MAAS 2.0 provider in about half an hour09:10
voidspacebabbageclunk: you can join us if you like, so you can help with the work09:10
babbageclunkvoidspace: yup, Dimiter invited me to them. I guess I should go into one of the chill areas for that.09:11
voidspacebabbageclunk: getting your HR stuff done *and* getting a dev environment setup is pretty good for day 109:11
babbageclunkvoidspace: :)09:11
voidspacebabbageclunk: getting MAAS setup in KVM will probably take a chunk of day 2...09:11
babbageclunkvoidspace: Yeah, I'd like to join in the MAAS talk09:12
babbageclunkvoidspace: ok - any tips on where to start? I've got virt-manager installed.09:12
voidspacebabbageclunk: this guide is helpful09:12
voidspacehttps://insights.ubuntu.com/2013/11/15/interested-in-maas-and-juju-heres-how-to-try-it-in-a-vm/09:12
voidspacebabbageclunk: I think that's the one I used09:12
voidspacebabbageclunk: the important thing is to setup a network in virt-manager for the instances to communicate09:13
babbageclunkvoidspace: ok, cool - I'll start working through that.09:13
voidspacebabbageclunk: and so that maas can manage dhcp for that network09:13
voidspacebabbageclunk: once you get it installed you can repeat with MAAS 2.0...09:14
voidspacebabbageclunk: for this work we really need *both* unfortunately09:14
babbageclunkvoidspace: send me a link for the MAAS chat with Tim?09:17
voidspacebabbageclunk: yep, when he lets me know where :-)09:17
babbageclunkvoidspace: cool cool09:17
voidspacebabbageclunk: when setting up the KVM instances for MAAS I generally give the MAAS controller a 20gb disk and the nodes 10gb09:17
voidspacebabbageclunk: that link is a little old for setting up maas - setting it up through the web ui is pretty easy09:18
voidspacebabbageclunk: the important thing is getting the network setup, and then when you install ubuntu on the maas controller you need to manually configure networking09:18
voidspacebabbageclunk: i.e. pick an ip address on the subnet of the network you created in virt-manager09:19
voidspacebabbageclunk: for me, the virt-manager network is 172.16.0.0/24 and I give the controller 172.16.0.209:19
babbageclunkvoidspace: ok, thanks.09:21
babbageclunkvoidspace: stupid question: despite that link saying 13.10, there's nothing wrong with using 15.10, right?09:29
voidspacebabbageclunk: for maas 1.9 I use trusty (14.04)09:31
voidspacebabbageclunk: for maas 2.0 you will need to use xenial (16.04)09:31
voidspacebabbageclunk: 15.10 would be fine for maas 1.9 though - possibly better, not sure :-)09:31
babbageclunkvoidspace: thanks09:36
babbageclunkvoidspace: And just grab the current daily desktop image for xenial from here? Or is there a better source?09:38
babbageclunkvoidspace: oops http://cdimage.ubuntu.com/daily-live/current/09:39
voidspacebabbageclunk: yeah, start with the daily - update/upgrade dance will pull in changes anyway09:39
voidspacebabbageclunk: except use the server image not desktop09:39
babbageclunkvoidspace: Where can I find the server one?09:40
voidspaceah09:40
voidspacehang on09:40
voidspacelet me google that for you...09:41
thumper-afko/ voidspace09:41
thumper-afkvoidspace: calling09:41
babbageclunkvoidspace: ok, I did that instead, sorry!09:41
voidspacethumper-afk: I couldn't find the tab that was making the noise!09:41
thumper-afkheh09:41
voidspacethumper-afk: can we do it in a hangout so babbageclunk can join?09:41
thumper-afkack09:41
=== thumper-afk is now known as thumper
thumpervoidspace: was trying09:42
thumpervoidspace: make one09:42
voidspacethumper: babbageclunk: https://plus.google.com/hangouts/_/canonical.com/juju-maas209:42
babbageclunkvoidspace: incoming09:42
voidspacebabbageclunk: where are you punk?09:45
babbageclunkvoidspace: "requesting to join video call"09:45
voidspacebabbageclunk: can you not join with your canonical id?09:46
menn0babbageclunk: hi!09:46
menn0babbageclunk: on the first screen when you join a hangout, the Google account in use is shown in a small font at the bottom. It's often wrong when you click an arbitrary link to a hangout.09:47
menn0but you can switch it09:47
babbageclunkmenn0: Hi! Yeah, I worked that out after a bit.09:54
menn0babbageclunk: it took me weeks, so you're doing well :)09:54
babbageclunkmenn0: On now, not understanding a whole lot! Reminds me of the first meetings I went to at BATS.09:54
menn0babbageclunk: that's quite normal09:55
dooferladvoidspace, dimitern, babbageclunk: standup?10:01
voidspacedooferlad: in a meeting with thumper right now10:02
dooferladvoidspace: everyone?10:02
voidspacedooferlad: me and babbageclunk10:03
dooferladvoidspace: is it relevant to me, or should I wait until you are done?10:03
voidspacedooferlad: dimitern: postpone a little bit please10:03
voidspacedooferlad: it's about 2.010:03
mupBug #1560888 opened: bootstrap aws fails but leaves instance alive <juju-core:New> <https://launchpad.net/bugs/1560888>10:04
voidspacedooferlad: maas 2.0 I mean10:04
voidspacedooferlad: so not relevant to you I don't think10:04
dooferladvoidspace: ack10:05
voidspacedooferlad: dimitern is on holiday now10:22
dooferladvoidspace: ah10:22
mupBug #1560920 opened: State.RestoreInfoSetter code/tests woefully inadequate <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1560920>10:46
babbageclunkvoidspace, thumper - where'd everyone go?10:47
voidspacebabbageclunk: we're there...10:47
voidspacebabbageclunk: you're a square10:48
voidspacebabbageclunk: we're done10:48
babbageclunkvoidspace: ok, won't join back in!10:48
voidspacebabbageclunk: liar10:49
thumperright, off to bed10:54
thumperlater folks10:55
voidspacethumper: g'night and thanks10:55
wallyworldaxw: found restore issue, fixing10:59
jamperrito666: so because of the earlier problems I went ahead and added the push hook to my work area. But it turns out that go-1.6 is slow enough with "vet" && "build" that half the time the push fails because it takes to long to run verify.bash11:00
jamyay11:00
jamso it tends to be more of a "git push" ^C, ./scripts/verify.bash, "git push --no-verify"11:00
axwwallyworld: what was it?12:17
axwnever mind, I see your PR12:17
wallyworldaxw: found another issue - i think i need to set the current model to admin also12:17
wallyworldor else bootstrap eventually fails after ages12:17
wallyworldstill need to diagnose that12:18
axwwallyworld: ok. your changes LGTM, I'll be around for a little longer if you want me to review12:22
axwnot a lot longer tho12:22
wallyworldaxw: np, ty12:22
wallyworldaxw: it gets all the way through bootstrap and eventually times out after starting jujud agent, so hopefully is a small problem12:23
wallyworldaxw: retesting, i think i need to set the original controller uuid into the cfg used t create the environ12:35
axwwallyworld: is NewGetBootstrapConfigFunc not already doing that?12:42
axwwallyworld: when you restore, it's expected that your controller details on disk match what's in the backu12:42
wallyworldlet me check12:42
axwp12:42
axwwallyworld: (one of the limitations I'd like to get away from, by making backups portabe)12:43
axwportable*12:43
wallyworldaxw: i was just looking at the symptoms which were in the log info messages which is that the code to open the admin model after the agent starts simply fails12:43
wallyworldclaiming the model cannot be found12:44
wallyworldwas hoping to avoid detailed debugging, but seems like i lost that bet12:44
axwwallyworld: double check that the ca-cert and private key extracted from metadata are valid?12:53
wallyworldaxw: it finally completed this time after i set current model to "admin", yeah i missed where we were setting the controller uuid12:53
axwwallyworld: huh, ok12:54
wallyworldso it didn't like having current model set to a model with an invalid uuid12:54
axwwallyworld: I see. because you were on the default model I guess?12:54
wallyworldyup12:54
axwand it didn't match what was in the new hosted model12:54
wallyworldbut jeez, it took a long time after the agent started12:54
wallyworldyep12:54
wallyworldcause we generate a new one12:55
wallyworldhence my todo to clean that up12:55
wallyworldi'd like to support multi-model properly12:55
axwwallyworld: yeah, needs an overhaul. we shouldn't need anything on the client except the backup file12:56
wallyworldaxw: sadly CI is part way through a admin-controller-model branch run, so then it will run master etc, so it will be ages before we see another run12:56
wallyworldyep12:56
axwjoy12:57
wallyworldneeds to be rewritten :-(12:57
wallyworldfor 2.1 i guess12:57
wallyworldaxw: nearly http://reports.vapour.ws/releases/380713:01
wallyworldnot sure why the failing joyent tests aren't listed13:02
wallyworldaxw: TestAddUserAndRegister seems to be failing regularly on windows sadly13:03
axwwallyworld: doh. so that and restore are the last things it appears?13:03
voidspacebabbageclunk: back by the way - just making tea for the carpet cleaner man13:03
wallyworldaxw: yeah, i need to check the joyent logs since those tests are shown as failing13:04
voidspacebabbageclunk: and then seeing how bad it is trying to merge master onto drop-maas-1.813:04
wallyworldaxw: that windows test could be this branch, need to check13:04
voidspacebabbageclunk: if dimitern landed the multi-nic support on master it may be very bad...13:04
voidspacebabbageclunk: in which case I'll postpone13:04
babbageclunkvoidspace: Having trouble getting the maas controller set up - can install and configure everything, but then when it reboots post install I just get a weirdly corrupted screen.13:05
wallyworldaxw: ah ha13:06
wallyworldvalidating "credentials" credential for cloud "joyent": unknown key "manta-key-id"13:06
axwwallyworld: doh :)13:06
wallyworldwe need to get the creds updated13:06
axwwallyworld: I've gotta go. I have a bunch of changes to make the error messages for no-current-controller and no-current-model more readable, but need to update tests befroe I can propose13:06
wallyworldaxw: np, ty, see you tomorrow13:07
axwbonne nuit13:07
wallyworldGute Nacht13:07
axwwell that's not a very nice thing to say13:08
* axw actually goes13:08
jamespagejam, anastasiamac: hey - so smoser and I are discussing what the virt attribute should be set to for the multi-hypervisor openstack cloud stuff13:10
jamespage'lxd' and 'kvm' is my preference - what do you think? its inline with virt terms used by juju already...13:11
jamespagebut that is a deviation from anastasiamac changes which are currently lxd and qemu in goose I think...13:11
=== babbageclunk is now known as babbageclunk|afk
anastasiamacjamespage: I have not changed goose13:14
anastasiamacjamespage: in juju we are expecting "lxd" and "qemu"13:14
anastasiamacjamespage: if u'd like different values, it's a simple change but change nonetheless (on our end) \o/13:14
jamespageanastasiamac, yeah I understand that - just trying to see if we can get some consensus on what these values should be13:15
anastasiamacjamespage: note that you can specify anything you like in simple streams13:15
jamespageas we already use virt types in other parts of juju13:15
jamespageanastasiamac, how does juju map to the stream data ?13:15
anastasiamacjamespage: but if u want to filter and use it in constraints, these are the values :D13:15
jamespageanastasiamac, right13:15
anastasiamacjamespage: each provider can have different values13:16
anastasiamacjamespage: for ec2, it's "pv" and "hvm"13:16
anastasiamacjamespage: for azure, "Hyper-V", etc..13:17
jamanastasiamac: http://www.innervoice.in/blogs/2014/03/10/kvm-and-qemu/13:18
jamkvm != qemu AFAICT13:18
anastasiamacjamespage: so, to answer ur q, we don't really "map" so much as "compare" what we see in simpel streams with what we expect on instance type and what was given as a contraint13:18
anastasiamacjam: jamespage: I have only used the values as "lxd" and "qemu" since this is what you gave :D I understood it as a requirement :P13:19
jamjamespage: virtmanager seems to treat them differently, though it looks like its how it runs it, not the actual file format.13:21
jamespageyes that is the case13:21
jamso as anastasiamac we're probably agnostic13:21
jamname it what you want, and ask Juju to run the one that you named it.13:21
jamjamespage: as for LXD, its support for image formats seems to actually want to have a root.tar.gz + some extra metadata13:22
anastasiamacjam: this would b true if we did not validate constraints...13:22
jamanastasiamac: ah, we restrict what you can pass in?13:23
jamhttp://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.sjson13:23
jamyou can see there are 2 files13:23
jamroot.tar.gz and lxd.tar.xz are what the LXD codebase reads13:23
anastasiamacjam: we validate constraints if they are given13:24
jamespagejam: well that's not quite true for lxd in openstack - we just use the root.tar.gz13:24
jamespagejam: the other part of this change is populating stream data in the openstack cloud with appropriate virt attributes13:24
jamjamespage: so *I* don't have any clue what the extra data is, just that if you do "lxc launch ubuntu:trusty" it grabs both files, combines them somehow and validates the LXD hash matches the "combined_sha256"13:25
anastasiamacjam: jamespage: if u populate virt in simple streams with "lxd" and "qemu" now, juju tip is ready for it :D13:25
jamespageanastasiamac, yes I understand that13:26
jamespagesorry - my question is about what this should be, not what we have right now...13:26
jamespagejam, anastasiamac: we do juju deploy --to lxd:0 or --to kvm:013:26
jamjamespage: kvm does feel like it is going to match up better with what other people are going to be using.13:26
jamespageshould this be consistent with that....13:26
jamjamespage: correct "kvm:0" and "lxd:0"13:26
jamespageyup13:26
jamjamespage: but that is for containers inside the machine13:27
jamespageso this is a 'what is the juju experience question...'13:27
jamif Openstack has multiple hypervisors13:27
jamI have no idea what the exact syntax is13:27
jamespagejuju deploy mysql --constraints="virt-type=lxd"13:27
jamespagejuju deploy mysql --constraints="virt-type=kvm"13:27
jamespageI think13:27
rick_h_jam: jamespage anastasiamac I think it should be kvm please13:27
jamjuju deploy --constraints virt=kvm13:27
jamjamespage: I wonder if it is confusing to have both syntaxes13:27
rick_h_jam: jamespage anastasiamac we're talking and folks are asking for kvm and trying to map qemu isn't a win for clarity/etc.13:27
jamespagerick_h_, that was my take...13:28
jamespagebut wanted to chat :-)13:28
jamjamespage: :). I would tend to agree, but I would actually focus on what people think of in Openstack terms vs Juju terms.13:28
jamespageI think that they think kvm or lxd13:28
jamespagenot lxc or qemu13:28
rick_h_jam: exacly, all our RFI and such ask for KVM support13:29
jamespageLXD vs KVM after-all13:29
jamespage;-)13:29
jamvirt-type=cgroup-machine-containers ?13:29
rick_h_jam: and our whole discussion is kvm, lxd, and hyper-v13:29
jamespageohh now that is a good question....13:29
rick_h_lol13:29
jamespageanastasiamac, jam: the test cloud is currently populated with 'lxd' and 'kvm' for virt attributes13:30
natefinchrogpeppe, ericsnow: https://github.com/juju/charmrepo/pull/80 - changed GetResource to return bytes + full metadata, using multipart body.13:30
jamespageif we're agreed that's all good then I'll ask smoser to land my simplestreams changes...13:31
anastasiamacjamespage: "lxd" and "kvm" are reasonably awesome. I'll change values on juju side  \o/13:32
rick_h_ty anastasiamac13:32
jamespageanastasiamac, +1 great13:32
voidspacebabbageclunk: wasn't multi-nic support that had landed, just a trivial conflict13:32
rogpeppenatefinch: do you really think the multipart thing is less ugly than using headers?13:32
babbageclunkvoidspace: oh, nice.13:32
anastasiamacjamespage: can I keep access to my wonderful cloud for a while longer - like a week more :D?13:33
jamespageanastasiamac, sure13:33
voidspacebabbageclunk: I've pushed and run tests, about to create PR13:33
anastasiamacjamespage: tyvm!13:33
rogpeppenatefinch: you do know that encoding/json always reads all the bytes of the object into its buffer before parsing, right?13:34
babbageclunkvoidspace: I recreated my controller, but I still get weird graphical corruption after reboot13:35
babbageclunkvoidspace: sent you a screenshot13:36
voidspacebabbageclunk: not got the screenshot, but...13:37
natefinchrogpeppe: gah, no, I didn't realize it just reads the whole thing..13:37
voidspacebabbageclunk: I sometimes get that and a "force reset" cures it13:37
voidspacebabbageclunk: however, I usually don't bother - because I boot without opening the display and then ssh in13:37
natefinchrogpeppe: I hoped it was smarter than that... though it may be a technical limitation, I guess13:37
natefinchrogpeppe: and yes, I think the multipart thing is way less ugly13:38
voidspacebabbageclunk: yeah, that looks like what I sometimes get - see if a "force reset" helps13:38
voidspacebabbageclunk: alternatively wait until CPU activity settles down and try ssh'ing in anyway13:38
rogpeppenatefinch: well, we're gonna read everything into memory anyway, right?13:38
rogpeppenatefinch: so we're O(n) space anyway13:38
natefinchrogpeppe: I figured if we accidentally try to deserialize a 100 meg zip file, it would bail early and not load 100 megs into RAM13:39
rogpeppenatefinch: tbh I like endpoints that I can easily use with command-line tools, and multipart responses are awkward13:39
rogpeppenatefinch: hopefully we're talking to the server we expect to be talking to13:39
rogpeppenatefinch: we could accidentally try to deserialize a 100 meg JSON object...13:40
natefinchrogpeppe: it may be more difficult to use some CLI tools with the endpoint, but it makes the code - which is what we maintain, way way simpler, and think that's well worth it.13:40
rogpeppenatefinch: +79 -5113:41
rogpeppenatefinch: really simpler?13:41
natefinchrogpeppe: I didn't add headers for all the other fields we were going to have to support to support the full resource13:41
rogpeppenatefinch: wouldn't it be better just to have another endpoint to return resource metadata?13:42
rogpeppenatefinch: which would be consistent with the way we treat charm archives, for example13:43
natefinchrogpeppe: I was just saving us a round trip13:43
rogpeppenatefinch: i don't think it's worth it13:43
rogpeppenatefinch: send 'em both concurrently if you care13:43
babbageclunkvoidspace: gah, why does my irc connection keep dropping?13:44
natefinchrogpeppe: I'm still unclear on why you think this is worse.  Just because of the multipart stuff?13:44
rick_h_natefinch: is there an api call to just get the binary and one to just get the metadata?13:44
rick_h_natefinch: e.g. how can the gui load the metadata and then offer a download link for just the bytes to the browser through the api?13:45
rogpeppenatefinch: mostly API consistency. it's something we don't do currently, and i'm not sure there's enough reason to set a precedent here.13:45
rogpeppenatefinch: and yes, the multipart stuff seems ugly to me.13:45
natefinchrick_h_: that's a good point. Certainly having an enpoint for just the metadata seems like it would generally be useful13:45
rick_h_natefinch: yes, clients will want to get at that without the bytes please13:46
voidspacebabbageclunk: no idea - did you get my messages?13:46
voidspacebabbageclunk: can you ssh in despite the corruption?13:47
natefinchrick_h_: we have an endpoint that returns all the metadata for all resources for a charm... that's likely what the GUI would use, btw.  But we can add an endpoint for a one-by-one call, too13:47
babbageclunkvoidspace: I got some messages...13:47
babbageclunkvoidspace: yup, I can ssh in13:47
rogpeppenatefinch: BTW I think it might be unnecessary to provide a way to get the resource without specifying a revision.13:47
rick_h_natefinch: yes, should be filterable at least as we attempt to do things like allow upload/current data, etc. on specific resources13:48
voidspacebabbageclunk: you don't need the display anyway13:48
rick_h_natefinch: at some point in time we'll want to show the charmstore history of a resource13:48
natefinchrogpeppe: yes, I assumed we'd always be requesting metadata for a specific revision of a resouce13:48
babbageclunkvoidspace: Sweet, not blocked on that anymore.13:48
rogpeppenatefinch: the client code doesn't seem to assume that13:48
rogpeppenatefinch: (lines 279, 293 in the old file)13:49
voidspacebabbageclunk: if you've installed maas you should be able to get to it via the web ui13:49
natefinchrogpeppe: oh, good point.. that's actually old code that should have been removed.  At one point I had toyed with allowing -1 for a revision, but we decided it wasn't really necessary13:50
voidspacebabbageclunk: probably at http://172.16.0.2/MAAS13:50
natefinchrogpeppe: (there was more surrounding code to support it, I just forgot to remove that part evidently)13:50
rogpeppenatefinch: that also removes the need for the revision header too13:50
anastasiamacmattyw: ping13:50
mattywanastasiamac, hey there, have a review for me?13:50
natefinchrogpeppe: yep13:50
rogpeppenatefinch: probably good to leave the hash header in there so match what archives do13:50
anastasiamacmattyw: read my mind \o/ trivial plz - https://github.com/juju/juju/pull/487513:51
anastasiamacmattyw: oops, here is rb link http://reviews.vapour.ws/r/4324/13:51
natefinchrogpeppe: also useful to be able to double check that you got the right data13:51
rogpeppenatefinch: exactly.13:51
mattywanastasiamac, I normally ignore people that don't send rb links, but I'll make an exception ;)13:52
rogpeppenatefinch: and a header seems like a good fit for that13:52
natefinchrogpeppe: definitely13:52
anastasiamacmattyw: I sent both just to be special :D13:52
mattywanastasiamac, if you're sure that's the fix then LGTM13:53
natefinchrogpeppe: so I'm going to rename GetResource to DownloadResource, to make it more obvious, and make a new GetResource that returns metadata13:53
rogpeppenatefinch: I think GetResource is still right13:54
rogpeppenatefinch: it's consistent with GetArchive13:54
anastasiamacmattyw: tyvm \o/13:54
rogpeppenatefinch: the resource info will probably be a meta endpoint, right?13:55
natefinchrogpeppe: yes13:55
natefinchrogpeppe: that doesn't help me name the function in the client wrapper though :)13:55
rogpeppenatefinch: and hence amenable to Meta13:55
natefinchrogpeppe: GetResourceMeta?13:56
rogpeppenatefinch: no, I don't think you need a new API entry point13:56
rogpeppenatefinch: the existing Meta method should be up to the job13:56
rogpeppenatefinch: well... maybe13:56
rogpeppenatefinch: probably not actually13:57
* rogpeppe tries to think of a decent interface that allows bulk getting of heterogenous meta endpoints with dynamically specified paths13:58
rogpeppenatefinch: failing that, ResourceInfo would work OK as a name14:00
natefinchrogpeppe: ResourceMeta perhaps14:01
natefinchrogpeppe: to run against id/meta/resource14:01
rogpeppenatefinch: yeah, maybe14:02
rogpeppenatefinch: or just don't make an entry point yet14:03
rogpeppenatefinch: and use Get directly14:03
rogpeppenatefinch: then you can tailor your call to how you actually end up using it14:03
katcorogpeppe: i'm afraid i've kidnapped him into a meeting :)14:04
rogpeppenatefinch: because then you have freedom to get as much metadata on as many charms as you like in one request, including arbitrary resources14:04
rogpeppekatco: how could you?! :)14:04
katcorogpeppe: hehe ;p14:05
babbageclunkvoidspace: ok, I've created an admin and connected to the web gui14:06
babbageclunkvoidspace: the doc says to run maas-import-pxe-files, but that doesn't exist. Are they already downloaded?14:07
dooferladbabbageclunk: hey, did you get anywhere with a KVM MAAS? https://github.com/dooferlad/kvm_maas is a helper script that me and jam put together with a link to some instructions to get going14:08
dooferladbabbageclunk: they are imported by MAAS via the GUI14:08
voidspacebabbageclunk: they aren't, but you can start importing boot images from the web ui14:09
voidspacebabbageclunk: there should be a tab in the UI for images14:09
dooferladbabbageclunk: http://maas.ubuntu.com/docs/install.html#post-install-tasks14:09
babbageclunkdooferlad: Ooh, that looks useful - just setting up the controller at the moment, then I'll have a go with this.14:10
voidspacebabbageclunk: great, my controller hard disk is corrupted14:10
ericsnownatefinch, rogpeppe: +1 on ResourceInfo (and leave GetResource as-is)14:11
rogpeppeericsnow: i'm suggesting not doing ResourceInfo for now14:11
rogpeppeericsnow: leave it like most of the other endpoints14:12
ericsnowrogpeppe: a meta endpoint for a specific resource revision isn't an option, no?14:12
babbageclunkvoidspace: doh.14:12
rogpeppeericsnow: if we end up with lots of places getting resource info, then let's do it then14:12
rogpeppeericsnow: as then we'll know what the common pattern is14:12
babbageclunkvoidspace, dooferlad - ok, thanks - was trying to follow the old (but KVM-specific) doc rather than the newer one14:13
rogpeppeericsnow: i'm sorry that'll mean you need to write less code :)14:13
jamcherylj: tych0: two new reviews for LXD related patches http://reviews.vapour.ws/r/4318/ and http://reviews.vapour.ws/r/4323/ and if cherylj you could let me know if it is ok to land on Master14:14
ericsnowrogpeppe: lol14:14
jamthey are primarily testing fixes for now.14:14
cheryljjam: I'd really like to hold off until after we ship beta314:14
ericsnowrogpeppe: TBH, we'll still write a ResourceInfo method either way--either on the client or on a wrapper around the client14:15
jamcherylj: so should I create a feature branch for LXD stuff? I'd like to build off my work, though I guess if we get beta3 out Friday it won't be sitting particularly long14:15
rogpeppeericsnow: the thing to avoid is doing that and then looping through lots of resources calling that method14:15
cheryljjam: we're trying to get things out tomorrow14:15
tych0jam: both look fine to me14:16
cheryljjam: you can create a fb if you'd like.  It won't get a CI run until after beta314:16
ericsnowrogpeppe: we only need it for downloading, which isn't something we'll do for many-at-once14:16
ericsnowrogpeppe: you're saying we should support a bulk call for getting resource info at a specific revision?14:18
rogpeppeericsnow: tbh, if you're just doing it in one place, why not just do it in that one place?14:18
ericsnowrogpeppe: makes sense14:18
rogpeppeericsnow: well, there are many possibilities14:18
rogpeppeericsnow: and i *think* at the moment my inclination is to make the user of csclient decide how best to do it14:18
ericsnowrogpeppe: regardless, there isn't a point to doing the multi-part GetResource stuff :)14:19
rogpeppeericsnow: indeed14:19
ericsnowrogpeppe: so you're suggestion is that users use the Get endpoint to do bulk calls that accomplish the same thing as a hypothetical ResourceInfo endpoint?14:20
rogpeppeericsnow: yes, until it seems that there's a pattern that can be factored out14:22
ericsnowrogpeppe: I'll have to take another look at it but I didn't see how the Get endpoint could accommodate resources at specific revisions14:23
rogpeppeericsnow: one mo14:23
ericsnowrogpeppe: np14:23
babbageclunkdooferlad: Do I need to install a rack controller on my maas controller?14:26
dooferladbabbageclunk: I haven't looked at MAAS 2 really. voidspace should be able to answer that one.14:27
babbageclunkdooferlad: ahh - am I getting confused between docs for 2.0 and 1.x?14:27
voidspacebabbageclunk: yes14:28
voidspacebabbageclunk: for 2.0 you do14:28
voidspacebabbageclunk: and probably you are confused, yes14:28
ericsnowbabbageclunk: welcome, BTW :)14:28
ericsnowbabbageclunk: I'm hoping things have gone smoothly for you :)14:28
babbageclunkvoidspace: ok, and for 1.x how do I set up DHCP?14:28
voidspacebabbageclunk: let me look at the docs - my MAAS is down at the moment14:28
babbageclunkericsnow: Hi! Yes, so far. Although I'm geting confused by MAAS stuff at the moment14:29
voidspacebabbageclunk: you have to tell MAAS to manage DHCP, but I can't recall how to do that for MAAS 1.914:29
voidspaceI can remember for 2.014:29
voidspacebabbageclunk: if you get MAAS installed and setup in one day you're doing better than most of us managed the first time14:29
voidspacealthough to be fair it has improved since I did it the first time14:29
ericsnowbabbageclunk: be careful; if you figure it out then you're responsible for explaining it to people <wink>14:30
voidspacebabbageclunk: http://maas.ubuntu.com/docs1.9/cluster-configuration.html14:30
voidspacebabbageclunk: so, under the "clusters" tab you should see the interface with the subnet14:30
voidspacebabbageclunk: you need to edit that14:30
rogpeppeericsnow: something like this could work, though I'm not sure of the exact proposed endpoints: http://paste.ubuntu.com/15479784/14:31
voidspacebabbageclunk: and put in "appropriate values" for everything - including changing it from unmanaged to having maas manage dhcp14:31
voidspacebabbageclunk: for the dynamic range do something like 172.16.10 -> 172.16.12814:31
voidspacebabbageclunk: and then for static range 172.16.0.129 -> 172.16.0.25514:32
rogpeppeericsnow: then the Meta map would have an entry for each requested resource14:32
mupBug #1560624 changed: cmd supercommand.go:448 failed to bootstrap model: no matching tools available <cdo-qa> <juju-release-support> <juju-core:Triaged> <https://launchpad.net/bugs/1560624>14:32
voidspace(172.16.0.10 -> 172.16.0.128 but I'm sure you got that)14:32
ericsnowrogpeppe: ah, meta endpoints can use a path (in the includes)14:32
voidspacebabbageclunk: you still here?14:32
rogpeppeericsnow: yeah, the idea is that you can ask for info on a particular meta endpoint with $id/meta/resource/$name-$rev14:33
rogpeppeericsnow: it's the same deal as it is now with the extra-info endpoint14:34
babbageclunkvoidspace: sorry, was reading docs - none of this matches what I see in the gui14:34
voidspacebabbageclunk: what do you have in the GUI?14:34
voidspacebabbageclunk: what version are you running?14:34
voidspacebabbageclunk: are you setting up 1.9 or 2.0 - I just gave you the instructions for 1.914:35
ericsnowrogpeppe: that's specific to a single charm URL though, right?  how would a single call for multiple charms, each with different resources, work?14:35
babbageclunkvoidspace: on the clusters tab, I see 1 cluster called "Cluster master"14:35
rogpeppeericsnow: one mo14:35
babbageclunkvoidspace: 1.8.314:35
babbageclunkvoidspace: :(14:35
voidspacebabbageclunk: nice :-)14:35
rogpeppeericsnow: ah, you can't do that14:35
rogpeppeericsnow: well, you kinda could14:35
voidspacebabbageclunk: you probably need to add a ppa and update maas to 1.914:36
ericsnowrogpeppe: not that *we* need that (right now)14:36
voidspacebabbageclunk: it should be a clean upgrade though14:36
babbageclunkvoidspace: but even after changing the url to have 1.8, the docs don't match14:36
voidspacebabbageclunk: what OS did you go for?14:36
babbageclunkvoidspace: 15.1014:36
voidspacebabbageclunk: can you click on the cluster master?14:36
babbageclunkvoidspace: Ah, ok - should I edit the interface in there?14:37
voidspacebabbageclunk: yes, I missed that step out - sorry14:37
voidspacebabbageclunk: I think the ppa you want is ~maas/stable14:37
rogpeppeericsnow: if the meta endpoint doesn't exist, it's just omitted from the result. so a request like /meta/any?id=$id1&id=$id2&include=resource/$r1&include=resource/$r2 where the resources are the union of all the required resources would work14:37
voidspacebabbageclunk: sudo add-apt-repository ppa:~maas/stable14:37
rogpeppeericsnow: you'd potentially get some extra data in the results though14:37
voidspacebabbageclunk: then apt-get update/upgrade dance should work14:37
ericsnowrogpeppe: well, the "resource" meta endpoint could support identifying the charm in the meta path14:37
rogpeppeericsnow: no14:38
ericsnowrogpeppe: :)14:38
rogpeppeericsnow: well, not if it's like all the other meta endpointa14:38
rogpeppes14:38
ericsnowrogpeppe: k14:38
ericsnowrogpeppe: we can cross that bridge later if it comes up :)14:38
rogpeppeericsnow: 'cos a meta endpoint is directly associated with an entity14:38
rogpeppeericsnow: in the end, just make several concurrent requests...14:38
ericsnowrogpeppe: sounds good14:39
ericsnowrogpeppe: thanks for all the help14:39
rogpeppeericsnow: we *should* support HTTP2 in the near future so that becomes not a great deal worse than making a single request14:39
rogpeppeericsnow: np14:39
babbageclunkvoidspace: ok - upgrading to 1.9 now14:41
voidspacebabbageclunk: cool, are you writing this up by the way?14:42
babbageclunkvoidspace: yup, keeping notes14:42
voidspacebabbageclunk: great, thanks14:43
rogpeppeericsnow: i'm thinking of adding a more general metadata request API to csclient; something like this perhaps: http://paste.ubuntu.com/15479991/14:54
ericsnowrogpeppe: I like how that encapsulates the functionality clearly14:55
babbageclunkvoidspace: ok, on 1.9 now, that should reduce confusion!14:55
voidspacebabbageclunk: cool14:56
voidspacebabbageclunk: I'm going to reboot and fsck in the hope of recovering my maas 2.0 install14:56
voidspacebabbageclunk: hmmm... maybe I have an alternative 2.0 install14:57
voidspacebabbageclunk: I still need to fsck, but maybe not immediately14:57
voidspacebabbageclunk: I have two versions of MAAS 2.0 - one from their next-proposed ppa and one from an experimental ppa14:57
voidspaceit's my next-proposed one that is hosed, looks like experimental is still running14:58
voidspaceat least with that I can make API calls14:58
voidspacewhich I need for the design doc I'm writing14:58
rogpeppeericsnow: then your bulk resource request could look like this: http://paste.ubuntu.com/15480026/14:59
ericsnowrogpeppe: nice15:00
voidspacenope, dammit - that's hosed and can't even apt update15:01
rogpeppeericsnow: going to lunch now15:01
voidspacenor see any boot images or boot sources15:01
voidspacefsck15:01
ericsnowrogpeppe: good luck <wink>15:01
mupBug #1561023 opened: charmstore v5.WillIncludeMetadata gccgo build failure <ci> <juju-core:Triaged> <https://launchpad.net/bugs/1561023>15:02
babbageclunkvoidspace: stink15:03
=== JoseeAntonioR is now known as jose
voidspaceand after a reboot I can update15:05
voidspacefair enough15:05
voidspacebabbageclunk: once you have MAAS running you need to enlist and commission a couple of nodes15:06
voidspacebabbageclunk: you don't need to install an OS on them as commissioning does that anyway15:06
voidspacehah, except after a reboot maas doesn't seem to be running15:06
voidspacewill upgrade and re-reboot15:06
babbageclunkvoidspace: do I need to set up DHCP/DNS management?15:07
voidspacebabbageclunk: I will have to go get my daughter from school soon15:07
voidspacebabbageclunk: yes15:07
voidspacebabbageclunk: that's needed for the nodes to pxe boot15:07
mgzrogpeppe, cherylj: review please, https://github.com/juju/charmstore/pull/58215:07
voidspacebabbageclunk: do that via the cluster controller15:07
babbageclunkCool15:09
cheryljmgz: out of curiosity, were you able to verify that it fixes the issue on one of the ppc slaves?15:09
mgzcherylj: yeah, it compiles with that change15:09
cheryljmgz: sweet15:09
marcoceppikatco: natefinch I tried resources! I got errors15:13
natefinchmarcoceppi: doh15:13
katcomarcoceppi: :( otp but what happened? ericsnow ^^^15:13
marcoceppikatco natefinch false alarm!15:13
natefinchmarcoceppi: not an error, a feature? ;)15:14
marcoceppioh man15:14
marcoceppiit worked15:15
marcoceppibut I goofd15:15
marcoceppistupid github15:15
marcoceppihehehe this is so awesome15:16
natefinchmarcoceppi: awesome! :)15:17
katcomarcoceppi: :D15:17
voidspacebrb15:22
natefinchmarcoceppi: https://www.youtube.com/watch?v=9cQgQIMlwWw&t=615:23
marcoceppidis mai jam15:23
babbageclunkvoidspace: Hmm, my new node doesn't want to PXE boot.15:26
mgzcherylj: https://github.com/juju/juju/pull/487815:32
babbageclunkvoidspace: It gets a sensible-looking ip address and shows some messages including "Booting under MAAS direction"...15:34
babbageclunkvoidspace: but then there's a message saying: Loading ubuntu/amd64/generic/trusty/no-such-image/boot-kernel... failed: No such file or directory15:35
marcoceppinatefinch katco it's a bit unwieldy, but works pretty sweet: juju deploy ../../build/charm-svg --series trusty --resource webapp=$HOME/Projects/svg.juju.solutions.tar.gz --resource python-jujusvg=$HOME/.go/bin/python-jujusvg15:36
babbageclunkvoidspace: which is weird, because the image I downloaded on the cluster was 15.10 (wily) rather than trusty15:37
natefinchmarcoceppi: nice.15:39
babbageclunkvoidspace: trying with a trusty image downloaded as well15:39
voidspacebabbageclunk: you need trusty downloaded for enlisting I think15:41
babbageclunkvoidspace: that would do it15:41
voidspacebabbageclunk: I have maas 2.0 with an enlisted node15:42
voidspaceso I can query the machines api (via the command line interface) and see the result15:42
voidspacewhich gets me unblocked for the moment15:42
babbageclunkvoidspace: yay, enlisted!15:49
voidspacebabbageclunk: cool, next commission15:51
voidspacebabbageclunk: and then you have a successful install15:51
voidspacebabbageclunk: normally for juju you'll need two machines - one to bootstrap the juju controller to and then one to deploy something to15:52
voidspacebabbageclunk: but for this work one machine will be enough as it will be a while before we even get a successful bootstrap15:52
voidspacebabbageclunk: you could setup the power type on the enslisted node so that maas can power it on & off15:54
voidspacebabbageclunk: but I usually just manually power them on / off15:54
redirmorning15:56
babbageclunkvoidspace: what should the poe15:57
babbageclunkvoidspace: duh power type be15:58
voidspacebabbageclunk: virsh15:58
voidspacebabbageclunk: followed by a connect string and password15:58
voidspacebabbageclunk: which I can never *remember* how to construct (the connect string)15:58
voidspaceso I usually don't bother15:58
voidspacenot hard though15:58
rogpeppemgz: have you raised a gccgo issue about the problem fixed by https://github.com/juju/charmstore/pull/582 >16:01
rogpeppe?16:01
babbageclunkvoidspace: Unfortunately I didn't set the power type before commissioning it. Now the node is off, but VMM can't talk to it16:01
voidspacebabbageclunk: that's fine if you bootstrap to it you can just manually power it on16:03
voidspacebabbageclunk: you should be able to add the power details with it switched off though16:03
babbageclunkvoidspace: bah, scrapped that node and tried again16:05
mgzrogpeppe: I was going to try and catch mwhudson about it16:06
mgzthis should not be a problem for much longer :hope:16:07
rogpeppemgz: if you can make a tiny test case, just report it on golang.org/issue16:07
babbageclunkvoidspace: yeah, it was just because way it turned off after enlisting left <something, either VMM or libvirt> confused about its state - meant that it thought it was on, so I couldn't start it, but it was actually off, so trying to stop it failed.16:09
babbageclunkvoidspace: there's probably a proper way to get them back in sync16:09
voidspacecool16:12
babbageclunkvoidspace: no, I'm still stuck. What do I need to do to get the node to move from Commissioning to Ready?16:17
babbageclunkvoidspace: Is it the power?16:17
babbageclunkvoidspace: If I just power up the node it just says No bootable device16:18
voidspacebabbageclunk: ah, that's a maas bug :-/16:20
voidspacebabbageclunk: it's not commissioned then16:21
voidspacebabbageclunk: there is a workaround, let me find it16:21
voidspacebabbageclunk: they're supposed to have fixed that last week16:21
babbageclunkvoidspace: :(16:21
babbageclunkvoidspace: in 1.9?16:21
voidspaceoh16:21
voidspaceno that's in 2.016:21
voidspaceit's commissioning but says no bootable device?16:21
voidspacethat's weird, it should pxe boot16:21
babbageclunkvoidspace: that's right16:21
voidspacebabbageclunk: let me boot 1.9 and see what I get16:22
babbageclunkvoidspace: aha - the nic is turned off in the boot options.16:22
voidspacethat would do it16:23
babbageclunkvoidspace: sweet, that seems to be doing it now16:23
voidspacecool16:23
voidspacebabbageclunk: worth adding a note to your doc16:24
voidspacebabbageclunk: bbiab16:28
babbageclunkvoidspace: ok, I'mma try dooferlad's script for adding nodes now.16:30
mupBug #1561088 opened: EnsurePasswordSuite.SetUpTest on windows <blocker> <ci> <test-failure> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1561088>16:41
bogdanteleagamgz: http://reviews.vapour.ws/r/4328/16:56
mgzbogdanteleaga: ta17:05
mgzrogpeppe: I filed https://github.com/golang/go/issues/1493117:06
mgzcherylj: ^see bogdan's change17:07
mgzbogdanteleaga: you can $$fixes-1561088$$ land that17:09
bogdanteleagamgz, done17:10
mgzwe'll get a blessed master yet.17:14
bogdanteleagamgz, haha17:17
mgzbogdanteleaga: I got it, didn;t have the bug high enough prio17:17
babbageclunkdooferlad: to run your kmaas script, what should the value of maas_name be?17:20
cheryljbogdanteleaga: thank you very much for picking up that bug!18:21
=== redir is now known as redir-lunch
bogdanteleagacherylj, np I almost didn't see the 2nd test suite in the same file19:05
=== freyes_ is now known as freyes
=== bogdanteleaga_ is now known as bogdanteleaga
=== kadams54_ is now known as kadams54
=== mup_ is now known as mup
tych0ahoy mates19:35
tych0what's the status of 2.0 final? i think we have one more non-trivial LXD change coming down the pipe19:35
tych0just want to be sure to get it in before 2.0 final is tagged19:36
=== redir-lunch is now known as redir
rick_h_tych0: so beta3 is getting put together, final is still a little bit out20:01
rick_h_tych0: what kind of change?20:01
tych0rick_h_: s/lxcbr0/lxdbr0, basically20:01
tych0the actual code change for juju should be pretty minor20:02
tych0but the UX will suffer20:02
tych0at least for the lxd provider20:02
rick_h_tych0: k, when would that go out? I'd just want to keep it in sync that the 'released' beta of both work together for folks beta testing right now20:02
tych0rick_h_: well, we're not going to do it until there is a patch for juju20:02
tych0i haven't had time to write the patch yet20:02
rick_h_tych0: ok, can you email jam and andrew and have them in sync please?20:03
tych0andrew?20:03
rick_h_foo.../me goes to look20:03
rick_h_tych0: froboware20:04
tych0sure20:04
tych0will do20:04
rick_h_ty20:04
* mwhudson waves at mgz20:06
mgzmwhudson: wotcha. I filed an upstream bug, apparently it's fixed in gcc 5 and my google fu just sucks20:06
mgzwas easy enough to work around anyway (bug 1561023)20:07
mupBug #1561023: charmstore v5.WillIncludeMetadata gccgo build failure <ci> <gccgo> <ppc64el> <juju-core:Fix Committed by gz> <https://launchpad.net/bugs/1561023>20:07
redircherylj: ping20:58
cheryljredir: hey there20:58
redirHi, is now a good time/20:58
redir^^ if not, ping me when it is cherylj21:00
cheryljsure, I have a few minutes21:01
redirtx21:22
mupBug #1561212 opened: register logic can lead to user lockout <docteam> <juju-core:New> <https://launchpad.net/bugs/1561212>21:30
thumperwallyworld: you around?21:50
wallyworldthumper: yeah, in release standup21:52
thumperwallyworld: chat when you're done?21:52
wallyworldsure21:52
thumperrick_h_: you around?22:00
wallyworldthumper: 1:1?22:03
thumperyeah22:04
voidspacethumper: hey, hi22:26
voidspacethumper: do you need me to send you an email as well?22:26
thumpervoidspace: nah, got the docs22:26
thumperwill attempt to get vmaas setup22:26
thumperand poke some ideas around gomaasapi22:26
thumpervoidspace: do you have anything in a gomaasapi branch yet?22:27
voidspacethumper: not yet I'm afraid22:28
thumpervoidspace: that's fine, I'll start one22:28
voidspacethumper: by the end of the day I was trying to sketch out interface design and went through looking at the endpoints we actually useed22:28
voidspacethumper: less than I thought22:28
voidspacethumper: a proper interface design would need to look at the parameters and the data we used from the returned values22:28
voidspacethumper: but really that would need knowing the 2.0 endpoints we need to use instead and the structure of the data it returns22:29
voidspacethumper: and of course that's not documented so it's a lot of work22:29
voidspacethumper: if you get vmaas setup (did you see Christian's doc?) and start on the gomaasapi infrastructure22:29
voidspacethumper: I can pick that up in the morning22:29
voidspacethumper: and we can fill gomaaasapi out as we start using it22:29
thumperyep22:30
thumperwe'll see how far I get today22:30
voidspacethumper: the open question is to whether convert to the new API layer for devices/subnets/spaces22:30
voidspacethumper: yep, cool - thanks22:30
voidspacethumper: right, I won't send this email then - I'm signing off22:32
voidspaceg'night and good luck :-)22:32
thumpervoidspace: ack22:32
voidspaceI burned too much time on one of my maas 2.0 vms which is borked22:33
voidspacefortunately I had a spare and that was only partly borked :-/22:33
thumperhmm...22:34
thumperhow do you bork a vm?22:35
* thumper wonders22:35
mgzeasiest review evar for https://github.com/juju/juju/pull/4882 plz23:06
anastasiamacmgz: LGTM :D23:10
mgzanastasiamac: thanks!23:11
anastasiamacmgz: and u too for the fix \o/23:11
mgzhe who didn't notice in review can fix it :D23:11
anastasiamacmgz: yep, it's in juju commandments \o/23:13
=== ses is now known as Guest14056

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