seph
2009-Aug-05 16:32 UTC
[Puppet Users] 0.25.0-rc1 on ubuntu hardy (activerecord versions?)
I''ve been looking forward to using 0.25, and now that there''s an RC I figured I''d try it. My servers are mostly ubuntu LTS, which means hardy. When I try to launch puppetmaster, it complains: * Starting puppet configuration management tool master server Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.3 Is this an intentional dependancy? Any thoughts about what this means for people running older/stable OSes? seph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
<silviu@paragina.ro>
2009-Aug-05 20:00 UTC
[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)
This looks similar to this problem: http://projects.reductivelabs.com/issues/2102 Although the error message is different. Skipping the error message the error pops up because ruby fails to find the activerecord library, I''m guessing it''s the same for you. Check the patch from the above ticket (this one http://projects.reductivelabs.com/attachments/585/0001-fix-libdir-for-rails-in-ubuntu.patch , I''m guessing the solution is similar although the patch is for 24.8). I hope you have a little bit of programming skills :) Silviu On Wed, 05 Aug 2009 12:32:34 -0400, seph <seph@directionless.org> wrote:> I''ve been looking forward to using 0.25, and now that there''s an RC I > figured I''d try it. My servers are mostly ubuntu LTS, which means hardy. > > When I try to launch puppetmaster, it complains: > > * Starting puppet configuration management tool master server > Could not parse configuration file: StoreConfigs not supported > without ActiveRecord 2.3 > > Is this an intentional dependancy? Any thoughts about what this means > for people running older/stable OSes? > > seph > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
seph
2009-Aug-06 00:31 UTC
[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)
I''m not sure it''s related. That bug looks to be about detecting whether or not rails is installed. I''m running into a very clear requirement on a new version of ActiveRecord. It''s a problem only on older operating systems, like ubuntu LTS. Though interestingly, lib/puppet/feature/rails.rb requires ActiveRecord 2.1, while lib/puppet/defaults.rb requires 2.3. seph <silviu@paragina.ro> writes:> This looks similar to this problem: > http://projects.reductivelabs.com/issues/2102 > Although the error message is different. Skipping the error message the > error pops up because ruby fails to find the activerecord library, I''m > guessing it''s the same for you. > > Check the patch from the above ticket (this one > http://projects.reductivelabs.com/attachments/585/0001-fix-libdir-for-rails-in-ubuntu.patch > , I''m guessing the solution is similar although the patch is for 24.8). I > hope you have a little bit of programming skills :) > > > Silviu > > On Wed, 05 Aug 2009 12:32:34 -0400, seph <seph@directionless.org> wrote: >> I''ve been looking forward to using 0.25, and now that there''s an RC I >> figured I''d try it. My servers are mostly ubuntu LTS, which means hardy. >> >> When I try to launch puppetmaster, it complains: >> >> * Starting puppet configuration management tool master server >> Could not parse configuration file: StoreConfigs not supported >> without ActiveRecord 2.3 >> >> Is this an intentional dependancy? Any thoughts about what this means >> for people running older/stable OSes? >> >> seph >> >> > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Silviu Paragina
2009-Aug-06 10:13 UTC
[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)
In 0.24.8 the only thing that file is trying to do is include active record (at least so it seems from my limited understanding of ruby and from the comments). It was a guess that it was related :">. I was outlining the bug because it took me a few hours of head scratching before I figured out that there was an inclusion problem not a version problem (that was my first impression). PS I''m also using hardy ;) Silviu seph wrote:> I''m not sure it''s related. That bug looks to be about detecting > whether or not rails is installed. I''m running into a very clear > requirement on a new version of ActiveRecord. It''s a problem only on > older operating systems, like ubuntu LTS. > > Though interestingly, lib/puppet/feature/rails.rb requires ActiveRecord > 2.1, while lib/puppet/defaults.rb requires 2.3. > > seph > > <silviu@paragina.ro> writes: > > >> This looks similar to this problem: >> http://projects.reductivelabs.com/issues/2102 >> Although the error message is different. Skipping the error message the >> error pops up because ruby fails to find the activerecord library, I''m >> guessing it''s the same for you. >> >> Check the patch from the above ticket (this one >> http://projects.reductivelabs.com/attachments/585/0001-fix-libdir-for-rails-in-ubuntu.patch >> , I''m guessing the solution is similar although the patch is for 24.8). I >> hope you have a little bit of programming skills :) >> >> >> Silviu >> >> On Wed, 05 Aug 2009 12:32:34 -0400, seph <seph@directionless.org> wrote: >> >>> I''ve been looking forward to using 0.25, and now that there''s an RC I >>> figured I''d try it. My servers are mostly ubuntu LTS, which means hardy. >>> >>> When I try to launch puppetmaster, it complains: >>> >>> * Starting puppet configuration management tool master server >>> Could not parse configuration file: StoreConfigs not supported >>> without ActiveRecord 2.3 >>> >>> Is this an intentional dependancy? Any thoughts about what this means >>> for people running older/stable OSes? >>> >>> seph >>> >>> >>> >> > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
seph
2009-Aug-06 18:28 UTC
[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)
I spent a bit longer poking at this. I think I found 2 closely related bugs. Both are listed on #2508. The first, is that lib/puppet/defaults.rb incorrectly states the requirement as being for 2.3. This should be something else. (probably 2.1) The second is that the mechanism puppet/feature/rails.rb is using to detect activerecord fails for activerecord 2.0, which is what''s in ubuntu hardy. Of course, if the requirement is for 2.1, than it''s still newer than what''s in hardy, and manual gem installation is still needed. seph <silviu@paragina.ro> writes:> This looks similar to this problem: > http://projects.reductivelabs.com/issues/2102 > Although the error message is different. Skipping the error message the > error pops up because ruby fails to find the activerecord library, I''m > guessing it''s the same for you. > > Check the patch from the above ticket (this one > http://projects.reductivelabs.com/attachments/585/0001-fix-libdir-for-rails-in-ubuntu.patch > , I''m guessing the solution is similar although the patch is for 24.8). I > hope you have a little bit of programming skills :) > > > Silviu > > On Wed, 05 Aug 2009 12:32:34 -0400, seph <seph@directionless.org> wrote: >> I''ve been looking forward to using 0.25, and now that there''s an RC I >> figured I''d try it. My servers are mostly ubuntu LTS, which means hardy. >> >> When I try to launch puppetmaster, it complains: >> >> * Starting puppet configuration management tool master server >> Could not parse configuration file: StoreConfigs not supported >> without ActiveRecord 2.3 >> >> Is this an intentional dependancy? Any thoughts about what this means >> for people running older/stable OSes? >> >> seph >> >> > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---