/srv/irclogs.ubuntu.com/2013/05/28/#juju-dev.txt

=== tasdomas_afk is now known as tasdomas
jamgreetings all06:06
jamfwereade: when you come online, I'm available for a chat06:06
jamwallyworld_: hey, just the guy I wanted to say hi to06:06
jamwallyworld_: ?06:11
dimiternmorning all06:14
jamhi dimitern06:21
dimiternjam: hi, feeling better?06:21
jamdimitern: yeah, fever is down, though still not 100%, but probably 80 or so :)06:22
dimiternjam: good to hear it's improving06:25
jamdimitern: yeah, my temperature spiked to almost 40, with accompanied whole-bod06:26
jambody ache06:26
jamand headache that was pretty bad06:27
jambut only lasted the afternoon and a bit in the morning.06:27
dimiternfwereade: ping07:02
fwereadedimitern, jam, hi both07:02
fwereadeTheMue, hi also07:03
dimiternfwereade: hey, take a look at this? https://codereview.appspot.com/9811044/07:03
dimiternfwereade: (should've changed the description, but will do before I submit)07:04
fwereadedimitern, reviewed, looks sane, enough little quibbles that it's not quite there yet07:11
TheMuefwereade, dimitern, jam: morning07:14
dimiternfwereade: updated07:22
fwereadedimitern, LGTM07:25
dimiternfwereade: cheers!07:26
dimiternTheMue: morning btw07:26
dimiternanyone else wants a small, easy review? https://codereview.appspot.com/9811044/07:26
dimiternjam, TheMue: ^^07:28
fwereadebbiab07:37
wallyworld_jam: hi, sorry i missed you, school pickup07:42
wallyworld_jam: feeling better?07:42
dimiternwallyworld_: hey07:43
wallyworld_G'DAY07:43
jamwallyworld_: about 80%, the fever, headache, and whole body ache are gone, but still a little upset stomach.07:43
wallyworld_oops caps, sorry07:43
wallyworld_at least it's recovering07:43
dimiternwallyworld_: quick review? https://codereview.appspot.com/9811044/07:43
wallyworld_sure07:43
TheMuedimitern: review done07:43
jamwallyworld_: yeah, I can at least think and work, I just have to stay near a bathroom :)07:44
dimiternTheMue: tyvm07:44
dimiternfwereade: so now on to the 3 loops07:56
=== wedgwood_away is now known as wedgwood
* TheMue just returned to the keyboard after hunting the escaped rabbits of our daughter ;) those guys found out how they can open the door. don't tell me anything about dumb rabbits anymore. :D08:07
fwereadejam, is mgz around today?08:32
jamfwereade: he is off the whole week, and part of next08:37
jamI think he is back next Tues08:38
rvbaHi guys, when we were testing juju-core with MAAS we where using: "juju bootstrap --upload-tools --fake-series=precise,raring,quantal".10:03
rvbaI saw somewhere that --upload-tools is a dev tool only there when building juju-core from source.10:03
rvbaWhat should I be using instead now? (using juju-core from raring)10:03
jamrvba: if I understand you correctly, you want to have the tools available on your MaaS cluster for multiple series10:04
rvbaYes10:04
rvbaThe MAAS cluster is raring and I want to deploy precise nodes.10:04
jamwe have a (fairly crufty but serviceable) command "juju sync-tools". Which pulls the tools from the public ec2 bucket, and puts them into your local environment.10:04
jamyou have to source EC2 credentials so it can read the public bucket.10:05
jam(which is part of the 'crufty' nature of the command)10:05
rvbajam: thanks, I'll try that…10:08
jamrvba: feel free to poke here for feedback on getting it working. It was designed for some internal use cases (sharing with HP and Canonistack), so it still needs some love for widespread adoption.10:08
* fwereade lunch10:38
=== gary_poster|away is now known as gary_poster
jamfwereade: ping12:11
fwereadejam, pong12:11
jamfwereade: you wanted to chat with me about some API changes. I was wondering if you wanted to have a hangout with me and ian12:11
fwereadejam, how's it going?12:11
fwereadesure, give me 2 mins12:11
fwereadejam, you in a hangout already?12:12
jamfwereade: not yet, but I can set one up12:12
fwereadejam, thanks12:13
jamwell... I used to know where the start a hangout link was, give me a sec12:14
jamfwereade: wallyworld_: https://plus.google.com/hangouts/_/6c0cd174f8cbe910b0ceaa885a6c216331e77f0712:17
jcastromramm: heya, whens the next release planned?13:21
mramm08:18 marcoceppi: mramm: Any idea when the next release of juju-core will be landing?13:22
mramm08:19 mramm: davecheney was working on it this weekend13:22
mramm08:19 mramm: I expect it out any day now, last I heard it was delayed by some build contention on the build servers13:22
jcastroah13:22
mrammseems like this must have come up in a meeting ;)13:22
jcastrono I just wanna do cool stuff13:23
jcastroand need a release13:23
jcastro:)13:23
mrammcool13:23
jcastroif it's builder contention I can help him13:23
mrammI will touch base with dave tonight13:23
mrammok13:23
jcastrobut I take it it'll be a 24 hour turn around?13:23
marcoceppiI just really want to be able to use the majority of charms that have relation-list -r :)13:23
jcastrowait13:24
jcastrois that in the PPA?13:24
mrammI'm not sure if that made it in before the last PPA release13:24
jcastro4:20 and 5:50 delays in the PPAs, distro is smaller.13:25
mramminteresting13:25
jcastromramm: I'm going to ask the team if we can get a bump in priority13:25
mrammok13:25
jcastroif a builder takes 6 hours to build it means cheney gets one shot a day to get it working13:25
jcastroif not, we wait 24 more hours.13:26
mrammand I'll talk to dave about the release tonight (when he is in)13:26
* jcastro nods13:30
jcastroI'll send him a mail wrt. builders, see if there's anything I can do13:31
marcoceppiWhen downloading the mongo binary, where should I put it?13:45
marcoceppiAlso, in juju-core's readme it refers to running `go install -v launchpad.net/juju-core/...` which doesn't actually work13:49
marcoceppi"launchpad.net/juju-core/..." matched no packages13:51
ahasenackjcastro: doesn't matter if the fix is in the ppa, it needs to be in the tools tarballs too, unless you plan to use --upload-tools14:12
marcoceppifwereade: got a second to help me resolve building from source?14:12
ahasenackmarcoceppi: I can help, I did it a few times14:12
fwereademarcoceppi, sorry, meeting14:12
jcastroahasenack: ah bummer. :-/14:12
marcoceppiahasenack: cool, I've followed the readme up until go install -v launchpad.net/juju-core/... which just gives me a matched no packages error14:13
ahasenackjcastro: https://wiki.canonical.com/InformationInfrastructure/IS/CanonicalOpenstack/CanonistackWithJujuCore and I have a g+ post about it too14:13
ahasenackmarcoceppi: did you do "go get -v launchpad.net/juju-core/...", with the "..." at the end?14:13
marcoceppiahasenack: yup, let me try again14:14
marcoceppiahasenack: http://paste.ubuntu.com/5710325/14:14
ahasenackmarcoceppi: start with go get14:15
marcoceppiahasenack: fudge, I copied the wrong command14:15
marcoceppithanks14:15
ahasenackmarcoceppi: you will also need to use boostrap with --upload-tools later, or else it will download the old version of the tools into your units, and not the trunk one you have now14:16
marcoceppiahasenack: ack, I'll hopefully remember to do that :)14:16
ahasenackmarcoceppi: https://plus.google.com/114091308548248656535/posts/cLgeVv7xBcp hopefully helps14:17
ahasenackmarcoceppi: with canonistack and other private clouds, there is a new complicator, I'm working on a post about that14:17
ahasenackit doesn't support default-image-id anymore, so there are a few other commands to run14:17
marcoceppiahasenack: so the readme mentions having to grab mongodb from source, etc. Do I just ignore that?14:17
ahasenackmarcoceppi: yes, I didn't have to do that14:18
dpb1go get probably takes care of all that?14:18
marcoceppiahasenack: cool, thanks14:18
ahasenackdpb1: I don't know14:18
ahasenackdpb1: maybe mongodb doesn't need to be updated that frequently and whatever juju is fetching is good enough14:18
dpb1ya14:21
ahasenackis there a way to use juju image-metadata to specify default images for multiple regions?14:36
marcoceppiahasenack: is what you were talking about with "private" clouds and default-image-id related to this: error: cannot start bootstrap instance: no "precise" images in az-3.region-a.geo-1 with arches [amd64]14:43
ahasenackmarcoceppi: hm, *maybe*, which cloud is that? hp?14:43
marcoceppiahasenack: yeah, hp14:44
ahasenackmarcoceppi: do you have a public-bucket-url for that hp cloud in your environments.yaml file?14:44
marcoceppiahasenack: yes, https://region-a.geo-1.objects.hpcloudsvc.com/v1/6050252975391014:44
ahasenackmarcoceppi: also, did you bootstrap with -v? Was there any mention of an url with juju-dist?14:44
ahasenackmarcoceppi: ok, take a look:14:45
ahasenackmarcoceppi: https://region-a.geo-1.objects.hpcloudsvc.com/v1/60502529753910/juju-dist/14:45
ahasenack(I'm debugging with you now, I don't know yet what the problem is)14:45
ahasenackmarcoceppi: https://region-a.geo-1.objects.hpcloudsvc.com/v1/60502529753910/juju-dist/streams/v1/imagemetadata.json and14:45
marcoceppiahasenack: (I'm all for debugging thanks for taking the time)14:45
ahasenackmarcoceppi: https://region-a.geo-1.objects.hpcloudsvc.com/v1/60502529753910/juju-dist/streams/v1/index.json14:45
ahasenackare of interest to us14:45
ahasenackthat uses the new "simplestreams" from smoser to specify the image id juju will use14:45
marcoceppiahasenack: so -v didn't give any mention of a url with juju-dist14:46
ahasenackmarcoceppi: if I understand it correctly, it has an image id definition of 81078 for region az-1.region-a.geo-114:46
marcoceppijust some warnings about depreciated configs14:46
ahasenackmarcoceppi: ok, the way I understood it now is that you can only use region az-1.region-a.geo-114:47
marcoceppiAh, so I'm using az-3, let me try az-114:47
ahasenackmarcoceppi: well, for some definition of "only", it's how it's setup. To use another one there are other steps to take14:47
marcoceppiahasenack: path of least resistance is the one for me atm14:47
ahasenackmarcoceppi: ok, so switch regions and try again14:48
marcoceppiack, activating/switching14:48
marcoceppiahasenack: that resolved that, thanks14:49
ahasenackmarcoceppi: nice!14:49
marcoceppiahasenack: so, how much harder is it to get this working with other az's?14:59
ahasenackmarcoceppi: I'm still writing it up, only have a few notes so far. This is what I have for canonistack so far: https://pastebin.canonical.com/91689/14:59
ahasenackmarcoceppi: you have to run the new image-metadata command, then create a juju-dist bucket and upload the files to it15:00
ahasenackand adjust acls so it can be read anonymously15:00
marcoceppiahasenack: doesn't sound too bad15:00
ahasenackmarcoceppi: I don't know yet how to make it work for multiple regions, as that image-metadata command seems to only create the files for one at a time15:00
ahasenackmarcoceppi: I think for other regions you have to just edit the files manually15:00
ahasenackI mean, to support multiple regions in one single such file15:00
marcoceppiahasenack: I only have need to support on region that isn't supported, so that's out of scope for me anyways15:01
marcoceppione*15:01
ahasenackmarcoceppi: hah, how murphy of you, needing the region that is not supported :)15:01
marcoceppihah, yeah. I've really lucked out. Figured the highest number region would be the best to use!15:02
fwereadeahasenack, marcoceppi: fwiw, environments are single-region, so that point is hopefully moot15:17
ahasenackfwereade: given the location of the index.js and imagemetadata.js files, and their names15:18
ahasenackfwereade: I mean, the region is not in the path, or the filename15:18
ahasenackfwereade: so it has to be in the content15:18
ahasenackfwereade: so you have to be able to specify multiple regions inside these files, no?15:18
fwereadeahasenack, if you're sharing a public-bucket across regions, I agree, you'll want to have metadata for all regions in play15:18
ahasenackfwereade: in canonistack at least hte public bucket is the same, I don't see a region differentiation on it15:19
ahasenackfwereade: I don't know about hp15:20
ahasenackfwereade: but the file in their public bucket only had one region, and juju failed when marcoceppi tried to bootstrap in another15:20
fwereadeahasenack, I believe that we will be publishing simplestreams data to HP anyway15:20
ahasenackfwereade: so juju wasn't able to find the default image id for the other region15:20
fwereadeahasenack, ha, ok15:20
ahasenackfwereade: so, the end goal, just to understand, is that those json files describe the default image id for all regions?15:21
ahasenack(amongst other things I suppose, since simplestreams are generic)15:21
ahasenackor, well, use different public buckets per environment15:22
fwereadeahasenack, the goal is that the simplestreams files describe the images that are available, so that juju can pick a/the right one for what you need15:23
ahasenackfwereade: ok, this can be solved then by either adding all of them to the file, or using different files in different buckets15:24
ahasenackthe difference being one single public-bucket-url for all regions, or one per region15:24
fwereadeahasenack, in general we will be looking in cloud-images.ubuntu.com/releases15:25
fwereadeahasenack, AIUI this will hold data for a whole bunch of public clouds15:25
ahasenackfwereade: that's for public clouds15:25
ahasenackok15:25
ahasenackbut for my own private cloud, I need to manage those simplestream files15:26
fwereadeahasenack, right; and in canonistack I believe we are publishing simplestreams data and advertising it via openstack already for lcy01, just not for lcy0215:26
fwereadeahasenack, for your own private cloud, we need tooling, I agree15:27
ahasenackfwereade: so canonistack seems to be using something different. I managed to bootstrap on lcy01, but there is no juju-dist/streams/v1/index.json file for example15:27
fwereadeahasenack, it's published... somehow, in openstack, that I am trying to remember and look up15:28
ahasenackso it's not using simplestreams as far as I understand, but something different15:28
=== mthaddon` is now known as mthaddon
MakyoAre gocheck tests run in the order they're defined?17:16
MakyoI'm getting "cannot add service \"riak\": service already exists" on the first test, so I'm curious./17:17
Makyonvm -gocheck.vv shows the order.17:20
=== wedgwood is now known as wedgwood_away
TheMueso, quitting, cu tomorrow17:48
ahasenackhm, I wish bootstrap -v showed the buckets it is querying17:50
MakyoHm.  Test fails with  "service \"riak\" not found", so I try deploying it at the beginning of the test, which gives me "cannot add service \"riak\": service already exists".19:07
FunnyLookinHatIs there a way to enable verbose request logging with juju-core ?  including HTTP headers, etc.21:10
FunnyLookinHatI was hoping to not use wireshark, but that would work if necessary...21:10
thumpermorning folks21:13
FunnyLookinHathmmm21:16
FunnyLookinHatoh hey thumper :D ( David @ S76 )21:16
thumperhi FunnyLookinHat21:16
=== tasdomas is now known as tasdomas_afk
FunnyLookinHatthumper, You aware of any means to do verbose logging of all requests made when bootstrapping ?21:17
FunnyLookinHat( or in general )21:17
thumperumm...21:17
thumperI think -v is about as verbose as it gets (right now)21:17
thumperthe whole logging, and output stuff is something that I have an interest in fixing21:18
FunnyLookinHatAh ok - trying to see if we can close the gap on rackspace support...  narrowed it down to security groups ( which they are implementing ) and a strange 411 error when trying to authenticate21:19
fwereadeFunnyLookinHat, --debug is more verbose than -v, but I can't guarantee it'll give you what you're after; logging is somewhat spotty21:21
FunnyLookinHatAh ok - thanks fwereade21:21
thumperhi fwereade21:22
fwereadethumper, heyhey21:22
thumperfwereade: did you want a catch up chat?21:22
thumpersorry about yesterday21:22
thumpersnow day here21:22
thumpervery chaotic21:22
fwereadethumper, sgtm, although probably not a very long one21:22
fwereadethumper, no worries21:22
thumpersounds fine21:22
thumperI have a chat with mramm at 1021:22
thumper(in about 35min)21:22
fwereadedifferent times I can handle, but different seasons? madness21:22
thumperhaha21:23
* thumper writes a todo list21:23
mrammAnother snow day?21:23
mramm;)21:23
thumpermramm: nah, sunny and high of 11°C21:23
mrammI can be flexible with that meeting time if it helps21:23
thumperwell, should be sunny later21:23
mrammahh21:23
thumperpretty grey right now21:23
mrammgot it21:23
thumpersnow is all melting21:24
thumpermuch to the kids disappointment21:24
thumperstill have two at home sick21:24
fwereademramm, you shouldn't need to be too flexible, I'll want to go to bed around then ;)21:24
thumperbut they aren't the two that fight so much21:24
* thumper heads to the gym23:50
thumperwallyworld_: I'll chat with you when I'm back23:50
wallyworld_ok23:50

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