Andrew Rankin
2011-Sep-01 10:16 UTC
[Puppet Users] Dashboard 1.2.0 Spool Directory & rake error
Hey All - So, two things after I updated to Dashboard 1.2.0 (and the Ruby 1.8.7 built for CentOS 5.6 by Karanbir Singh). First thing is I run load balanced puppet masters and puppet dashboard servers, after the update I noticed these messages showing under the background tasks listing as failures: Importing report report-30851-44.yaml at 2011-08-31 10:26 UTC No such file or directory - /usr/share/puppet-dashboard/spool/report-30851-44.yaml My solution was the put the /usr/share/puppet-dashboard/spool directory on a shared mount so the yaml files are available to both sets of workers on both servers. Does anyone have a better solution for this? Is there a way to note which server a request came in and only have the delayed_job workers work on the data that came in on that server? Second is I was unable to actually run the necessary rake commands to get the application setup, I was getting: undefined method `requirement'' for #<Rails::GemDependency:0x2b5d4de5f468> from /usr/share/puppet-dashboard/vendor/rails/railties/lib/rails/gem_dependency.rb:81:in `add_load_paths'' I copied over the gem_dependency.rb from the 1.1.0 version of dashboard and it started working just fine. Thanks, Andrew -- 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.
Andrew Rankin
2011-Sep-01 12:13 UTC
[Puppet Users] Dashboard 1.2.0 Spool Directory & rake error
Hey All - So, two things after I updated to Dashboard 1.2.0 (and the Ruby 1.8.7 built for CentOS 5.6 by Karanbir Singh). First thing is I run load balanced puppet masters and puppet dashboard servers, after the update I noticed these messages showing under the background tasks listing as failures: Importing report report-30851-44.yaml at 2011-08-31 10:26 UTC No such file or directory - /usr/share/puppet-dashboard/spool/report-30851-44.yaml My solution was the put the /usr/share/puppet-dashboard/spool directory on a shared mount so the yaml files are available to both sets of workers on both servers. Does anyone have a better solution for this? Is there a way to note which server a request came in and only have the delayed_job workers work on the data that came in on that server? Second is I was unable to actually run the necessary rake commands to get the application setup, I was getting: undefined method `requirement'' for #<Rails::GemDependency:0x2b5d4de5f468> from /usr/share/puppet-dashboard/vendor/rails/railties/lib/rails/gem_dependency.rb:81:in `add_load_paths'' I copied over the gem_dependency.rb from the 1.1.0 version of dashboard and it started working just fine. Thanks, Andrew -- 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.