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

mupBug #1552021 opened: lxd not enough arguments in call to manager.CreateContainer <centos> <ci> <lxd> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core machine-provisioning-status:Triaged> <https://launchpad.net/bugs/1552021>00:58
perrito666Sso login is really painful on a cell phone01:26
davecheneythumper: menn0, a small driveby https://github.com/juju/juju/pull/459101:51
menn0davecheney: will look in a sec once I've finished the other review I'm doing02:09
menn0davecheney: ship it02:20
cheryljCan I get a super quick review?  http://reviews.vapour.ws/r/4032/02:39
menn0cherylj: looking02:40
menn0cherylj: ship it02:41
cheryljthanks, menn0!02:41
thumperI desperately want someone to write a new test provider02:47
thumperto replace dummy02:47
thumperone that doesn't try to be too special02:47
thumperjust an in memory db of machines etc...02:47
wallyworldthumper: friday afternoon job :-)02:47
thumperha02:48
wallyworldmenn0: not sure if you have time, this pr changes create-model. you may have backgroud jes knowledge that may be useful http://reviews.vapour.ws/r/403302:48
wallyworldit works live on ec202:48
thumperI want a base suite that has a db, with an environment, but no apiserver etc...02:49
thumperis there one such base suite?02:49
menn0thumper: state/testing.StateSuite02:49
thumpermenn0: cheers02:49
thumpermenn0: heh, that doesn't actually give me a valid provider...02:52
thumperhmm...02:52
menn0wallyworld: looking now (I'm OCR anyway)02:59
wallyworldthats's why i picked on you :-)02:59
menn0wallyworld: I thought it was because of my JES super powers :)03:00
wallyworldthat too - i was sucking up03:00
menn0wallyworld: "--credential" refers to an entry in credentials.yaml?03:02
wallyworldyep03:02
wallyworldsame as for bootdttrap03:03
wallyworldsame arg name03:03
menn0nice03:03
menn0and bootstrap too :-p03:03
wallyworldnice because as admins testing stuff on aws, we don't need to supply credentials at all anymore for create-model03:03
wallyworldqa folks were very happy03:04
=== natefinch-voting is now known as natefinch
menn0wallyworld: no major issues, just minor stuff03:42
=== bruno is now known as Guest56910
wallyworldmenn0: you rock, tyvm03:42
wallyworldmenn0: i did improve the credential handling to account for different types of credentials being passed in. if the user has specified any valid set of credential values for a given auth type, they will be used in preference to the controller ones04:28
wallyworldwe won't copy across controller values to result in different values all smooshed together04:29
menn0wallyworld: awesome that sounds great.04:31
wallyworldyeah, thanks for raising it04:31
menn0wallyworld: could you take a quick look at this one: http://reviews.vapour.ws/r/4035/05:01
menn0wallyworld: it's a mechanical only change05:02
wallyworldsure05:03
wallyworldmenn0: much nicer05:05
menn0wallyworld: thanks05:10
davecheneymenn0: here's a small one for you https://github.com/juju/juju/pull/459605:31
wallyworlddavecheney: +105:51
wallyworldanastasiamac: if you get a chance, i'd love a review of http://reviews.vapour.ws/r/4037/ which adds detail to list-controller, plus a driveby fix of old env names05:52
anastasiamacwallyworld: sure05:52
anastasiamaclooking \o/05:52
wallyworldty :-)05:52
wallyworldbbiab, school pickup05:52
anastasiamacwallyworld: have fun :D05:52
=== Guest56910 is now known as BrunoR
voidspacedimitern: ping09:26
dimiternvoidspace, pong09:27
voidspacedimitern: I'm moving ConvertSpaceNames out of the discoverspaces worker so that the provider can use it for constraints09:27
voidspacedimitern: is it ok for it to live in apiserver/networkingcommon and for the maas provider to depend on the apiserver09:28
voidspacedimitern: ?09:28
voidspacedimitern: I can't see why not but I thought I'd check09:28
dimiternvoidspace, I'd prefer to put it in network/09:28
voidspacedimitern: d'oh09:29
voidspacedimitern: yeah, that's better09:29
voidspacethanks09:29
dimiternvoidspace, to minimize the import loop / possible such issues09:29
frobwaredimitern, voidspace, dooferlad: please could we meet at 10past the hour for standup.09:57
frobwarejam: ^^09:57
dooferladfrobware: +109:58
dimiternsgtm10:01
voidspacesure :-)10:03
dimiternvoidspace, jam, standup?10:12
voidspacedimitern: oops, sorry10:25
dimiterndooferlad, frobware, I look how CI just proved me wrong - we have a #3689 curse on maas-spaces210:34
dimiterns/I/now/10:34
jamWho do we ping for APT details?10:54
jamI'm trying to understand why "apt-get install lxc/trusty-backports" can find "liblxc1/trusty-backports" but "apt-get install lxd/trusty-backports" can't find "lxc/trusty-backports"10:55
frobwarevoidspace, dimitern: meeting11:02
dimiterncoming11:03
voidspacefrobware: dimitern: omw, sorry *again*11:07
MmikeHi, lads. When jujud (one that's running on the state servers) connects to mongodb replicaset (assuming i'm running juju-ha), is it always connecting to PRIMARY mongodb only, or sometimes reads can go from the SECONDARYes too? That is, what is the readPreference that juju uses when reading from mongo?11:41
MmikeIf I'm reading the code correctly it seems it's using .SetMode(mgo.Monotonic), which means sometimes reads can go from the SECONDARYes, but I'd like a confirmation, if possible :)11:44
jammgz: if you're around, what machine would be running "run-unit-tests-xenial-ppc64el" because it has a test failing that I can't reproduce on stilson-0511:47
jammgz: also, do we have any problems with clock skew on stilsons? I just saw a test fail in 400ms when it should have been waiting for LongWait to expire, which is 10s.12:01
frobwaredimitern, voidspace, dooferlad: I think we should cherry-pick the "can't bootstrap on xenial" change into maas-spaces2. We talked about this yesterday but this would help remove one of the voting failure we see in the maas-spaces2 CI results.12:20
=== admcleod1 is now known as admcleod
jammgz: looks like the time thing was a red herring. it took 400ms to setup the assert, but the assert did fail after 10s12:24
dimiternfrobware, sounds good, yeah let's do it12:26
alexisbfrobware, ping13:02
mgzjam: ppc64-slave is stilson-06 at present13:06
mgzjam: are you running the tests throught the same run-unit-tests script when trying on -05? the specific setup of the lxc etc seems more likely to influence results than the  (generally minor) difference between the machines13:08
dimiterndooferlad, fwiw "defaultsMap" in state.mergeBindings is no in any way related to network.DefaultSpace13:09
dimiternnot anymore that is13:10
jammgz: I'm just doing "go test -check.v" in a given subdir.13:10
jamcurrently investigating a test that is flaky13:10
jampasses about 9 in 10 times13:10
jambut when it fails it was waiting 10s when it fails13:10
mgzif you can do the subset like that it is the best way13:11
jamespagejam, frobware, dimitern, alexisb: hey can we postpone or catchup by 1hr? I have a conflict I can't miss...13:29
alexisbjamespage, yep I can make that happen, jam can you make that?13:30
dimiternjamespage, ok, sure13:31
dimiternjamespage, we have good news though ;)13:32
* jamespage is a bit excited...13:33
dooferladdimitern: since that change of mine is quite big and you had plenty of comments, would you like to have a hangout to discuss it? I expect it would move things along more quickly. If so, what time works for you?13:36
dimiterndooferlad, sure, how about in an hour, after the openstack call?13:37
jamjamespage: dimitern: frobware: does 3.5hrs from now work for you guys? Its getting into dinner-and-family time for me.13:38
dooferladdimitern: Sure. I don't have an invite to the OpenStack call so I can get on with another card until then.13:39
jamespagejam: I could do right now if that's helpful?13:39
jamworks for me13:39
alexisbsure13:39
jamespagedimitern, frobware, alexisb? ^^13:39
jamjamespage: alexis and I are in the hangout13:40
dimiternjamespage, jam, alexisb, a bit late, but I can manage13:40
frobwaredimitern: it's on now13:41
jamespagedimitern, can you do now?13:41
dimiternsure13:41
jamdimitern: we're there now13:41
dimiternjam, frobware, http://reviews.vapour.ws/r/4038/13:51
mupBug #1552237 opened: socket.error: [Errno 110] Connection timed out while calling status() <oil> <juju-core:New> <juju-deployer:New> <https://launchpad.net/bugs/1552237>14:00
frobwaredimitern: reviewed14:25
dimiternfrobware, sweet! thanks14:26
dimiternfrobware, and I've just confirmed network-get works live with extra-bindings14:26
frobwaredimitern: \o/14:27
frobwaredimitern: so this (https://github.com/juju/charm/pull/192) has landed too. anything else right now to review?14:28
dimiternfrobware, there's one more, which I can propose now for preliminary review until I sort out it's prereq14:33
frobwaredimitern: point me at it before I hunker down with the bridge (br-eth1) problem.14:34
dimiternfrobware, proposing now, just a sec14:35
dimiternfrobware, http://reviews.vapour.ws/r/4042/14:37
frobwaredimitern: wow, that touched a lot of files.14:39
dimiternfrobware, it includes the PR you've reviewed already, so looking at individual commits might be useful14:39
frobwaredimitern: is it worth changing dooferlad's demo script and verifying this...?14:40
dimiternfrobware, definitely - the changes should be simple to add14:41
frobwaredimitern: do you have a branch that I could use that has all of this in one place?14:41
dimiternfrobware, I can paste the charms and bundle I used in case you want to give it a go later?14:41
dimiternfrobware, yeah, the maas-spaces2-extra-bindings2 includes all14:42
frobwaredimitern: I just thought a different (and existing) test scenario may help14:42
dimiterndooferlad, hey, should we do the HO now?14:42
frobwaredimitern: can you paste the charms/bundle anyway14:42
dimiternfrobware, give me a sec14:43
dimiternfrobware, http://paste.ubuntu.com/15267040/ this is the bundle14:43
dooferladdimitern: 10 mins?14:45
dimiternfrobware, this is the client-nc metadata: http://paste.ubuntu.com/15267060/, tree: http://paste.ubuntu.com/15267048/, and hooks: http://paste.ubuntu.com/15267071/14:46
dimiternfrobware, and here's the same for server-nc: http://paste.ubuntu.com/15267062/ (metadata.yaml), http://paste.ubuntu.com/15267049/ (tree), http://paste.ubuntu.com/15267081/ (hooks)14:48
frobwaredimitern: could you dump all that in a github repo? seems like the nc would be another useful demo.14:53
dimiternfrobware, can do yeah - later tonight14:54
frobwaredimitern: thx, appreciated.14:54
dooferladdimitern: still doing some debug, but can stop if now is a good time.14:59
dimiterndooferlad, well, now is as good a time as any :)15:05
dooferladdimitern: ring ring...15:06
dimiterndooferlad, ah, let's use the standup HO as that invite came to my phone :)15:06
dooferladdimitern: doh!15:06
dooferladdimitern: there now15:06
natefinchI love it when I find exactly the right function that I need in the standard library15:10
mgznatefinch: oh, you're writing python?15:10
natefinchmgz: lol15:10
mgz:P15:11
natefinchmgz: does python have a mime.FormatMediaType / ParseMediaType in the standard library?15:11
natefinchFormatMediaType serializes mediatype t and the parameters param as a media type conforming to RFC 2045 and RFC 2616.15:11
mgzyeah, I think it's hidden in email though15:11
natefinchnice15:11
frobwarevoidspace: ping. Please could you help out with a review of http://reviews.vapour.ws/r/4042/ - bug #1549545 is critical for master atm.15:17
mupBug #1549545: Bundle deploys fail at lxc-start when bridge br-eth1 is created <ci> <deploy> <maas-provider> <test-failure> <juju-core:Triaged by frobware> <https://launchpad.net/bugs/1549545>15:17
frobwarevoidspace: the review and bug are not related. I'm just trying to make progress with the bug and that is a large PR.15:18
mupBug #1552274 opened: juju list-credentials inconsistencies between format output <juju-core:New> <https://launchpad.net/bugs/1552274>15:21
frobwaredimitern: can you jump into sapphire HO regarding your extra-bindings changes...15:42
dimiternfrobware, sure15:42
=== psivaa_ is now known as psivaa
natefinchdammit.... I hate it when I inevitably use a stdlib function that doesn't exist in our version of go :/16:26
katconatefinch: hey, never got that estimate for the current card you're working on16:27
natefinchkatco: oh, sorry16:28
katconatefinch: gj landing the last card btw16:29
natefinchkatco: thanks16:29
natefinchkatco: tomorrow for the new card, I think. Hopefully early tomorrow.. doesn't seem to bad.   It sucks, go 1.5 has a bunch of improvements in exactly the area this card needs.16:29
natefinchkatco: (mime type stuff for setting http headers etc)16:30
katconatefinch: we don't need mime stuff do we?16:30
katconatefinch: this is just comparing the name specified with the name in the metadata?16:31
natefinchkatco: there's functions for formatting the content-disposition, which is how you should set the filename16:31
natefinchkatco: we could set the filename some other way, but it would be non-standard16:31
katconatefinch: ericsnow: moonstone plx, need to chat anyway16:32
natefinchkk16:32
voidspacefrobware: dammit, missed that - sorry16:52
voidspacefrobware: looking now16:52
katcoericsnow: natefinch: oh, also forgot to mention. urulama has an open invitation to our standup while this collaboration is going on17:15
katcoericsnow: natefinch: so it will be fun to see him from time to time :)17:15
ericsnowkatco: cool17:15
cheryljfrobware: I'm seeing that I cannot deploy to a node with wily on 1.25.4 with or without your patch.  I can't get the cloud-init-output.log file from the node because networking doesn't seem to be working.17:20
cheryljI'm trying it with 1.25.0 now to see if it's just a problem in  my env17:21
frobwarecherylj: ack17:21
frobwarecherylj: so I /think/ I had the same problems, but with precise. It was late last night when I tried so I assumed it was finger trouble. I did have success with trusty and xenial.17:22
cheryljfrobware: I was in the same boat last night :)  Had issues with precise, but not trusty17:23
frobwarecherylj: I'm also using daily images, not sure if that's a factor.17:23
frobwarecherylj: I didn't see an obvious way in MAAS in having released and daily. Removing daily is a pain because it has to reimport all images again.17:24
cheryljfrobware: I don't even know which I'm using.  I just used the gui to import precise and wily (no option for xenial)17:25
frobwarecherylj: so that sounds like you're using released. It's in "Settings" -> "Boot Images". Mine says: http://maas.ubuntu.com/images/ephemeral-v2/daily/17:27
cheryljfrobware: ah, yeah, I see:  http://maas.ubuntu.com/images/ephemeral-v2/releases/17:28
cheryljthanks!17:29
cheryljfrobware: I was able to deploy with 1.25.0, so seems to be a problem with 1.25.417:32
frobware:(17:32
cheryljI'm not sure how I can grab the cloud-init as the console I get with the libvirt tools doesn't seem to provide a way to capture the output17:33
frobwarecherylj: do you fancy bisecting at .minor releases?17:33
cheryljand there's no password set17:33
cheryljfrobware: sure, I can do that17:33
cheryljI'll try 1.25.2 now17:33
frobwarecherylj: so when I run into these problems during development I change the bridge script so that the first thing it does is 'passwd -d ubuntu'17:33
cheryljoh nice17:33
frobwarecherylj: ... don't forget if you change add-juju-bridge.py you need to run make in provider/maas, then rebuild.17:35
frobwarecherylj: this particular light bulb went off once I tried to guess 1 to many times what butchering I had done to /e/n/i... :)17:36
cheryljhehe17:36
* katco lunches17:42
=== natefinch is now known as natefinch-lunch
frobwarecherylj: so with these same changes that I landed on master I am able to bootstrap precise17:47
cheryljfrobware: I was able to bootstrap wily too, the problem came when I tried to deploy17:47
frobwarecherylj: do you still have wily deployed? care to HO if so?17:48
cheryljfrobware: I just destroyed the environment and I'm trying out a deploy with 1.25.217:48
frobwareok17:49
voidspacedimitern: LGTM (modulo that one logging tweak)17:49
frobwarevoidspace: many thanks!!!17:49
voidspacedimitern: although it looked big it's mostly tweaking stuff17:49
dimiternvoidspace, thanks!17:51
cheryljfrobware: not that this helps much, but I saw that it couldn't download tools because of no route to host:  https://private-fileshare.canonical.com/~cherylj/images/node-deploy-output-2.jpg17:51
frobwarecherylj: as a first pass I would verify that MAAS can deploy a precise node. let's take juju out of the equation.17:53
cheryljI'm working on wily right now17:53
cheryljBut I was able to deploy wily with 1.25.017:53
cheryljand it also works with 1.25.217:53
cheryljwait, might've spoken too soon17:54
roryschrammim having problems deploying via juju to openstack compute nodes. Im having to use juju-core 1.25.4 due to bug 1532167. However, the orchestration node has the x86 code installed and cant push that to ibm power... so doing juju add-machine fails for the power nodes17:54
mupBug #1532167: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Fix Released by frobware> <juju-core 1.25:Fix Committed by frobware> <https://launchpad.net/bugs/1532167>17:54
frobwarecherylj: why it it trying to download 1.25.99.1?17:54
cheryljfrobware: I changed the version number to distinguish that it was running with your patch17:55
dimiternfrobware, updated http://reviews.vapour.ws/r/4038/ it should be ready to land so the follow-up can as well17:55
frobwareaha17:55
frobwaredimitern: is this post voidspace's LGTM?17:55
frobwaredimitern: ah, no. Was my review comments. :)17:56
cheryljfrobware: well this is interesting.  with 1.25.2, I was able to ssh into the node, but then networking died as it was finishing cloud init17:56
dimitern:)17:56
dimiternI like how much simple the parseBind tests have become17:56
dimiternsimpler even17:56
dimiternok, time to go celebrate ;)17:57
cheryljneato!  the passwd -d ubuntu worked and I can see the cloud init output log17:57
frobwarecherylj: try again, it's possible the ifdown -a; ifup -a was running17:57
cheryljfrobware: I saw as the cloud init log was scrolling by that it failed to download tools17:58
frobwarecherylj: what's the state of /e/n/i?17:58
cheryljfrobware: https://private-fileshare.canonical.com/~cherylj/images/eni.jpg18:00
frobwarecherylj: looks innocuous18:01
frobwarecherylj: ip route?18:01
frobwarecherylj: but this is dead without my changes, correct?18:02
cheryljfrobware: right, this is on 1.25.218:02
frobwarecherylj: you're still testing 1.25.2?18:02
frobwareack18:02
* frobware wonders why he doesn't have a jenkins instance that continually validates the simples18:03
cheryljfrobware: https://private-fileshare.canonical.com/~cherylj/images/ip-route.jpg18:05
frobwarecherylj: so don't see anything wrong18:08
frobwarecherylj: and your virbX is NAT'd?18:08
cheryljfrobware: yes18:09
frobwarecherylj: easier to HO maybe18:10
cheryljfrobware: sure, give me just a minute18:11
frobwarecherylj: I would still deploy via MAAS, validate that that deployed node can see the internet18:11
cheryljfrobware: okay, let me kick that off18:11
frobwarecherylj: at least it helps separate juju specific issues18:11
frobwarecherylj: I have a fix for bug #1549545 too, but could do with some 3rd party validation (hint hint) :)18:14
mupBug #1549545: Bundle deploys fail at lxc-start when bridge br-eth1 is created <ci> <deploy> <maas-provider> <test-failure> <juju-core:In Progress by frobware> <https://launchpad.net/bugs/1549545>18:14
cheryljfrobware: haha  :P  let's figure out this one first18:15
frobwarecherylj: sure. but I got bored with that one. :P18:16
cheryljheh18:16
cheryljfrobware: the node deployed in maas seems to be fine18:16
frobwarecherylj: so just to confirm 1.25.2 cannot deploy wily, from MAAS 1.9.018:16
cheryljfrobware: seems to be the case18:17
cheryljalthough surprising that we wouldn't have a test for this in CI18:17
frobwarecherylj: now that I pushed my branch ^^ let me try as well18:17
frobwarecherylj: yeah, this was my "simples" case above. Just a smoke test that you can bootstrap and fetch http://kernel.org/18:21
perrito666toolstorage lacks a way to delete the tools?18:23
cheryljfrobware: I think bug 1551959 is the same issue I'm running into18:28
mupBug #1551959: juju-tools 1.25.0 with juju-agent 1.25.3 has networking issues <juju-core:New> <https://launchpad.net/bugs/1551959>18:28
frobwarecherylj: ahhh18:29
frobwarecherylj: without looking I'm guessing this is how we parse lines like dns-nameservers...'18:29
frobwarecherylj: yep18:29
frobwarecherylj: can reproduce. :( :( :(18:29
frobwarecherylj: so a known and fixed issue: https://bugs.launchpad.net/juju-core/+bug/153479518:33
mupBug #1534795: unit loses network connectivity during bootstrap: juju 1.25.2 + maas 1.9 <maas-provider> <uosci> <juju-core:Fix Released by frobware> <juju-core 1.25:Fix Released by frobware> <https://launchpad.net/bugs/1534795>18:33
frobwarecherylj: I think we will have upgrade problems with the script.18:39
cheryljfrobware: how so?18:39
frobwarecherylj: so if I understood the bug you just referenced then 1.25.3 will come along and try to bridge something that may well be bridged already. We did discuss this one writing the script but ... :(18:40
cheryljfrobware: ah, I see.  However, in my case, I was not doing an upgrade18:40
frobwarecherylj: we talked about putting a sentinel in there but there's no guarantee that something else doesn't remove it.18:41
frobwarecherylj: I think we're gonna have to be a lot smarter...18:41
frobwarecherylj: no, 1.25.2 is busted because of 153479518:41
frobwarecherylj: but 1551959 is something we should address for maas-spaces2, master and 1.25...18:42
frobwarecherylj: we should really really get MAAS to model bridges. we're endlessly futzing.18:43
frobwarecherylj: patch upon patch18:43
cheryljfrobware: :(18:43
frobwarecherylj: let's talk about some priorities.18:43
cheryljfrobware: in a call now, let me ping you18:44
frobwareok18:44
* frobware sulks off as far as his teapot18:44
cheryljheh18:44
roryschrammis there a way to upload juju tools for multiple arches when bootstraping ie juju bootstrap --upload-tools?18:55
=== natefinch-lunch is now known as natefinch
natefinchwho writes a decoder that can't handle all the outputs of the corresponding encoder?  Sheesh19:15
perrito666natefinch: you do realize that we work in a project that had a set that did not take the output of get until recently :p19:16
natefinchheh... yeah, and that's terrible19:16
natefinchhere's the context to my rant: https://groups.google.com/forum/#!topic/golang-nuts/ovxD01JNoBQ19:16
frobwarecherylj: I just bootstrapped precise on my change (1.25.4)19:36
frobwarecherylj: I changed two/three things:19:37
frobware1) add the passwd -d ubuntu in anticipation ...19:37
frobware2) changed enable-os-refresh-update from true to false19:38
frobware3) ditto for enable-os-upgrade19:38
natefinchsigh19:54
natefinchthere's no juju destroy-controller --force?19:55
natefinch....so I guess we changed bootstrap and/or destroy-controller such that we can't destroy old controllers anymore (and by old, I mean like, a couple days old)?19:56
natefinchhttp://pastebin.ubuntu.com/15269548/19:56
natefinchERROR invalid config: can't connect to the local LXD server: json: cannot unmarshal number into Go value of type string     .... dude, UX, geez.19:57
natefinchwait wiat wait... it's bootstrap <controller-name> <cloud>? really?19:59
natefinchnot <cloud> <controllername>?  So someday when we want to improve the UX, we can make controllername optional?19:59
natefinchalso, that's the opposite of deploy20:00
natefinchrick_h__: ^^20:00
rick_h__natefinch: reading backlog20:01
cheryljnatefinch: kill-controller is the new destroy-controller --force20:01
natefinchcherylj: ahh20:01
rick_h__natefinch: right, it's controller-name cloud because you can do controller-name cloud/region20:02
rick_h__natefinch: or just leave off cloud I think if you have a default, plus the credential and such20:02
natefinchrick_h__: why couldn't you do bootstrap cloud/region controllername?20:02
rick_h__natefinch: but controller-name is always required20:02
natefinchrick_h__: will there ever be an option to just default to the same name as the cloud?  Seems like a lot of people will only have one controller20:04
rick_h__natefinch: no, because we don't want that to happen20:04
rick_h__natefinch: it makes the UI confusing when the cloud name and controller name are the same20:04
rick_h__natefinch: it's why we're making the default model "admin"20:04
rick_h__natefinch: because seeing the controller name the same as a model name is confusing20:05
rick_h__natefinch: we want to shoot for more meaningful names vs shallow ones like that20:05
natefinchrick_h__: I'm pretty sure everyone who has ever used juju before is going to be doing juju bootstrap amazon amazon20:05
natefinch(or whatever)20:05
rick_h__natefinch: we'll see, but I'd like to discourage that.20:05
natefinchif you only have one, the name is meaningly20:05
natefinchmeaningless20:05
rick_h__natefinch: it's not, the cloud name is meaningless :) You never interact with it other than bootstrap20:06
natefinchI still think it's unfortunate that the order is backwards from deploy20:06
rick_h__natefinch: the controller one is very meaningful as it's the thing you talk to all day20:06
rick_h__natefinch: understand, but it's back to the optional arg is at the end20:06
natefinchrick_h__: I hope never to have to type either except during bootstrap20:06
rick_h__natefinch: well one turns into two turns into ... if we do this well at all20:07
rick_h__natefinch: so I do hope you end up typing it as you move between controllers in different areas with different purposes20:07
rick_h__that means we're successful in making juju essential to your use of things out there20:07
natefinchrick_h__:  you say cloud is optional... what does it pick if I don't specify a cloud?  How can I see what the default is?20:09
rick_h__natefinch: see PM20:09
rick_h__natefinch: there's work we need to do that if you only have one credential setup that it just uses that20:10
rick_h__natefinch: not setup that way currently20:10
rick_h__natefinch: as you say, no sense asking you to tell me what cloud if I only know credentials for one20:10
natefinchyeah20:11
rick_h__natefinch: I completely see your point and there are times it feels backwards to me as well20:11
rick_h__but we did think through a bit farther out and so have $reasons which may or may not turn out to be ideal20:11
natefinchreally, the mismatch with deploy is my biggest concern. I just know I'm going to get the args backwards all the time20:12
perrito666rick_h__: did you just give reasons in php, not cool mate20:13
rick_h__natefinch: understand, thanks for the feedback20:13
rick_h__perrito666: oh come on...maybe it was...crap20:13
natefinchahh crap.... were there fixes landed in master to work with the new LXD?20:16
rick_h__natefinch: yes20:16
rick_h__natefinch: there's a bug folks are hitting that's getting chased down, but there's a work around in the bug I believe20:16
natefinchrick_h__: I had reverted my version of LXD from the ppa to wily stable when they broke the ppa... nwo I guess they broke wily stable :/20:17
rick_h__natefinch: yea, wily won't work because it's got to work with lxd betas20:17
natefinchanyone have the name of the ppa handy?20:18
rick_h__natefinch: https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable20:19
natefinchrick_h__: yeah, just found that with google, was going to ask if stable was the right one. Cool.20:19
cheryljrick_h__: are you going to grace the onyx standup?20:22
rick_h__cherylj: I can, linky?20:23
cheryljrick_h__: n/m everyone left :)20:23
rick_h__oh, then nope20:23
natefinchrick_h__: just wrapped up the matching extension check on resource uploads, and it occurs to me, do we also enforce lack-of-extension?20:29
rick_h__natefinch: thinking20:30
rick_h__natefinch: I think so.20:30
natefinchrick_h__: good, that requires no extra work :)20:30
rick_h__natefinch: e.g. an extension might mean a compressed file being sent where an uncompressed was expected20:30
natefinchrick_h__: yep20:31
katconatefinch: moonstone20:35
katconatefinch: sorry that sounded rude... moonstone when you have a sec20:35
katcoplease20:35
katco:)20:35
natefinchkatco: coming... sorry, was getting a snack20:46
menn0thumper: just looking at your migration package PR20:58
menn0thumper: I get how the import works but remind me how th export works. what would you call?21:00
menn0thumper: never mind. I see it now. state.Export()21:00
menn0thumper: ship it with one question21:05
perrito666I really dislike juju conn suite21:07
cmarsanyone seeing machines/units get assigned "127.0.0.1" as their public address lately?21:08
mbruzekWho worked on the juju deploy bundle.yaml ?21:13
mbruzekSo juju core deploying bundles/21:13
rick_h__mbruzek: frankban21:14
rick_h__mbruzek: and the team there21:14
mbruzekThanks rick_h__ and thank you frankban.21:14
mbruzekI really like using it instead of deployer, but I think I found a small bug, which I just opened. frankban is on GMT timezone?21:15
cmarsclose, UTC+121:16
mbruzekOK. Well I am not getting charms "exposed" when I set them like that in the bundle.21:17
mbruzekThat is still supposed to work right?21:17
mbruzekI will talk with frankban about this more. Thanks for the info cmars21:18
thumpermenn0: cheers21:21
* thumper goes to look for the question21:21
thumpermenn0: I also would expect that the state connection was connected to the controller model, but it was pretty trivial to write it explicitly21:22
thumperso better to show obviously getting the controller model, than just the model that state happened to be looking at21:22
thumperexplicit is better than implicit :)21:22
menn0yep :)21:23
* thumper feels peckish21:24
thumperbut not sure if it is just a carb craving or not21:24
thumper...21:24
thumperprobably is21:24
mupBug #1552408 opened: list-credentials vs list-clouds key inconsistencies <juju-core:Triaged> <https://launchpad.net/bugs/1552408>21:31
mupBug #1552414 opened: juju deploy bundle.yaml does not honor exposed <juju-core:New> <https://launchpad.net/bugs/1552414>21:31
mupBug #1552414 changed: juju deploy bundle.yaml does not honor exposed <juju-core:New> <https://launchpad.net/bugs/1552414>21:43
mupBug #1552423 opened: Machines getting 127.0.0.1 for DNS / PUBLIC_ADDRESS <juju-core:New> <https://launchpad.net/bugs/1552423>21:43
mupBug #1552423 changed: Machines getting 127.0.0.1 for DNS / PUBLIC_ADDRESS <juju-core:New> <https://launchpad.net/bugs/1552423>22:13
thumperugh22:49
thumperdone it again22:49
thumperdeveloped on a local copy of my feature branch22:50
thumpernow I need to remember how to reset it back to upstream22:50
* thumper looks at the git man pages again22:50
menn0thumper: you mean resync it with the upstream feature branch?22:51
thumperyeah,22:51
thumperwas going to go 'git reset hard <hash>'22:51
thumperis there an easier way?22:51
menn0thumper: git pull --rebase upstream <branch name>22:51
thumperI don't want to rebase it22:51
menn0thumper:  you don't want your local changes?22:51
thumperno22:52
thumperI've branched off it into another one22:52
menn0thumper: ok then git reset --hard upstream/<branch name>22:52
thumperah22:52
thumperta22:52
menn0thumper: a branch name is just a reference to a commit hash so it can be used whereever you can use a hash22:53
thumpermenn0: http://reviews.vapour.ws/r/4048/22:53
thumpermenn0: and ta22:53
thumpermenn0: now I need to work out what next...22:55
perrito666thumper: change your prompt to tell you what branch you are on22:55
thumperperrito666: yeah... I should22:55

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