Stefan Heijmans
2011-Aug-21 15:39 UTC
[Puppet Users] dashboard 1.1.1 with filebucket doesn''t show contents of the new file
Am using dashboard 1.1.1 with the use_file_bucket_diffs option. When clicking on the links within a report it will show the old md5 file (on the left) but not the new md5 file (on the right) like; content content changed ''{md5}26a3112822d01f2ce6b3f052bf2809de'' to ''{md5}dd97364ab0559344d73231f517951595'' 26a3112822d01f2ce6b3f052bf2809de ==> is displayed normally dd97364ab0559344d73231f517951595 ==> We''re sorry, but something went wrong. puppet-dashboard log shows; Processing FilesController#show (for 192.168.20.20 at 2011-08-21 17:37:49) [GET] Parameters: {"action"=>"show", "controller"=>"files", "file"=>"26a3112822d01f2ce6b3f052bf2809de"} Completed in 22ms (View: 0, DB: 0) | 200 OK [http://192.168.20.100/ files/show?file=26a3112822d01f2ce6b3f052bf2809de] Processing FilesController#show (for 192.168.20.20 at 2011-08-21 17:37:52) [GET] Parameters: {"action"=>"show", "controller"=>"files", "file"=>"dd97364ab0559344d73231f517951595"} Net::HTTPServerException (404 "Not Found"): /usr/lib/ruby/1.8/net/http.rb:2097:in `error!'' lib/puppet_https.rb:34:in `get'' app/controllers/files_controller.rb:23:in `show'' haml (3.0.13) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'' passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb: 96:in `process_request'' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb: 513:in `accept_and_process_next_request'' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb: 274:in `main_loop'' passenger (3.0.8) lib/phusion_passenger/classic_rails/ application_spawner.rb:321:in `start_request_handler'' passenger (3.0.8) lib/phusion_passenger/classic_rails/ application_spawner.rb:275:in `send'' passenger (3.0.8) lib/phusion_passenger/classic_rails/ application_spawner.rb:275:in `handle_spawn_application'' passenger (3.0.8) lib/phusion_passenger/utils.rb:479:in `safe_fork'' passenger (3.0.8) lib/phusion_passenger/classic_rails/ application_spawner.rb:270:in `handle_spawn_application'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:180:in `start'' passenger (3.0.8) lib/phusion_passenger/classic_rails/ application_spawner.rb:149:in `start'' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'' passenger (3.0.8) lib/phusion_passenger/ abstract_server_collection.rb:132:in `lookup_or_add'' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'' passenger (3.0.8) lib/phusion_passenger/ abstract_server_collection.rb:82:in `synchronize'' passenger (3.0.8) lib/phusion_passenger/ abstract_server_collection.rb:79:in `synchronize'' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'' passenger (3.0.8) helper-scripts/passenger-spawn-server:99 Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal Server Error) Is this because the new file is not in the filebucket yet? any ideas anyone? Stefan -- 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.
Jacob Helwig
2011-Aug-22 16:08 UTC
Re: [Puppet Users] dashboard 1.1.1 with filebucket doesn''t show contents of the new file
On Sun, 21 Aug 2011 08:39:31 -0700, Stefan Heijmans wrote:> > Am using dashboard 1.1.1 with the use_file_bucket_diffs option. > > When clicking on the links within a report it will show the old md5 > file (on the left) but not the new md5 file (on the right) > like; > content content changed ''{md5}26a3112822d01f2ce6b3f052bf2809de'' to > ''{md5}dd97364ab0559344d73231f517951595'' > > 26a3112822d01f2ce6b3f052bf2809de ==> is displayed normally > dd97364ab0559344d73231f517951595 ==> We''re sorry, but something went > wrong. > > puppet-dashboard log shows; > Processing FilesController#show (for 192.168.20.20 at 2011-08-21 > 17:37:49) [GET] > Parameters: {"action"=>"show", "controller"=>"files", > "file"=>"26a3112822d01f2ce6b3f052bf2809de"} > Completed in 22ms (View: 0, DB: 0) | 200 OK [http://192.168.20.100/ > files/show?file=26a3112822d01f2ce6b3f052bf2809de] > > > Processing FilesController#show (for 192.168.20.20 at 2011-08-21 > 17:37:52) [GET] > Parameters: {"action"=>"show", "controller"=>"files", > "file"=>"dd97364ab0559344d73231f517951595"} > > Net::HTTPServerException (404 "Not Found"): > /usr/lib/ruby/1.8/net/http.rb:2097:in `error!'' > lib/puppet_https.rb:34:in `get'' > app/controllers/files_controller.rb:23:in `show'' > haml (3.0.13) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'' > passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb: > 96:in `process_request'' > passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb: > 513:in `accept_and_process_next_request'' > passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb: > 274:in `main_loop'' > passenger (3.0.8) lib/phusion_passenger/classic_rails/ > application_spawner.rb:321:in `start_request_handler'' > passenger (3.0.8) lib/phusion_passenger/classic_rails/ > application_spawner.rb:275:in `send'' > passenger (3.0.8) lib/phusion_passenger/classic_rails/ > application_spawner.rb:275:in `handle_spawn_application'' > passenger (3.0.8) lib/phusion_passenger/utils.rb:479:in `safe_fork'' > passenger (3.0.8) lib/phusion_passenger/classic_rails/ > application_spawner.rb:270:in `handle_spawn_application'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in > `__send__'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in > `server_main_loop'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in > `start_synchronously'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:180:in > `start'' > passenger (3.0.8) lib/phusion_passenger/classic_rails/ > application_spawner.rb:149:in `start'' > passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:219:in > `spawn_rails_application'' > passenger (3.0.8) lib/phusion_passenger/ > abstract_server_collection.rb:132:in `lookup_or_add'' > passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:214:in > `spawn_rails_application'' > passenger (3.0.8) lib/phusion_passenger/ > abstract_server_collection.rb:82:in `synchronize'' > passenger (3.0.8) lib/phusion_passenger/ > abstract_server_collection.rb:79:in `synchronize'' > passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:213:in > `spawn_rails_application'' > passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:132:in > `spawn_application'' > passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:275:in > `handle_spawn_application'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in > `__send__'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in > `server_main_loop'' > passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in > `start_synchronously'' > passenger (3.0.8) helper-scripts/passenger-spawn-server:99 > > > Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal > Server Error) > > > Is this because the new file is not in the filebucket yet? > any ideas anyone? > > Stefan >You are correct: It is because the new file is not yet in the filebucket. With what is currently the most common usage of Puppet & Dashboard, the "new" files will never be in the filebucket. You might want to have a look at #7934[1], which is a ticket around this. The "new" file''s md5 will no longer be linked once this gets released. [1] https://projects.puppetlabs.com/issues/7934 -- Jacob Helwig ,---- | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig `----
Seemingly Similar Threads
- Puppet Dashboard changed reports view error
- internal server error(500) when attempting to sendmail
- Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
- Errno::ENETUNREACH (Network is unreachable - connect(2)):
- Error custom_require.rb line 36