ruote tmp/log_2011-05-30.html

2011-05-30 04:23:32 utc jmettraux toulmean: hello and welcome to #ruote
2011-05-30 04:31:39 utc toulmean jmettraux: hi
2011-05-30 07:40:07 utc jmettraux kennethkalmer: hello, thanks for the daemon-kit adaptation !
2011-05-30 07:40:12 utc jmettraux coffee ?
2011-05-30 07:40:20 utc kennethkalmer jmettraux: hi, only a pleasure
2011-05-30 07:40:25 utc kennethkalmer yes please !
2011-05-30 07:40:38 utc jmettraux ACTION emits espresso
2011-05-30 07:41:36 utc kennethkalmer ACTION consumes happily :D
2011-05-30 07:43:48 utc kennethkalmer had fun with that fix, rvm helped a lot while testing three different gems in isolation
2011-05-30 07:45:21 utc jmettraux wayneeseguin: yes, RVM is making our lives happier, everyday
2011-05-30 08:18:42 utc Farrel Hi all, anyone had issues with Ruote interfering with the timezone in Rails?
2011-05-30 08:22:46 utc kennethkalmer Mr Lifson !
2011-05-30 08:22:49 utc kennethkalmer welcome
2011-05-30 08:22:52 utc kennethkalmer no, I haven't
2011-05-30 08:23:13 utc kennethkalmer what are your symptoms ?
2011-05-30 08:23:27 utc Farrel I'm trying to run a ruote engine/storage in a rails 2.3.10 proj
2011-05-30 08:23:44 utc Farrel I config.gem('ruote') and start up the engine in an initialiser
2011-05-30 08:24:11 utc Farrel but then Rails complains the 'config.time_zone is not recognized'
2011-05-30 08:24:20 utc kennethkalmer config.time_zone is Rails 3
2011-05-30 08:24:22 utc kennethkalmer iirc
2011-05-30 08:24:32 utc kennethkalmer config.active_record.time_zone or something like that
2011-05-30 08:24:53 utc Farrel no time_zone is rails 2
2011-05-30 08:25:10 utc kennethkalmer oh, read that in release notes somewhere the weekend
2011-05-30 08:25:16 utc kennethkalmer can you gist a backtrace ?
2011-05-30 08:26:01 utc kennethkalmer i'm using ruote 2.2.0 and ruote-amqp 2.2.1 with hybrid couch/redis stores in a 2.3.11 project
2011-05-30 08:26:29 utc kennethkalmer via Gemfile, not config.gem though
2011-05-30 08:27:37 utc Farrel https://gist.github.com/998607
2011-05-30 08:27:54 utc Farrel it's all just rails backtrace
2011-05-30 08:28:00 utc Farrel ruote doesn't showup
2011-05-30 08:28:13 utc Farrel but if we remove ghe config.gem('ruote') it's all good
2011-05-30 08:29:10 utc kennethkalmer digging into the source quickly
2011-05-30 08:30:24 utc kennethkalmer the string "time_zone" is nowhere in the ruote source for 2.2.0
2011-05-30 08:30:42 utc Farrel I think rails monkeypatches Time.zone
2011-05-30 08:30:44 utc Farrel or something
2011-05-30 08:30:59 utc kennethkalmer what storage are you using ?
2011-05-30 08:31:18 utc Farrel just FS storage for now
2011-05-30 08:31:26 utc kennethkalmer that should work perfectly
2011-05-30 08:31:39 utc Farrel but even if we comment out the engine initialising
2011-05-30 08:31:55 utc Farrel it's just actually including the gem which is causing
2011-05-30 08:32:07 utc Farrel the issue
2011-05-30 08:32:14 utc kennethkalmer so it might be a dependency
2011-05-30 08:32:59 utc kennethkalmer looking at rufus-scheduler first
2011-05-30 08:33:20 utc kennethkalmer rufus-scheduler has a dependency on tzinfo
2011-05-30 08:33:27 utc kennethkalmer maybe that is the culprit
2011-05-30 08:33:27 utc Farrel ah
2011-05-30 08:33:41 utc kennethkalmer 'tzinfo', '>= 0.3.23'
2011-05-30 08:34:01 utc kennethkalmer rails vendor's tzinfo prior to 3 doesn't it ?
2011-05-30 08:34:25 utc Farrel I don't know
2011-05-30 08:34:28 utc Farrel never used it before
2011-05-30 08:34:41 utc Farrel but it would point to a suspect
2011-05-30 08:35:05 utc kennethkalmer yep
2011-05-30 08:35:22 utc kennethkalmer rails 2.3.10 has tzinfo-0.3.12 in active_support/lib/vendor
2011-05-30 08:35:38 utc kennethkalmer same for 2.3.11
2011-05-30 08:36:09 utc Farrel lemme see if I can load in a later gem
2011-05-30 08:36:24 utc kennethkalmer maybe http://gembundler.com/rails23.html instead of config.gem ?
2011-05-30 08:36:43 utc kennethkalmer only difference between me and you is bundler and i'm on .11 while you are on .10
2011-05-30 08:37:59 utc Farrel going to try that...
2011-05-30 08:38:03 utc kennethkalmer the ActiveSupport CHANGELOG shows no changes between 2.3.10 and 2.3.11
2011-05-30 08:38:05 utc kennethkalmer bundle rocks
2011-05-30 08:38:08 utc kennethkalmer *bundler
2011-05-30 08:38:47 utc kennethkalmer sidenote, I'm in the mother city the week of the 6th, we going to have a beer ?
2011-05-30 08:38:57 utc Farrel sure thing
2011-05-30 08:39:02 utc kennethkalmer awesome
2011-05-30 08:39:11 utc kennethkalmer helping Platform45 out with ruote that week too
2011-05-30 08:39:56 utc Farrel you can come to Ruby Brigade
2011-05-30 08:40:00 utc Farrel it should be on the 8th
2011-05-30 08:44:16 utc kennethkalmer yeah, will put that down
2011-05-30 08:48:56 utc kennethkalmer guys, I'm relocating to a some yet-to-be-decided cafe
2011-05-30 08:49:01 utc kennethkalmer will be back online shortly
2011-05-30 11:57:48 utc wayneeseguin jmettraux w00t!!! :)
2011-05-30 11:58:04 utc wayneeseguin kennethkalmer where have you beeeeennnn!!!!!!
2011-05-30 12:45:27 utc Farrel kennethkalmer: Bundler worked
2011-05-30 12:45:28 utc jmettraux kennethkalmer: wb, if it helps I can remove the tzinfo version limitation on the rufus-scheduler gem, so that it accomodates with any Rails
2011-05-30 12:45:35 utc Farrel thanks
2011-05-30 12:45:43 utc kennethkalmer Farrel: yeah!
2011-05-30 12:45:51 utc kennethkalmer jmettraux: rather document the caveat
2011-05-30 12:46:10 utc kennethkalmer config.gem is history, so to speak
2011-05-30 12:47:07 utc jmettraux OK, I'll do that
2011-05-30 12:47:23 utc kennethkalmer thanks :)
2011-05-30 12:47:34 utc kennethkalmer somethings just have to be left in the past
2011-05-30 12:47:59 utc kennethkalmer with Rails 3.1 on the horizon, 2.3.x should be abandoned
2011-05-30 12:48:16 utc kennethkalmer and the bundler workaround is great since it is our current future
2011-05-30 12:49:53 utc jmettraux wayneeseguin was wondering were you had been
2011-05-30 12:49:53 utc jmettraux where
2011-05-30 12:50:24 utc kennethkalmer this morning or in general :)
2011-05-30 12:50:53 utc kennethkalmer hi wayneeseguin!
2011-05-30 12:51:14 utc jmettraux in general
2011-05-30 12:51:56 utc kennethkalmer i wonder that myself
2011-05-30 12:52:23 utc kennethkalmer part of the reason is that a 14 month old rk branch got merged to master recently
2011-05-30 12:52:30 utc kennethkalmer now i'm prepping all the new servers for deployment
2011-05-30 12:52:42 utc kennethkalmer almost all our remote participants got complete revamps
2011-05-30 12:53:00 utc kennethkalmer deployment day is wednesday morning
2011-05-30 12:53:08 utc kennethkalmer giving the processes 'sleeping' in ruote-rest a chance to finish
2011-05-30 12:53:22 utc jmettraux they locked in the server room
2011-05-30 12:53:22 utc jmettraux they locked you in the server room
2011-05-30 12:53:44 utc kennethkalmer haha
2011-05-30 12:53:50 utc kennethkalmer nope, everything remote
2011-05-30 12:54:05 utc kennethkalmer only go to the server room when everything else has failed
2011-05-30 12:54:17 utc jmettraux excellent
2011-05-30 12:54:27 utc kennethkalmer most of our servers have BMC's configured, so I can even pull a kernel panic over SSH for inspection
2011-05-30 12:54:57 utc kennethkalmer once ruote 2.2 is in production my next target is implementing OpenStack for us
2011-05-30 12:55:25 utc kennethkalmer once openstack is in place we'll integrate it into our workflows
2011-05-30 12:57:10 utc jmettraux ah, sweet
2011-05-30 12:57:31 utc kennethkalmer yeah, can't wait :)
2011-05-30 12:57:44 utc kennethkalmer that is about 2 or 3 months off though
2011-05-30 12:58:09 utc kennethkalmer have to build a large test lab for openstack first, then figure out a migration path for 100+ vm's
2011-05-30 12:58:44 utc jmettraux how is openstack coming along ? I saw the buzz about one of its dev leaving
2011-05-30 12:59:08 utc kennethkalmer moving very quickly
2011-05-30 12:59:23 utc kennethkalmer the code is actually quite elegant
2011-05-30 12:59:48 utc kennethkalmer and they use a lot of technologies we do already, and principles
2011-05-30 13:00:02 utc kennethkalmer our "cloud" just doesn't have an API
2011-05-30 13:00:27 utc kennethkalmer so i drafted an API and compared it to OpenStack, just to find they match 95%
2011-05-30 13:00:37 utc jmettraux excellent
2011-05-30 13:00:53 utc kennethkalmer so i decided that Rackspace/NASA/Cisco/VMware/MS can probably do a better job than just me :)
2011-05-30 13:01:12 utc kennethkalmer we'll probably contribute, have a lot of experience virtualizing
2011-05-30 13:01:17 utc kennethkalmer been doing it for almost 9 years now
2011-05-30 13:01:29 utc jmettraux :-)
2011-05-30 13:01:54 utc kennethkalmer the only thing foreign to us is the networking models
2011-05-30 13:01:59 utc kennethkalmer everything else is standard stuff :)
2011-05-30 13:02:26 utc kennethkalmer nova-volume (aka EBS) uses vblade for AoE, we're running that already
2011-05-30 13:02:40 utc kennethkalmer i think that nova-volume and the networking models are what trip people over
2011-05-30 13:02:53 utc kennethkalmer running nova-compute (vm's) is quite straight forward
2011-05-30 13:03:57 utc kennethkalmer coffee anyone ?
2011-05-30 13:05:38 utc jmettraux coffee ? yes, please
2011-05-30 13:06:28 utc kennethkalmer ACTION runs to the kitchen
2011-05-30 13:10:46 utc kennethkalmer ACTION emits espresso dopio
2011-05-30 13:13:33 utc jmettraux ACTION intercepts and consumes
2011-05-30 13:14:04 utc kennethkalmer can we call this pattern "mug/reduce" ?
2011-05-30 13:14:51 utc kennethkalmer (sounded better in my head)
2011-05-30 13:20:44 utc jmettraux map, mapped, mug, mugged
2011-05-30 13:21:56 utc jmettraux have a good day, disconnecting...
2011-05-30 13:45:39 utc wayneeseguin :)
2011-05-30 13:45:59 utc wayneeseguin kennethkalmer: I must show you BDSM sometime
2011-05-30 13:46:11 utc kennethkalmer :)
2011-05-30 13:46:14 utc kennethkalmer curious about it
2011-05-30 13:46:22 utc wayneeseguin It's coming along nicely
2011-05-30 13:46:28 utc kennethkalmer we're a chef shop, how does it fit in then ?
2011-05-30 13:46:52 utc wayneeseguin You would use BDSM on individual systems and have chef call bdsm extension actions
2011-05-30 13:47:37 utc wayneeseguin eg. remove lots of chef code
2011-05-30 13:47:54 utc wayneeseguin keep chef recipies clean
2011-05-30 13:48:16 utc kennethkalmer and deploy bdsm code with chef's deploy resource :)
2011-05-30 13:48:39 utc wayneeseguin personally I'd likely use BDSM to bootstrap chef
2011-05-30 13:50:37 utc kennethkalmer my sysadmins are shy to learn ruby, so this might work
2011-05-30 13:50:57 utc wayneeseguin :)
2011-05-30 13:51:01 utc wayneeseguin Sysadmins would LOVE this
2011-05-30 13:51:06 utc wayneeseguin as long as I give them a tour first
2011-05-30 13:51:08 utc wayneeseguin so they understand it
2011-05-30 13:51:10 utc kennethkalmer :)
2011-05-30 13:52:11 utc kennethkalmer where are the docs ?
2011-05-30 13:53:27 utc wayneeseguin kennethkalmer: the start of them is here https://bdsm.beginrescueend.com/
2011-05-30 13:53:32 utc wayneeseguin But not complete yet
2011-05-30 13:54:09 utc kennethkalmer was digging thru there recently, thought it is somewhere else maybe :)
2011-05-30 13:54:13 utc kennethkalmer man, documentation is hard
2011-05-30 13:54:22 utc wayneeseguin indeed
2011-05-30 13:54:33 utc wayneeseguin I have another form of documentation I'm working o nfor the modules themselves
2011-05-30 13:56:00 utc kennethkalmer bdoc ? :)
2011-05-30 13:56:07 utc wayneeseguin bdsm mod docgen
2011-05-30 13:56:10 utc wayneeseguin bdsm mod docopen
2011-05-30 13:56:16 utc wayneeseguin as long as you have the requirements installed
2011-05-30 13:56:22 utc wayneeseguin it'll generate then open the documentation for modules
2011-05-30 13:56:29 utc kennethkalmer nice
2011-05-30 13:56:40 utc wayneeseguin Best association for modules is ruby's standard library
2011-05-30 13:56:53 utc wayneeseguin that's how to relate it to something Ruby devs understand ;)
2011-05-30 13:57:03 utc wayneeseguin And BDSM extensions are like rubygems
2011-05-30 13:57:12 utc wayneeseguin but for system level scripting
2011-05-30 13:57:42 utc kennethkalmer nice
2011-05-30 13:57:44 utc wayneeseguin kennethkalmer: here is an example of using the 'service' module's service_status => https://gist.github.com/969347
2011-05-30 13:57:47 utc wayneeseguin for example
2011-05-30 13:58:02 utc wayneeseguin Slightly old it's been tweaked since but that's the idea
2011-05-30 13:58:44 utc kennethkalmer neat
2011-05-30 13:59:11 utc wayneeseguin service/package modules are abstract/compound modules built from the basic modules that encapsulate a concept
2011-05-30 13:59:30 utc wayneeseguin you add them to an extension to indicate the extension has those concepts
2011-05-30 14:00:04 utc wayneeseguin example: redis extension uses both service and package modules since it is installable on the system(package) and can be started/stopped/...(service)
2011-05-30 14:00:26 utc kennethkalmer makes sense
2011-05-30 14:01:23 utc wayneeseguin So we solve the general problems in those spaces in the module
2011-05-30 14:01:34 utc wayneeseguin and each extension overrides only what it needs to to do the right thing
2011-05-30 14:01:47 utc wayneeseguin example redis sets service_port=6379