Monday, 2010-02-08

[2010/02/08 02:04:37] @ Log started by gepetto
[2010/02/08 02:04:37] @ lak joined channel #puppet-dev
[2010/02/08 02:58:44] @ Quit: lak: Quit: lak
[2010/02/08 03:13:11] <masterzen> duritong: thanks... now I need to find some guinea pigs to try it on a real system :-)
[2010/02/08 03:37:20] <duritong> masterzen: hehe
[2010/02/08 03:37:41] <duritong> masterzen: can't really promise anything in the next weeks :(
[2010/02/08 03:47:41] @ Quit: ppickfor: Ping timeout: 246 seconds
[2010/02/08 04:00:05] <masterzen> duritong: I wasn't directly referring to you :-)
[2010/02/08 04:03:16] @ ppickfor joined channel #puppet-dev
[2010/02/08 04:07:46] <duritong> yeah but I would be a good participant, having that large catalogs
[2010/02/08 04:13:02] @ Quit: ppickfor: Ping timeout: 264 seconds
[2010/02/08 04:13:36] @ ppickfor joined channel #puppet-dev
[2010/02/08 04:41:49] @ Quit: ppickfor: Ping timeout: 264 seconds
[2010/02/08 04:42:48] @ ppickfor joined channel #puppet-dev
[2010/02/08 04:58:25] @ Quit: ppickfor: Ping timeout: 260 seconds
[2010/02/08 05:14:22] @ ppickfor joined channel #puppet-dev
[2010/02/08 05:16:53] @ ppickfor1 joined channel #puppet-dev
[2010/02/08 05:16:54] @ Quit: ppickfor: Disconnected by services
[2010/02/08 05:16:55] @ ppickfor1 is now known as ppickfor
[2010/02/08 05:25:54] @ Quit: ppickfor: Ping timeout: 240 seconds
[2010/02/08 05:26:04] @ ppickfor joined channel #puppet-dev
[2010/02/08 05:41:21] @ Quit: ppickfor: Ping timeout: 260 seconds
[2010/02/08 05:57:02] @ ppickfor joined channel #puppet-dev
[2010/02/08 06:05:21] @ Quit: ppickfor: Disconnected by services
[2010/02/08 06:05:21] @ ppickfor1 joined channel #puppet-dev
[2010/02/08 06:05:23] @ ppickfor1 is now known as ppickfor
[2010/02/08 06:16:19] @ Quit: ppickfor: Ping timeout: 265 seconds
[2010/02/08 06:30:28] @ ppickfor joined channel #puppet-dev
[2010/02/08 07:29:22] @ Quit: ppickfor: Ping timeout: 248 seconds
[2010/02/08 07:39:53] @ ppickfor joined channel #puppet-dev
[2010/02/08 07:55:04] @ zazan joined channel #puppet-dev
[2010/02/08 07:55:12] <zazan> good afternoon all
[2010/02/08 07:56:48] @ Quit: ppickfor: Read error: Connection reset by peer
[2010/02/08 07:57:16] <zazan> quick question, I'm using puppet 0.25.4 and I've been experiecing a bit of an issue. When not specifying any log destination puppet logs fine using syslog I suppose (/var/log/messages), on the other hand when specifying --logdest I can always see in the newly created log file "Puppet (notice): Reopening log files" but it just stops there. Infact, if i tail the log nothing gets logged, but if I do restart puppet I can see all that happene
[2010/02/08 08:11:36] <antarus> zazan: you may want to inquire on #puppet{-dev,} ?
[2010/02/08 08:13:48] <zazan> beg pardon if I wrote in the wrong place, I tried to enquire about it on #puppet with no luck (as in no one actually replied), though I can post my issue on your ticketing system if this is preferable
[2010/02/08 08:14:07] @ ppickfor joined channel #puppet-dev
[2010/02/08 08:15:21] <antarus> zazan: hard to say without more information
[2010/02/08 08:15:39] <antarus> oh crickey I thought I was in another channel; this *is* puppet dev
[2010/02/08 08:15:41] <antarus> holy lord
[2010/02/08 08:15:57] * antarus needs coffee
[2010/02/08 08:16:24] <antarus> zazan: what are you setting --logdest to?
[2010/02/08 08:16:37] <zazan> /var/log/puppet/puppet.log
[2010/02/08 08:16:55] <zazan> permissionwise it should be fine as puppet runs as root
[2010/02/08 08:17:02] <antarus> zazan: does puppet have that open?
[2010/02/08 08:17:13] <antarus> ls -al /proc/PID/fd/
[2010/02/08 08:17:17] <antarus> where PID is the PID of puppet
[2010/02/08 08:17:51] <zazan> interesting
[2010/02/08 08:17:58] <zazan> lr-x------ 1 root root 64 Feb 8 14:17 0 -> /dev/null
[2010/02/08 08:17:58] <zazan> l-wx------ 1 root root 64 Feb 8 14:17 1 -> /dev/null
[2010/02/08 08:17:59] <zazan> l-wx------ 1 root root 64 Feb 8 14:17 2 -> /dev/null
[2010/02/08 08:17:59] <zazan> lr-x------ 1 root root 64 Feb 8 14:17 3 -> pipe:[746771]
[2010/02/08 08:18:04] <zazan> l-wx------ 1 root root 64 Feb 8 14:17 4 -> pipe:[746771]
[2010/02/08 08:18:05] <zazan> lrwx------ 1 root root 64 Feb 8 14:17 5 -> socket:[746776]
[2010/02/08 08:18:06] <zazan> sorry for the long pasting
[2010/02/08 08:18:21] <antarus> weird
[2010/02/08 08:18:29] <antarus> I'd expect it to have /var/log/puppet/puppet.log open
[2010/02/08 08:19:28] <zazan> my mistake, edited earlier on sysconfig/puppet and commented the logdest reference, now it shows up but I keep getting the problem
[2010/02/08 08:19:33] <zazan> l-wx------ 1 root root 64 Feb 8 14:19 3 -> /var/log/puppet/puppet.log
[2010/02/08 08:19:58] <antarus> aha
[2010/02/08 08:20:00] <zazan> now if I tail /var/log/puppet/puppet.log
[2010/02/08 08:20:05] <zazan> I can see Mon Feb 08 14:18:58 CET 2010 Puppet (notice): Reopening log files
[2010/02/08 08:20:20] <zazan> but nothing else afterwards, I can see the rest just when I restart it again
[2010/02/08 08:20:25] @ github joined channel #puppet-dev
[2010/02/08 08:20:25] <github> puppet: 0.25.x Mark Plaksin * ad4f94a (1 files in 1 dirs): Add version number to puppetlast display. ...
[2010/02/08 08:20:25] <github> puppet: 0.25.x James Turnbull * efd0f76 (6 files in 2 dirs): Fixed #3128 - Updated man pages and moved puppet.conf.8 to puppet.conf.5
[2010/02/08 08:20:26] <gepetto> github: puppet: #3128 is http://projects.reductivelabs.com/issues/show/3128 "Puppet - Bug #3128: puppet.conf manpage misplaced. - ReductiveLabs.com"
[2010/02/08 08:20:26] <github> puppet: 0.25.x commits 0533cea...efd0f76 - http://bit.ly/axmOkR
[2010/02/08 08:20:26] @ github left channel #puppet-dev ()
[2010/02/08 08:21:58] <zazan> no idea why, it just doesn't seem to log in the meantime
[2010/02/08 09:45:36] <ohadlevy> masterzen: nice work :) I'll try to give it a try soon
[2010/02/08 09:45:56] <ohadlevy> masterzen: is it suppose to get rid of my yaml catalog problems too? ;)
[2010/02/08 09:46:00] <masterzen> ohadlevy: no
[2010/02/08 09:46:09] <masterzen> ohadlevy: (unfortunately)
[2010/02/08 09:46:17] <masterzen> ohadlevy: do not try on a critical system :-)
[2010/02/08 09:46:38] <ohadlevy> :)
[2010/02/08 09:47:21] <masterzen> ohadlevy: I think an extended version of the patch would be able to get rid of the yaml catalog by streaming the json directly to disk when downloading it.
[2010/02/08 09:47:38] <masterzen> ohadlevy: but I felt lazy :-)
[2010/02/08 09:48:11] <ohadlevy> i think you've done more than enough for one weekend :)
[2010/02/08 09:57:02] <masterzen> ohadlevy: it didn't took a long time. I spent more time trying to workaround the madness of Net::HTTP than coding the whole thing...
[2010/02/08 10:11:24] <ohadlevy> masterzen: yeah, I know what you mean, whats wrong with it though?
[2010/02/08 10:12:15] <masterzen> ohadlevy: when you use http.request_get(...) do |response| ... end, the response is valid only in the block (which is OK to me), and you can read the body chunk by chunk.
[2010/02/08 10:12:58] <masterzen> ohadlevy: _but_ if you need to actually store the response and fetch the body after in a totally isolated way (and do the cleanup/finish yourself), there is no way to do that.
[2010/02/08 10:13:27] <masterzen> ohadlevy: if you escape the request_get block, net/http will read the body at once for you, and close everything. The api doesn't allow you to do so.
[2010/02/08 10:14:22] <masterzen> ohadlevy: so I ended up firing a thread which does the chunk by chunk reading, feeding a bounded queue, that the main thread would pop to write to disk... In the end it works fine, but was much more complex than what I really needed.
[2010/02/08 10:14:49] <ohadlevy> brr
[2010/02/08 10:15:27] <ohadlevy> are there any esc methods in the cgi class?
[2010/02/08 10:15:57] <masterzen> ohadlevy: what do you mean? CGI.encode?
[2010/02/08 10:16:22] <masterzen> ohadlevy: sorry CGI.escape
[2010/02/08 10:16:41] <masterzen> ohadlevy: http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/classes/CGI.html#M000065
[2010/02/08 10:17:55] <ohadlevy> yeah, thats the one
[2010/02/08 11:40:18] @ lak joined channel #puppet-dev
[2010/02/08 11:43:30] @ jes5 joined channel #puppet-dev
[2010/02/08 11:56:32] @ jes51 joined channel #puppet-dev
[2010/02/08 11:56:34] @ Quit: jes5: Read error: Connection reset by peer
[2010/02/08 12:15:38] @ Quit: lak: Quit: lak
[2010/02/08 12:15:57] @ lak joined channel #puppet-dev
[2010/02/08 12:16:12] @ Quit: lak: Client Quit
[2010/02/08 12:22:37] @ Quit: zazan: Ping timeout: 264 seconds
[2010/02/08 12:43:11] @ jes5 joined channel #puppet-dev
[2010/02/08 12:43:12] @ Quit: jes51: Read error: Connection reset by peer
[2010/02/08 13:24:56] @ lak joined channel #puppet-dev
[2010/02/08 13:36:57] @ Quit: jes5: Ping timeout: 240 seconds
[2010/02/08 13:48:27] @ jes5 joined channel #puppet-dev
[2010/02/08 13:53:13] @ yappy joined channel #puppet-dev
[2010/02/08 14:00:58] @ Quit: lak: Quit: lak
[2010/02/08 14:01:31] @ lak joined channel #puppet-dev
[2010/02/08 14:59:59] @ Quit: ch: Quit: Lost terminal
[2010/02/08 15:01:37] @ ch joined channel #puppet-dev
[2010/02/08 17:52:38] @ plathrop joined channel #puppet-dev
[2010/02/08 19:22:06] @ Quit: jes5: Ping timeout: 276 seconds
[2010/02/08 19:41:06] @ Quit: lak: Quit: lak
[2010/02/08 20:17:48] @ quit (okay bye)
[2010/02/08 20:18:19] @ Joined channel #puppet-dev
[2010/02/08 20:18:19] @ Topic is "http://reductivelabs.com/trac/puppet"
[2010/02/08 20:18:19] @ Topic set by ReinH on Wed Sep 09 18:22:10 -0400 2009
[2010/02/08 20:18:32] @ Mode +cnt by anthony.freenode.net
[2010/02/08 23:10:37] @ plathrop is now known as plathrop-away

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