/srv/irclogs.ubuntu.com/2015/04/03/#juju-dev.txt

=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== urulama is now known as urulama|lunch
voidspacedimitern, ping09:28
voidspacedimitern, did you see my two branches? ericsnow reviewed them, so I'll try and land them later.09:28
voidspacedimitern, they're only short, so you may, or may not, want to look at them09:28
voidspacedimitern: thanks!10:06
aznashwanhey, could a couple of follow-ups on http://reviews.vapour.ws/r/1218, and, if you guys are really in the review spirit: http://reviews.vapour.ws/r/1330/10:16
=== urulama|lunch is now known as urulama
frankbanocr, could you please take a look at http://reviews.vapour.ws/r/1383/ ? thanks!10:49
=== lp|away is now known as lazyPower
cheryljericsnow: Can you ping me when you get a minute so we can talk about bug 1439447?13:30
mupBug #1439447: tools download in cloud-init should not go through http[s]_proxy <cloud-installer> <landscape> <juju-core:Triaged> <juju-core 1.23:Triaged> <https://launchpad.net/bugs/1439447>13:30
ericsnowcherylj: OTP14:02
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
ericsnowcherylj: hangout?14:40
cheryljericsnow: sure, let me get my headset on14:41
alexisbaznashwan, are those the centos support patches?15:18
mupBug #1440097 was opened: unittest failure: apiserver/root_test.go:rootSuite.TestPingTimeout <ci> <juju-core:New> <juju-core 1.23:New> <https://launchpad.net/bugs/1440097>15:32
alexisbjust so that folks know all of our scheduled all call reviewers are suppose to be on vacation today15:32
jw4woot - free for all15:33
natefinchor free for none ;)15:35
mupBug #1440097 changed: unittest failure: apiserver/root_test.go:rootSuite.TestPingTimeout <ci> <juju-core:New> <juju-core 1.23:New> <https://launchpad.net/bugs/1440097>15:44
mupBug #1440097 was opened: unittest failure: apiserver/root_test.go:rootSuite.TestPingTimeout <ci> <juju-core:New> <juju-core 1.23:New> <https://launchpad.net/bugs/1440097>15:50
jw4natefinch: such a downer ;)15:54
natefinchjw4: I try :)15:54
katcojw4: hey, wanna rewrite the project in python?16:01
katcojw4: i bet we can do it before anyone gets back16:01
mgzkatco: you tested the original v4 code against s3 right?16:04
mgzI think the rest of aws just does it differently16:04
katcomgz: yes, live tests and all16:04
katcomgz: except it's passing the amazon test suite just fine16:05
mgzthe region name is different as you pointed out yesterday, and some other stuff16:06
mgztheir test suite is apparently just not as tight as their real auth16:06
katcohehe possibly16:07
mgzI'm looking at boto/auth.py HmacAuthV4Handler vs S3HmacAuthV4Handler16:07
katcomgz: wwitzel3 said he had worked on boto quite a bit, he's peeking at the issue as well. what are the main diffs you're seeing?16:10
mgzit's slightly annoying as the classes are written differently,16:12
mgzbut the headers that get signed is different, the region format, and some of the sequencing16:12
mgzS3 signs all headers, general only signs Host and X-Amz-*16:13
jw4katco: lol16:13
katcoif the headers are present, you must sign them16:13
jw4katco: we might even get hazmat back if we do16:13
katcojw4: hehe16:13
mgzkatco: for s3, everything but the Auth itself, yeah, but not in general16:14
aznashwanalexisb: sorry, got a little distracted with work16:14
aznashwanalexisb: yes, those are both the CentOS patches16:14
hazmatkatco: i'm listening ;-)16:14
katcomgz: no, i mean the algorithm requires that. you can't optionally sign headers; i don't think that's a mutable property of the algorithm based on which service16:14
katcohazmat: haha o/ :)16:14
alexisbaznashwan, ok, I have had a few folks comment re those patches, I am thinking we may need to do some pair reviewing when we are all in germany16:15
mgzS3 also doesn't do url path normalisation, whereas the other does16:15
=== kadams54 is now known as kadams54-away
katcomgz: i don't think we're doing that at all16:16
mgzwhich can me something as dumb as trailing slash would break it maybe16:17
aznashwanalexisb: we have slowly come to terms with the fact that those PR's won't get in until the sprint; but I still like to hope beyond hope :D16:17
katcomgz: yeah16:17
mgzlike, our failed one was going a GET with a path16:18
mgzthe one that worked was post to root and form-encode body16:19
mgzso it could be something as dumb as bad path16:19
alexisbaznashwan, the alternative is to have you break everything down as requested16:19
mgzkatco: but you probably are going to need two versions to keep s3 working at the same time as fixing this16:19
aznashwanalexisb: as mentioned, the refactor, added CentOS userdata and package management changes are so inter-dependent that breaking them up would take a tone of re-work, writing temporary code which only gets overwritten in the following PR, and triple/quadruple the pain of maintaining the PR's rebased unto master16:23
katcoawesome, my robot vacuum cleaner just unplugged my computer16:24
katcoIoT ftw16:25
mgzehehe16:26
mgzrise of the downtrodden robots!16:26
katcoi definitely kicked it16:26
aznashwanalexisb: that would add an overall delay of at least a month whilst the PR as is now is merge-able with the exception of a handful of tests which are still not CentOS-ready16:28
katcothis is when you discover the temporary work you were doing in /tmp is less temporary than you would have liked.16:28
aznashwan(...which we are working on as we speak)16:28
natefinchgah, stupid f'ing machiner... I don't know how the hell you're supposed to use this thing.  It hides everything under too many layers of abstraction.16:29
alexisbaznashwan, then I suggest we plan to have a dynamic review session in person16:30
aznashwanalexisb: would not be too bad if it comes to that. I would insist to still get a review here-and-there in the mean time so we get the small stuff ironed out before the sprint so we focus on the bigger picture there.16:32
katcomgz: i think i found the problem17:04
katcomgz: i vaguely recall removing default paths "/" from the canonical request string for S3 b/c that was causing an issue17:05
katcomgz: it looks like adding that in gets me a result17:05
mgzkatco: ha, was paths :)17:06
katcomgz: i tip my hat to you, sir17:06
mgz:D17:06
katcomgz: and i then slap aws's collective faces with it.17:06
katcomgz: what an undocumented mess17:06
katcomgz: https://github.com/go-amz/amz/commit/3431a6c7dea296878e5efa2681e85e0b1a2f5a27#diff-5f72c79adc6ba80e9d4d6cf78433008eL15117:09
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== lazyPower is now known as lp|away
katcomgz: feel like a review? https://github.com/go-amz/amz/pull/4718:08
mgzkatco: surething18:08
katcoah foo i broke a signing test. those things are so fragile18:11
mgzyeah, was wondering if more tests would need changing18:11
katconah it's just a space18:11
mgzso if it works with s3 and ec2, I think this is basically good to go18:12
mgzthis isn't super-robust, callers can still pass in stuff that will mess this up I'm pretty sure18:12
katcomgz: i think we're still broke on relative paths "/../.." or something18:13
mgzand I don't like the date-magic18:13
katcodate magic?18:13
mgzkatco: yeah, and probably double slashes as well18:13
katcoyeah those tests fail18:13
mgzthe pass in a x-amz-timestamp in nay random format and get it back out the right way code18:13
mgzI'd prefer we just demanded a sensible time object in the interface or something18:14
katcowell, smallest change possible.18:14
mgzbut that's not something that really needs changing right now18:14
katcoright18:14
mgzright, I agree18:14
katcorepushed with test fix18:14
katcojust added some spaces18:14
mgzkatco: lgtm18:16
katcomgz: do we have this behind a bot yet?18:17
mgzkatco: it's got a funny pre-merge check thing instead, which passed18:19
katcomgz: ok, so merge manually?18:21
mgzyeah, oh, travis runs against both go 1.2 and go 1.4, interesting18:22
mgzonly the unit tests obviously but fine18:22
cheryljnatefinch: I heard you had some thoughts about bug 1439447.  Don't know if you wanted to weigh in before I make any code changes...18:43
mupBug #1439447: tools download in cloud-init should not go through http[s]_proxy <cloud-installer> <landscape> <juju-core:In Progress by cherylj> <juju-core 1.23:In Progress by cherylj> <https://launchpad.net/bugs/1439447>18:43
katcomgz: so i'm trying to test this in 1.2318:53
katcomgz: and when i bootstrap i get a bootstrap failure18:54
natefinchcherylj: my thought was basically that we should have a configuration that lets the user decide whether juju uses the proxy to connect to other machines in the environment or not.18:54
mgzkatco: as in, the machine doesn't come up?18:54
katcomgz: "ERROR failed to bootstrap environment: Juju cannot bootstrap because no tools are available for your environment."18:54
mgzkatco: with --upload-tools?18:54
natefinchcherylj: since it seems to me that it's likely that no matter which way we decide to do it, someone's going to want it to work the other way18:54
cheryljnatefinch: ha, too true18:54
katcomgz: i knew it was something dumb18:55
katcocherylj: looking forward to charming at the sprint. it would be nice if i actually got to work WITH juju more, and not just ON it :)18:56
cheryljkatco: me too!  It should be fun and I think alexisb is working on some actual prizes for the teams :D18:56
mgzkatco: ...that's just begging for a cheesy joke18:58
mgzwhy do all the things we work with have silly names18:58
katcomgz: please proceed :)18:58
mgzwell, you're clearly charming already?18:59
katcoLOLOLOLOL18:59
katco10 points england.18:59
katcomgz: (et. al.) http://reviews.vapour.ws/r/1386/19:01
katcomgz: and it would be super awesome if you could try china again19:02
katco1 line change btw19:03
redelmannhi, is safe to deploy block-storage-broker to machine0??19:03
mgzkatco: lgtm, how to the multiple branches with go-amz work? change also needs to land on v4-unstable, or does v3 get merged up periodically?19:03
redelmanncreate one instance just to manage credential is overkilling19:04
katcomgz: i think dimiter merges changes to v3 up to v4 occasionally19:04
mgzkatco: I'll merge that locally and see19:04
katcomgz: i don't know why we branch an unstable before we have unstable changes actually19:04
katcomgz: seems like it creates a lot of work19:04
mgzdiscourage people from landing features on an active verion I'm guessing19:04
mgzer... s/active/stable/19:04
mgzredelmann: that may be a better question for #juju - but gernally feel free to smoosh till something actually breaks19:06
redelmannmgz, thank!!19:06
katcomgz: and trunk: http://reviews.vapour.ws/r/1388/19:07
mgzwhoops, used wrong key19:14
mgzwell, it bootstrapped till the ssh step19:14
katco:)19:15
katcomgz: can i get a rq lgtm on http://reviews.vapour.ws/r/1388/?19:27
mgzI was trying to make sure it works first, but this ssh step hates me ;_;19:27
katcooh, no worries then19:27
katcotake your time19:27
mgzI can ssh into the address fine, but juju refuses to for some reason19:28
katcoweird...19:28
mgzbut prints stuff out the first time I do on another console? bootstrap is too darn complicated these days19:28
natefinchthese days? :)19:29
mgzget off my lawn!19:30
natefinchhaha19:30
mgzokay, now it's running19:30
katcohaha19:30
mgzI have no idea what was happening there19:30
mgzkatco: so, basically, api queries do now work19:31
mgzand my china bootstrap is happily installing packages currently19:31
katcoo/ <--- tiny lighter you can't see19:31
natefinchhaha... I spent all day trying to debug an api connection problem and somehow forgot to look at the log for machine 0..... where it was evidently filling up with panics :/19:31
mgzstamped the trunk dep update too19:31
mgzjoy19:32
katcomgz: so to sum things up19:32
katcomgz: i finally accomplished the first task i was given when i started canonical.19:32
katcomgz: and it only took me about a year. :)19:32
mgzhttps://pastebin.canonical.com/12895319:33
katcowoohoo!19:34
katcothat is great to see! :D19:34
mgzhey, getting it done is getting it done :)19:35
mgzkatco: when the 1.23 branch goes through, I'll take the deb and set up a cloud-health job for the china region, hopefully later tonight19:40
katcomgz: :D19:40
=== kadams54 is now known as kadams54-away
mgznatefinch: juju running on az-cn is something we can talk about publically right (slightly late, wtv)19:41
natefinchdhah19:42
natefinch¯\_(ツ)_/¯19:42
natefinchhonestly no clue19:43
=== tvansteenburgh1 is now known as tvansteenburgh
=== kadams54-away is now known as kadams54
alexisball, I have to go pick up kiddo realy from grandma's today, so I am will be out until james gets back from work19:53
alexisbso everyone have a very happy holiday weekend!19:53
katcoalexisb: tc!19:58
katcoalexisb: habe a great weekend19:58
=== kadams54 is now known as kadams54-away
mupBug #1440199 was opened: api/uniter: Panic: stateSuite.TearDownTest <ci> <test-failure> <unit-tests> <juju-core:New> <https://launchpad.net/bugs/1440199>21:18
mupBug #1440205 was opened: cmd/juju: PANIC: addrelation_test.go:11: SetUpTest.pN39_github_com_juju_juju_cmd_juju.UserSuite <ci> <test-failure> <unit-tests> <juju-core:New> <https://launchpad.net/bugs/1440205>21:18
mupBug #1440209 was opened: juju action do doesn't accept non-string params on command line <juju-core:New> <https://launchpad.net/bugs/1440209>21:18
mupBug #1440213 was opened: worker/uniter: TestLeadership.pN51_github_com_juju_juju_worker_uniter_test.UniterSuite <juju-core:New> <https://launchpad.net/bugs/1440213>21:24
ericsnowcmars: you have a minute to look over http://reviews.vapour.ws/r/1380/?21:30
ericsnowcmars: I've switched it over to YAML and am using the new cmd.FileVar.Open method21:31
mupBug #1440213 changed: worker/uniter: TestLeadership.pN51_github_com_juju_juju_worker_uniter_test.UniterSuite <juju-core:New> <https://launchpad.net/bugs/1440213>21:36
=== urulama is now known as urulama__
=== tvansteenburgh is now known as tvan-afk
mupBug #1440213 was opened: worker/uniter: TestLeadership.pN51_github_com_juju_juju_worker_uniter_test.UniterSuite <juju-core:New> <https://launchpad.net/bugs/1440213>21:48
mupBug #1440219 was opened: worker/uniter:TestLeadership.pN51_github_com_juju_juju_worker_uniter_test.UniterSuite <juju-core:New> <https://launchpad.net/bugs/1440219>21:48
=== kadams54-away is now known as kadams54

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