/srv/irclogs.ubuntu.com/2012/04/18/#juju-dev.txt

TheMuemorning06:36
fwereade__heya TheMue06:43
TheMuefwereade__: moin06:43
wrtpTheMue, fwereade__: mornin'07:47
TheMuewrtp: heya07:47
wrtphmm, why is compiz continually burning 84% cpu. i think i may reboot.07:47
fwereade__heya wrtp07:48
wrtphmm, turned out restarting chrome helped a lot.07:54
TheMuewrtp: yes, sometimes chrome goes wild08:23
wrtpanyone here knowledgable about ssh?12:47
TheMuewrtp: only as a user. but i'm listening.12:49
wrtpTheMue: here's a transcript of an invocation of ssh: http://paste.ubuntu.com/935399/12:49
wrtpTheMue: it exits immediately with no error and i can't work out why12:50
TheMuewrtp: *click*12:50
wrtpTheMue: the debug lines are output from the -v option (debug3 is more verbose than debug1)12:50
TheMuewrtp: ok12:51
wrtpTheMue: i *think* all the key_read errors are spurious12:51
TheMuewrtp: you checked the file? does it exist, does it have proper line endings?12:52
wrtpTheMue: it looks fine.12:52
wrtpTheMue: http://paste.ubuntu.com/935404/12:53
wrtp(i don't care about publishing this particular private key...)12:53
TheMuewrtp: hehe12:53
TheMuewrtp: hmm, i would now load it into an editor and use 'save as …' after controlling settings for line endings and encoding12:54
wrtpTheMue: my editor is always utf-8 and always displays carriage returns12:55
wrtpTheMue: and it looks like the key read succeeded: debug1: read PEM private key done: type RSA12:56
TheMuewrtp: mom, will compare something12:56
TheMuewrtp: hm, sh.., looks good so far13:02
TheMuewrtp: which line you're referring to?13:02
wrtpthe one with that value :-)13:03
wrtpTheMue: line 12313:03
TheMuewrtp: thx13:03
wrtpTheMue: ah, i *think* i see it13:05
wrtpTheMue: i'm not sure you can run the ssh client without executing a command13:05
TheMuewrtp: line 235?13:05
TheMuewrtp: here it is closed.13:06
wrtpTheMue: line 14113:06
wrtpTheMue: it shouldn't be trying to enter an interactive session.13:06
wrtpTheMue: i just want a port forwarder13:06
TheMuewrtp: but as an interactive session it should stay open, shouldn't it?13:06
TheMuewrtp: even if you don't want that here.13:07
wrtpTheMue: except that for security reasons i've disabled commands in the sshd13:07
wrtpTheMue: by specifying an empty command to be run13:07
TheMuewrtp: ah, ok13:07
wrtpTheMue: maybe if i make it sleep for a while instead13:07
wrtpjeeze13:07
wrtpthis is such a hack13:08
wrtpTheMue: yes, it looks like that's the problem.13:10
wrtpTheMue: why should i need to do anything about commands... i just want a port forwarder!13:10
TheMuewrtp: I'm looking for that right now. Last time I needed it is long ago. ;)13:11
wrtpsigh. the test passes now.13:11
wrtpTheMue: thanks for looking at it with me. it helped.13:12
TheMuewrtp: np13:12
wrtpTheMue: the other really broken thing is that you can't get verbose og messages out of sshd without making it exit after one connection only...13:13
wrtps/og/debug/13:13
TheMuewrtp: does http://stackoverflow.com/questions/7533661/how-to-log-ssh-debug-info help?13:16
wrtpTheMue: no - that's talking about ssh, not sshd13:17
TheMuewrtp: argh, yes13:23
niemeyerHeya!13:41
niemeyerPassported now :)13:41
niemeyerMaybe I'll even go to UDS!13:41
TheMueniemeyer: moin13:42
TheMueniemeyer: you had troubles with your passport?13:43
niemeyerTheMue: No, it just expired13:47
niemeyerTheMue: I had to get a new one, but it's always a bit concerning given how frequent we move around13:47
niemeyerfrequently13:47
TheMueniemeyer: ah, ok. mine is still valid, but i needed an ESTA.13:48
TheMueniemeyer: how long is it valid in Brazil?13:49
TheMueniemeyer: here in Germany it's 10 years.13:49
niemeyerTheMue: 5 years only13:52
niemeyerTheMue: I was just complaining to the guy about that :)13:52
TheMueniemeyer: hehe13:53
niemeyerTheMue: At least it's significantly less troublesome to renew it than back in Curitiba13:53
TheMueniemeyer: btw, I made some proposals, one only a one line and two ones adding two watcher to unit.14:02
niemeyerTheMue: Superb.. I'll put myself to review that right away14:03
niemeyerActually, let me just check if Tom is around14:03
niemeyermthaddon: ping14:03
andrewsmedinamorning14:03
andrewsmedina:D14:03
TheMueniemeyer: ok, i started and have to leave early today. daughter has birthday and guests will come soon.14:04
mthaddonniemeyer: pings with content get bonus points and save time :)14:04
TheMueniemeyer: so i'll see your feedback tomorrow.14:04
niemeyermthaddon: we need to deploy an update to the store14:04
niemeyerTheMue: Ah, cool, won't rush then.. you'll have the update by tomorrow for sure14:05
TheMueniemeyer: great, thank you14:05
mthaddonniemeyer: ok, can you send in an RT with the details and I can follow up?14:05
niemeyermthaddon: Sure14:07
mthaddonniemeyer: cool, thx - if you can let me know the number once you have it I can rush it through if it's a priority14:08
niemeyermthaddon: and the number is...14:09
niemeyermthaddon: #5228114:10
mthaddoncool, thx14:10
mthaddonniemeyer: I was kind of hoping you could include the details of what revnos you would expect to see for each of the parts of the code in the RT so I could cross check that I'm rolling out what you want me to14:18
niemeyermthaddon: Ok, sorry14:23
niemeyermthaddon: It's tip, but I can point you to what tip means for sure14:23
mthaddonniemeyer: https://pastebin.canonical.com/64480/ is that what you're looking for?14:23
niemeyermthaddon: yes, that looks right14:24
mthaddoncool, will go ahead with that14:24
niemeyermthaddon: I'll be more careful next time14:24
mthaddonnp, first time we've done this, so just getting the process sorted14:25
niemeyermthaddon: and this is the first time we experience the "schema-upgrades-less" deployment14:29
mthaddonindeed!14:29
niemeyermthaddon: I'll get lunch.. back in a bit in case you need me15:22
mthaddonk, thx15:22
mthaddonniemeyer: let me know when you're back - doesn't seem to be starting with the new code, and nothing obvious in the logs15:28
mthaddonniemeyer: ah, I think it's because we've switched to usage: charmd <config path> - didn't realise that was a backwards incompatible change15:29
mthaddonniemeyer: have reverted to previous code for now, will make sure to get that updated (and have a few questions for you related to that)15:30
niemeyermthaddon: Hmm.. that was done a while back, by your request15:47
niemeyermthaddon: I thought it was even live already15:47
mthaddonniemeyer: it was, but I hadn't yet implemented the changes because I had some questions about the set up15:47
niemeyermthaddon: No problem15:47
niemeyermthaddon: How can I help?15:48
mthaddonniemeyer: so I'd like the config that we use to live outside the code tree so that we can include the password in it for production without having that in the branch - there are a few ways we can do this... either just a completely separate config file, or some kind of inheritance where we just include the values that differ from dev in that config file - what do you think?15:49
niemeyermthaddon: I'd just have a file completely outside the tree15:49
mthaddonniemeyer: ok cool - and it looks like charmd accepts the full path to the config as an option?15:50
niemeyermthaddon: Yeah15:50
mthaddongreat, thx15:50
niemeyermthaddon: Both, actually15:50
niemeyermthaddon: You can use the same config for both15:50
niemeyermthaddon: Despite the fact that one of them will ignore one of th eoptions15:50
mthaddonniemeyer: cool cool15:51
mthaddonniemeyer: and what's the format of including a username and password for the mongo-url? just $host:$port $username:$password ?15:52
niemeyermthaddon: You can use something like this: mongodb://$user:$password@$host/juju15:53
niemeyermthaddon: you'll need a port there as well, if it's non-default15:53
niemeyermthaddon: The "juju" at the end is the database we use15:53
mthaddonthe example has "mongo-url: localhost:60017"15:53
niemeyermthaddon: That works too :)15:53
mthaddonah okay, so it'd be "mongo-url: mongodb://$user:$password@$host:$port/juju"?15:54
niemeyermthaddon: Right15:54
mthaddonk, thx15:54
niemeyermthaddon: If you're curious, http://godoc.labix.org/mgo#Dial15:54
* mthaddon nods15:55
mthaddonniemeyer: it'll likely be tomorrow before I can get these changes in place and do the deploy - is that okay?15:55
niemeyermthaddon: Yeah, should be fine15:56
mthaddonthx, deployments should be much quicker normally15:57
wrtpniemeyer, fwereade__: finally, working ssh forwarder tests. https://codereview.appspot.com/5970053/17:27
niemeyerwrtp: Super!17:28
niemeyerwrtp: We need to get our first commands working soon17:28
wrtpniemeyer: yeah, definitely.17:28
niemeyerwrtp: Will be a lot more exciting when we can start seeing results for real17:29
wrtpniemeyer: what command might come first do you think?17:29
niemeyerwrtp: bootstrap and status are the obvious pair17:29
wrtpniemeyer: bootstrap already works17:29
niemeyerwrtp: Well, kind of17:29
wrtpniemeyer: oh, ok, it doesn't do the ssh connect... but then it wouldn't need to anyway17:29
wrtpniemeyer: next up is making the ssh dial work to zk.17:30
niemeyerwrtp: It needs to do more.. we need to figure a way to put commands in the store so we can initialize the ssh17:30
niemeyerEmr17:30
niemeyerInitialize the zk17:30
niemeyerstate17:30
wrtpniemeyer: i'm not sure what you mean. are you suggesting we do things differently from the python implementation?17:31
wrtpah...17:31
wrtpyou mean get go to do the initialisation17:31
wrtpsure17:31
niemeyerwrtp: Yeah, basically that17:31
niemeyerwrtp: and so on.. so that we can see results from things being written17:32
wrtpok. well i'm still going to get the ssh working properly first.17:32
niemeyerwrtp: Oh yeah, that's a pre-req for everything else17:32
wrtpthen i'll start mashing the cloudinit stuff17:32
wrtpanyway, it's a good time to stop for the day. i can detect twitchiness downstairs :-)17:33
wrtpniemeyer: i anticipate lots of remarks on ssh_test.go. i found it quite hard work... i'd appreciate it if you could make sure it works on your computer too, as it might easily be sensitive to ssh version differences.17:36
niemeyerwrtp: Sounds great, I'll have some careful experimentation with it17:48
niemeyerwrtp: Thanks for the effort there17:48
niemeyerfwereade_: Heya18:35
niemeyerfwereade_: Have you had a chance to sync up with hazmat?18:35
hazmatfwereade_, sync up re?19:27
hazmatits demo run around time over here19:27
hazmatbcsaller, can you come out on thursday for charm school? it starts at 5:30 in the marina room20:35
bcsallerhazmat: as long as thats not the am ;)20:36
hazmatbcsaller, fortunately not :-)20:36

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