/srv/irclogs.ubuntu.com/2017/08/14/#juju-dev.txt

wallyworldthumper: thanks for looking. i pushed some changes and replied to comments00:11
axw_burton-aus: standup?01:03
babbageclunkwallyworld, axw_ - quick API design question? This API method returns a params.ErrorResults with any collected mismatches it finds. Should it return (params.ErrorResults, error)? Or just jam any incidental errors it hits into the ErrorResults?02:43
axw_thumper: the machiner updates observed network config, but that's as observed on the machine. the details won't include provider IDs. so I think there's still work to be done02:43
axw_babbageclunk: if it's an overall failure unrelated to a specific parameter, it should return an error besides the ErrorResult IMO02:43
wallyworldbabbageclunk: if the mechanics of getting the error results struct fails, you return a normal error for that02:43
babbageclunkOk02:43
wallyworldthe error results struct is just another api call result02:44
wallyworldall api calls should return an error along with their results02:44
babbageclunkCool - that's what I have now, it just felt slightly odd to return (list of errors, error). I guess the migrationmaster worker will do different things for the different values thought.02:45
babbageclunkKind of like expected-errors, unexpected error.02:46
babbageclunkThanks02:46
babbageclunkwallyworld, axw_: And the client method, should that return ([]params.Error, error) or ([]error, error)? I guess the former, since that includes more information.02:49
wallyworldbabbageclunk: ideally params should never escape the api layers, but they do :-(02:49
axw_babbageclunk: does it? a *params.Error is an error02:49
wallyworldoften OneError() is used to collasce02:50
wallyworldor CombineErrors() if more then one02:50
babbageclunkwallyworld: Hmm - CombineErrors sounds like what I want02:51
wallyworldcould be02:51
wallyworldaxw_: here's a trivial juju/names PR to add "_" to cloud tags https://github.com/juju/names/pull/8103:42
axw_wallyworld: lgtm03:44
wallyworldta03:44
wallyworldveebers: looks like a CI script breakage? http://juju-ci.vapour.ws:8080/blue/organizations/jenkins/github-merge-juju-names/detail/github-merge-juju-names/46/pipeline03:48
* veebers looks03:58
veeberswallyworld: hah, that job hasn't run for 3 months before now. Looks like things have changed from underneath it. I'm looking now04:01
wallyworldta04:01
veeberswallyworld: fixed and re-ran04:05
wallyworldgreat ty04:05
wallyworldaxw_: here's a trivial PR to pull in the names dep https://github.com/juju/juju/pull/773604:23
blahdeblahwallyworld, axw_, anastasiamac: any of you folks still around?  I'm trying to work out how juju decides what image id to use when I tell it "juju model-config image-stream=daily"; it's currently picking the wrong one.07:13
axw_blahdeblah: yes, I'm around. which provider?07:15
blahdeblahopenstack07:15
blahdeblahaxw_: It's giving me this fun status output: https://pastebin.canonical.com/195832/ and the image id doesn't exist.07:16
axw_blahdeblah: AFAICT, image-stream only affects the public cloud image metadata07:19
axw_blahdeblah: I think you're supposed to change image-metadata-url for private clouds, if you want different images07:19
blahdeblahaxw_: I've never had to do that previously07:19
blahdeblahi.e. this has worked before on this cloud with this image-stream07:20
blahdeblahwhich suggests my juju controller is failing to get the correct image list for some reason07:20
axw_blahdeblah: sorry, I don't know then, it'll require a deep dive. please file a bug and so forth. anastasiamac may be able to provide assistance more readily - she's been in that area more recently07:22
blahdeblahNo worries - thanks07:23
blahdeblahI'll keep digging and file a bug if I can't bend it to my will07:23
wallyworldblahdeblah: the image look up code has not changed in a long time. i would suspect that the json files on the canonistack swift container have been changed or are aout of date07:48
blahdeblahwallyworld: How can I tell which URL juju is trying to hit for that?07:50
blahdeblah(nothing in machine-0 log that I can see)07:50
wallyworlduse --debug when bootstrapping should print it i think07:50
wallyworldyou need debug to see it07:50
blahdeblahbut I'm not bootstrapping, I'm just adding a model07:51
wallyworldturn on debug then07:51
blahdeblahon the add-model, or something else?07:51
blahdeblahactually, the problem doesn't appear until I deploy07:51
wallyworldno, on the controller. juju model-config logging-config="<root>=DEBUG;"07:52
wallyworldor something like that07:52
blahdeblahOK - thankss07:52
wallyworldon the controller model07:52
wallyworldi *think* that will produce the output you need07:52
wallyworldit should print the swift url it looks at07:52
wallyworldyou can also list the keystone catalog using the openstack CLI07:53
wallyworldthat will also have the swift container used07:53
menn0wallyworld, axw_ : when you have a chance (no rush): https://github.com/juju/juju/pull/773811:17
wallyworldok11:18
wallyworldmenn0: i'll do a proper look first thing tomorrow11:19
menn0wallyworld: thanks. I wasn't expecting a review tonight :)11:19
wallyworld:-) a bit tired tonight11:19
natefinchrogpeppe1: is there support for private charms in the charm store?14:01
rogpeppe1natefinch: yes14:02
natefinchawesome14:02
rogpeppe1natefinch: well, of course they're not *totally* private 'cos the charmstore gets to see them unencrypted14:02
rogpeppe1natefinch: but i suspect that's good enough for what you need14:02
natefinchI think that's probably fine, as long as no one outside of charm store admins can see them14:03
natefinchWe're looking into using Juju at Mattel14:04
natefinch'cause Terraform and nomad just turn into thousands of lines of bash masquerading as declarative config14:05
natefinchrogpeppe1: is there a good local development story on Mac?14:23
rogpeppe1natefinch: development of what?14:23
natefinchrogpeppe1: local deploy, a la lxd on linux14:24
rogpeppe1natefinch: good question. i'm not sure, as i don't have a mac. might need to use a local vm, i guess.14:24
natefinchhmm14:24
rogpeppe1natefinch: give it a go14:25

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