TheMue | morning | 06:36 |
---|---|---|
fwereade__ | heya TheMue | 06:43 |
TheMue | fwereade__: moin | 06:43 |
wrtp | TheMue, fwereade__: mornin' | 07:47 |
TheMue | wrtp: heya | 07:47 |
wrtp | hmm, why is compiz continually burning 84% cpu. i think i may reboot. | 07:47 |
fwereade__ | heya wrtp | 07:48 |
wrtp | hmm, turned out restarting chrome helped a lot. | 07:54 |
TheMue | wrtp: yes, sometimes chrome goes wild | 08:23 |
wrtp | anyone here knowledgable about ssh? | 12:47 |
TheMue | wrtp: only as a user. but i'm listening. | 12:49 |
wrtp | TheMue: here's a transcript of an invocation of ssh: http://paste.ubuntu.com/935399/ | 12:49 |
wrtp | TheMue: it exits immediately with no error and i can't work out why | 12:50 |
TheMue | wrtp: *click* | 12:50 |
wrtp | TheMue: the debug lines are output from the -v option (debug3 is more verbose than debug1) | 12:50 |
TheMue | wrtp: ok | 12:51 |
wrtp | TheMue: i *think* all the key_read errors are spurious | 12:51 |
TheMue | wrtp: you checked the file? does it exist, does it have proper line endings? | 12:52 |
wrtp | TheMue: it looks fine. | 12:52 |
wrtp | TheMue: http://paste.ubuntu.com/935404/ | 12:53 |
wrtp | (i don't care about publishing this particular private key...) | 12:53 |
TheMue | wrtp: hehe | 12:53 |
TheMue | wrtp: hmm, i would now load it into an editor and use 'save as …' after controlling settings for line endings and encoding | 12:54 |
wrtp | TheMue: my editor is always utf-8 and always displays carriage returns | 12:55 |
wrtp | TheMue: and it looks like the key read succeeded: debug1: read PEM private key done: type RSA | 12:56 |
TheMue | wrtp: mom, will compare something | 12:56 |
TheMue | wrtp: hm, sh.., looks good so far | 13:02 |
TheMue | wrtp: which line you're referring to? | 13:02 |
wrtp | the one with that value :-) | 13:03 |
wrtp | TheMue: line 123 | 13:03 |
TheMue | wrtp: thx | 13:03 |
wrtp | TheMue: ah, i *think* i see it | 13:05 |
wrtp | TheMue: i'm not sure you can run the ssh client without executing a command | 13:05 |
TheMue | wrtp: line 235? | 13:05 |
TheMue | wrtp: here it is closed. | 13:06 |
wrtp | TheMue: line 141 | 13:06 |
wrtp | TheMue: it shouldn't be trying to enter an interactive session. | 13:06 |
wrtp | TheMue: i just want a port forwarder | 13:06 |
TheMue | wrtp: but as an interactive session it should stay open, shouldn't it? | 13:06 |
TheMue | wrtp: even if you don't want that here. | 13:07 |
wrtp | TheMue: except that for security reasons i've disabled commands in the sshd | 13:07 |
wrtp | TheMue: by specifying an empty command to be run | 13:07 |
TheMue | wrtp: ah, ok | 13:07 |
wrtp | TheMue: maybe if i make it sleep for a while instead | 13:07 |
wrtp | jeeze | 13:07 |
wrtp | this is such a hack | 13:08 |
wrtp | TheMue: yes, it looks like that's the problem. | 13:10 |
wrtp | TheMue: why should i need to do anything about commands... i just want a port forwarder! | 13:10 |
TheMue | wrtp: I'm looking for that right now. Last time I needed it is long ago. ;) | 13:11 |
wrtp | sigh. the test passes now. | 13:11 |
wrtp | TheMue: thanks for looking at it with me. it helped. | 13:12 |
TheMue | wrtp: np | 13:12 |
wrtp | TheMue: 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 |
wrtp | s/og/debug/ | 13:13 |
TheMue | wrtp: does http://stackoverflow.com/questions/7533661/how-to-log-ssh-debug-info help? | 13:16 |
wrtp | TheMue: no - that's talking about ssh, not sshd | 13:17 |
TheMue | wrtp: argh, yes | 13:23 |
niemeyer | Heya! | 13:41 |
niemeyer | Passported now :) | 13:41 |
niemeyer | Maybe I'll even go to UDS! | 13:41 |
TheMue | niemeyer: moin | 13:42 |
TheMue | niemeyer: you had troubles with your passport? | 13:43 |
niemeyer | TheMue: No, it just expired | 13:47 |
niemeyer | TheMue: I had to get a new one, but it's always a bit concerning given how frequent we move around | 13:47 |
niemeyer | frequently | 13:47 |
TheMue | niemeyer: ah, ok. mine is still valid, but i needed an ESTA. | 13:48 |
TheMue | niemeyer: how long is it valid in Brazil? | 13:49 |
TheMue | niemeyer: here in Germany it's 10 years. | 13:49 |
niemeyer | TheMue: 5 years only | 13:52 |
niemeyer | TheMue: I was just complaining to the guy about that :) | 13:52 |
TheMue | niemeyer: hehe | 13:53 |
niemeyer | TheMue: At least it's significantly less troublesome to renew it than back in Curitiba | 13:53 |
TheMue | niemeyer: btw, I made some proposals, one only a one line and two ones adding two watcher to unit. | 14:02 |
niemeyer | TheMue: Superb.. I'll put myself to review that right away | 14:03 |
niemeyer | Actually, let me just check if Tom is around | 14:03 |
niemeyer | mthaddon: ping | 14:03 |
andrewsmedina | morning | 14:03 |
andrewsmedina | :D | 14:03 |
TheMue | niemeyer: ok, i started and have to leave early today. daughter has birthday and guests will come soon. | 14:04 |
mthaddon | niemeyer: pings with content get bonus points and save time :) | 14:04 |
TheMue | niemeyer: so i'll see your feedback tomorrow. | 14:04 |
niemeyer | mthaddon: we need to deploy an update to the store | 14:04 |
niemeyer | TheMue: Ah, cool, won't rush then.. you'll have the update by tomorrow for sure | 14:05 |
TheMue | niemeyer: great, thank you | 14:05 |
mthaddon | niemeyer: ok, can you send in an RT with the details and I can follow up? | 14:05 |
niemeyer | mthaddon: Sure | 14:07 |
mthaddon | niemeyer: cool, thx - if you can let me know the number once you have it I can rush it through if it's a priority | 14:08 |
niemeyer | mthaddon: and the number is... | 14:09 |
niemeyer | mthaddon: #52281 | 14:10 |
mthaddon | cool, thx | 14:10 |
mthaddon | niemeyer: 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 to | 14:18 |
niemeyer | mthaddon: Ok, sorry | 14:23 |
niemeyer | mthaddon: It's tip, but I can point you to what tip means for sure | 14:23 |
mthaddon | niemeyer: https://pastebin.canonical.com/64480/ is that what you're looking for? | 14:23 |
niemeyer | mthaddon: yes, that looks right | 14:24 |
mthaddon | cool, will go ahead with that | 14:24 |
niemeyer | mthaddon: I'll be more careful next time | 14:24 |
mthaddon | np, first time we've done this, so just getting the process sorted | 14:25 |
niemeyer | mthaddon: and this is the first time we experience the "schema-upgrades-less" deployment | 14:29 |
mthaddon | indeed! | 14:29 |
niemeyer | mthaddon: I'll get lunch.. back in a bit in case you need me | 15:22 |
mthaddon | k, thx | 15:22 |
mthaddon | niemeyer: let me know when you're back - doesn't seem to be starting with the new code, and nothing obvious in the logs | 15:28 |
mthaddon | niemeyer: ah, I think it's because we've switched to usage: charmd <config path> - didn't realise that was a backwards incompatible change | 15:29 |
mthaddon | niemeyer: 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 |
niemeyer | mthaddon: Hmm.. that was done a while back, by your request | 15:47 |
niemeyer | mthaddon: I thought it was even live already | 15:47 |
mthaddon | niemeyer: it was, but I hadn't yet implemented the changes because I had some questions about the set up | 15:47 |
niemeyer | mthaddon: No problem | 15:47 |
niemeyer | mthaddon: How can I help? | 15:48 |
mthaddon | niemeyer: 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 |
niemeyer | mthaddon: I'd just have a file completely outside the tree | 15:49 |
mthaddon | niemeyer: ok cool - and it looks like charmd accepts the full path to the config as an option? | 15:50 |
niemeyer | mthaddon: Yeah | 15:50 |
mthaddon | great, thx | 15:50 |
niemeyer | mthaddon: Both, actually | 15:50 |
niemeyer | mthaddon: You can use the same config for both | 15:50 |
niemeyer | mthaddon: Despite the fact that one of them will ignore one of th eoptions | 15:50 |
mthaddon | niemeyer: cool cool | 15:51 |
mthaddon | niemeyer: and what's the format of including a username and password for the mongo-url? just $host:$port $username:$password ? | 15:52 |
niemeyer | mthaddon: You can use something like this: mongodb://$user:$password@$host/juju | 15:53 |
niemeyer | mthaddon: you'll need a port there as well, if it's non-default | 15:53 |
niemeyer | mthaddon: The "juju" at the end is the database we use | 15:53 |
mthaddon | the example has "mongo-url: localhost:60017" | 15:53 |
niemeyer | mthaddon: That works too :) | 15:53 |
mthaddon | ah okay, so it'd be "mongo-url: mongodb://$user:$password@$host:$port/juju"? | 15:54 |
niemeyer | mthaddon: Right | 15:54 |
mthaddon | k, thx | 15:54 |
niemeyer | mthaddon: If you're curious, http://godoc.labix.org/mgo#Dial | 15:54 |
* mthaddon nods | 15:55 | |
mthaddon | niemeyer: it'll likely be tomorrow before I can get these changes in place and do the deploy - is that okay? | 15:55 |
niemeyer | mthaddon: Yeah, should be fine | 15:56 |
mthaddon | thx, deployments should be much quicker normally | 15:57 |
wrtp | niemeyer, fwereade__: finally, working ssh forwarder tests. https://codereview.appspot.com/5970053/ | 17:27 |
niemeyer | wrtp: Super! | 17:28 |
niemeyer | wrtp: We need to get our first commands working soon | 17:28 |
wrtp | niemeyer: yeah, definitely. | 17:28 |
niemeyer | wrtp: Will be a lot more exciting when we can start seeing results for real | 17:29 |
wrtp | niemeyer: what command might come first do you think? | 17:29 |
niemeyer | wrtp: bootstrap and status are the obvious pair | 17:29 |
wrtp | niemeyer: bootstrap already works | 17:29 |
niemeyer | wrtp: Well, kind of | 17:29 |
wrtp | niemeyer: oh, ok, it doesn't do the ssh connect... but then it wouldn't need to anyway | 17:29 |
wrtp | niemeyer: next up is making the ssh dial work to zk. | 17:30 |
niemeyer | wrtp: It needs to do more.. we need to figure a way to put commands in the store so we can initialize the ssh | 17:30 |
niemeyer | Emr | 17:30 |
niemeyer | Initialize the zk | 17:30 |
niemeyer | state | 17:30 |
wrtp | niemeyer: i'm not sure what you mean. are you suggesting we do things differently from the python implementation? | 17:31 |
wrtp | ah... | 17:31 |
wrtp | you mean get go to do the initialisation | 17:31 |
wrtp | sure | 17:31 |
niemeyer | wrtp: Yeah, basically that | 17:31 |
niemeyer | wrtp: and so on.. so that we can see results from things being written | 17:32 |
wrtp | ok. well i'm still going to get the ssh working properly first. | 17:32 |
niemeyer | wrtp: Oh yeah, that's a pre-req for everything else | 17:32 |
wrtp | then i'll start mashing the cloudinit stuff | 17:32 |
wrtp | anyway, it's a good time to stop for the day. i can detect twitchiness downstairs :-) | 17:33 |
wrtp | niemeyer: 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 |
niemeyer | wrtp: Sounds great, I'll have some careful experimentation with it | 17:48 |
niemeyer | wrtp: Thanks for the effort there | 17:48 |
niemeyer | fwereade_: Heya | 18:35 |
niemeyer | fwereade_: Have you had a chance to sync up with hazmat? | 18:35 |
hazmat | fwereade_, sync up re? | 19:27 |
hazmat | its demo run around time over here | 19:27 |
hazmat | bcsaller, can you come out on thursday for charm school? it starts at 5:30 in the marina room | 20:35 |
bcsaller | hazmat: as long as thats not the am ;) | 20:36 |
hazmat | bcsaller, fortunately not :-) | 20:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!