[Bug 537666] New: Server error after loading "Configure Time"-Module
http://bugzilla.novell.com/show_bug.cgi?id=537666 Summary: Server error after loading "Configure Time"-Module Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: WebYaST AssignedTo: kkaempf@novell.com ReportedBy: bbrunner@novell.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-4.7 Firefox/3.0.4 After loading the "Configure Time"-Module an internal server error occures with the message: "Failed with 500 Internal Server Error" Here are the logs of the service-webserver: (afterwards the logs of the client-webserver) Processing ResourcesController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:07) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"resources"} Rendering resources/index Completed in 8ms (View: 6, DB: 0) | 200 OK [http://localhost/resources.xml] Processing PermissionsController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:07) [GET] Parameters: {"format"=>"xml", "action"=>"index", "filter"=>"org.opensuse.yast.modules.yapi.time", "user_id"=>"root", "controller"=>"permissions"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Action: org.opensuse.yast.permissions.read User: root Result: ok SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-action 0 SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-auth --user root --explicit 0 Rendering permissions/index Completed in 529ms (View: 7, DB: 0) | 200 OK [http://localhost/permissions.xml?filter=org.opensuse.yast.modules.yapi.time&user_id=root] Processing SystemtimesController#show to xml (for 127.0.0.1 at 2009-09-09 12:57:08) [GET] Parameters: {"format"=>"xml", "action"=>"show", "controller"=>"systemtimes"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Action: org.opensuse.yast.modules.yapi.time.read User: root Result: ok PolkitUnauthorizedError (PolkitUnauthorizedError): lib/yast_service.rb:76:in `Call' ./plugins/time/app/models/systemtime.rb:72:in `find' ./plugins/time/app/controllers/systemtimes_controller.rb:39:in `show' actionpack (2.3.4) lib/action_controller/base.rb:1331:in `send' actionpack (2.3.4) lib/action_controller/base.rb:1331:in `perform_action_without_filters' actionpack (2.3.4) lib/action_controller/filters.rb:617:in `call_filters' actionpack (2.3.4) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' actionpack (2.3.4) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' activesupport (2.3.4) lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime' activesupport (2.3.4) lib/active_support/core_ext/benchmark.rb:17:in `ms' actionpack (2.3.4) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' actionpack (2.3.4) lib/action_controller/rescue.rb:160:in `perform_action_without_flash' actionpack (2.3.4) lib/action_controller/flash.rb:146:in `perform_action' actionpack (2.3.4) lib/action_controller/base.rb:532:in `send' actionpack (2.3.4) lib/action_controller/base.rb:532:in `process_without_filters' actionpack (2.3.4) lib/action_controller/filters.rb:606:in `process' actionpack (2.3.4) lib/action_controller/base.rb:391:in `process' actionpack (2.3.4) lib/action_controller/base.rb:386:in `call' actionpack (2.3.4) lib/action_controller/routing/route_set.rb:437:in `call' actionpack (2.3.4) lib/action_controller/dispatcher.rb:87:in `dispatch' actionpack (2.3.4) lib/action_controller/dispatcher.rb:121:in `_call' actionpack (2.3.4) lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' activerecord (2.3.4) lib/active_record/query_cache.rb:29:in `call' activerecord (2.3.4) lib/active_record/query_cache.rb:29:in `call' activerecord (2.3.4) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' activerecord (2.3.4) lib/active_record/query_cache.rb:9:in `cache' activerecord (2.3.4) lib/active_record/query_cache.rb:28:in `call' activerecord (2.3.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' rack (1.0.0) lib/rack/head.rb:9:in `call' rack (1.0.0) lib/rack/methodoverride.rb:24:in `call' actionpack (2.3.4) lib/action_controller/params_parser.rb:15:in `call' actionpack (2.3.4) lib/action_controller/session/cookie_store.rb:93:in `call' actionpack (2.3.4) lib/action_controller/failsafe.rb:26:in `call' rack (1.0.0) lib/rack/lock.rb:11:in `call' rack (1.0.0) lib/rack/lock.rb:11:in `synchronize' rack (1.0.0) lib/rack/lock.rb:11:in `call' actionpack (2.3.4) lib/action_controller/dispatcher.rb:114:in `call' actionpack (2.3.4) lib/action_controller/reloader.rb:34:in `run' actionpack (2.3.4) lib/action_controller/dispatcher.rb:108:in `call' rails (2.3.4) lib/rails/rack/static.rb:31:in `call' rack (1.0.0) lib/rack/urlmap.rb:46:in `call' rack (1.0.0) lib/rack/urlmap.rb:40:in `each' rack (1.0.0) lib/rack/urlmap.rb:40:in `call' rails (2.3.4) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.0.0) lib/rack/content_length.rb:13:in `call' rack (1.0.0) lib/rack/handler/webrick.rb:46:in `service' /usr/lib64/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib64/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib64/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib64/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib64/ruby/1.8/webrick/server.rb:82:in `start' rack (1.0.0) lib/rack/handler/webrick.rb:13:in `run' rails (2.3.4) lib/commands/server.rb:111 /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 Rendered rescues/_trace (44.7ms) Rendered rescues/_request_and_response (6.9ms) Rendering rescues/layout (internal_server_error) Processing ResourcesController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:09) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"resources"} Rendering resources/index Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/resources.xml] Processing PermissionsController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:09) [GET] Parameters: {"format"=>"xml", "action"=>"index", "filter"=>"org.opensuse.yast.system.patches", "user_id"=>"root", "controller"=>"permissions"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Action: org.opensuse.yast.permissions.read User: root Result: ok SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-action 0 SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-auth --user root --explicit 0 Rendering permissions/index Completed in 538ms (View: 2, DB: 0) | 200 OK [http://localhost/permissions.xml?filter=org.opensuse.yast.system.patches&user_id=root] Processing PatchesController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:10) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"patches"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Cache read: patches:timestamp #### Patch cache expired Cache write: patches:timestamp Completed in 9845ms (View: 18, DB: 0) | 200 OK [http://localhost/patches.xml] Processing ResourcesController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:21) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"resources"} Rendering resources/index Completed in 6ms (View: 4, DB: 0) | 200 OK [http://localhost/resources.xml] Processing PermissionsController#index to xml (for 127.0.0.1 at 2009-09-09 12:57:21) [GET] Parameters: {"format"=>"xml", "action"=>"index", "filter"=>"org.opensuse.yast.system.status", "user_id"=>"root", "controller"=>"permissions"} Account Load (0.2ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Action: org.opensuse.yast.permissions.read User: root Result: ok SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-action 0 SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper polkit-auth --user root --explicit 0 Rendering permissions/index Completed in 4939ms (View: 4, DB: 0) | 200 OK [http://localhost/permissions.xml?filter=org.opensuse.yast.system.status&user_id=root] Processing StatusController#show to xml (for 127.0.0.1 at 2009-09-09 12:57:26) [GET] Parameters: {"format"=>"xml", "stop"=>"1252493846", "action"=>"show", "start"=>"1252493546", "controller"=>"status"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."remember_token" = '327193588af5838cf1ca648bf1a6da479bf7ea40') LIMIT 1 Action: org.opensuse.yast.system.status.read User: root Result: ok SCRExecute (LANG=en.UTF-8 /usr/lib/YaST2/bin/tty_wrapper /usr/sbin/rccollectd status 0 Rendering status/show Completed in 2830ms (View: 83, DB: 0) | 200 OK [http://localhost/status.xml?start=1252493546&stop=1252493846] And here the message of the client-webserver: /systemtime Loading standard textdomain yast_webclient Loading standard textdomain yast_webclient_systemtime Processing SystemtimeController#index (for 127.0.0.1 at 2009-09-09 12:58:26) [GET] Parameters: {"action"=>"index", "controller"=>"systemtime"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1) LIMIT 1 permissions http://localhost:8080/ Failed with 500 Internal Server Error Redirected to http://localhost:3000/ Completed in 3937ms (DB: 0) | 302 Found [http://localhost/systemtime] / /controlpanel Loading standard textdomain yast_webclient Processing MainController#index (for 127.0.0.1 at 2009-09-09 12:58:30) [GET] Parameters: {"action"=>"index", "controller"=>"main"} Account Load (0.2ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1) LIMIT 1 Redirected to http://localhost:3000/controlpanel Completed in 19ms (DB: 0) | 302 Found [http://localhost/] Loading standard textdomain yast_webclient Processing ControlpanelController#index (for 127.0.0.1 at 2009-09-09 12:58:30) [GET] Parameters: {"action"=>"index", "controller"=>"controlpanel"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1) LIMIT 1 looking into /home/benni/Desktop/web-client/webclient/../plugins/custom_services Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/custom_services looking into /usr/lib64/ruby/gems/1.8/gems/gettext_activerecord-2.0.4 looking into /usr/lib64/ruby/gems/1.8/gems/gettext_rails-2.0.4 looking into /home/benni/Desktop/web-client/webclient/vendor/plugins/jrails looking into /home/benni/Desktop/web-client/webclient/vendor/plugins/lang_helper looking into /home/benni/Desktop/web-client/webclient/../plugins/language Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/language looking into /usr/lib64/ruby/gems/1.8/gems/locale_rails-2.0.4 looking into /home/benni/Desktop/web-client/webclient/../plugins/network Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/network looking into /home/benni/Desktop/web-client/webclient/../plugins/patch_updates Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/patch_updates looking into /home/benni/Desktop/web-client/webclient/../plugins/permissions Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/permissions looking into /home/benni/Desktop/web-client/webclient/../plugins/samba_server Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/samba_server looking into /home/benni/Desktop/web-client/webclient/../plugins/security Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/security looking into /home/benni/Desktop/web-client/webclient/../plugins/services Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/services looking into /home/benni/Desktop/web-client/webclient/../plugins/status Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/status looking into /home/benni/Desktop/web-client/webclient/../plugins/system looking into /home/benni/Desktop/web-client/webclient/../plugins/systemtime Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/systemtime looking into /home/benni/Desktop/web-client/webclient/../plugins/users Shortcuts at /home/benni/Desktop/web-client/webclient/../plugins/users {"systemtime:main"=>{"groups"=>["Other"], "title"=>"Configure Time", "url"=>"/systemtime", "resources"=>["systemtime"], "tags"=>["time", "clock", "timezone", "ntp"], "icon"=>"/icons/yast-ntp-client.png", "description"=>"Set the clock"}, "patch_updates:main"=>{"groups"=>["Security", "Software"], "title"=>"Updates", "url"=>"/patch_updates", "tags"=>["security", "software", "updates", "patches"], "icon"=>"/icons/yast-online_update.png", "description"=>"See and install updates"}, "status:main"=>{"groups"=>["Access"], "title"=>"Status", "url"=>"/status", "resources"=>["status"], "tags"=>["access"], "icon"=>"/images/monitoring.png", "description"=>"Show system status"}, "services:main"=>{"groups"=>["Services"], "title"=>"System Services", "url"=>"/services", "tags"=>["init", "script", "service"], "icon"=>"/icons/yast-online_update.png", "description"=>"Manage the LSB init scripts"}, "users:main"=>{"groups"=>["Security"], "title"=>"Configure users", "url"=>"/users", "tags"=>["users", "account", "security", "access"], "icon"=>"/icons/yast-users.png", "description"=>"Manage user accounts"}, "permissions:main"=>{"groups"=>["Security"], "title"=>"User Permissions", "url"=>"/permissions", "resources"=>["permissions"], "tags"=>["users", "account", "security", "access"], "icon"=>"/icons/yast-security.png", "description"=>"Set user permissions"}, "network:main"=>{"groups"=>["Network"], "title"=>"Configure network", "url"=>"/network", "tags"=>["users", "account", "security", "access"], "icon"=>"/icons/yast-network.png", "description"=>"Manage network devices"}, "language:main"=>{"groups"=>["Other"], "title"=>"Language", "url"=>"/language", "resources"=>["language"], "tags"=>["language"], "icon"=>"/icons/yast-language.png", "description"=>"Set language"}, "samba_server:main"=>{"groups"=>["Services", "Network"], "title"=>"Samba Shares", "url"=>"/samba_server", "tags"=>["samba", "network", "share"], "icon"=>"/icons/yast-online_update.png", "description"=>"Manage the exported directories via Samba service"}, "custom_services:main"=>{"groups"=>["Services"], "title"=>"Custom Service", "url"=>"/services?custom=1", "tags"=>["init", "script", "service"], "icon"=>"icons/custom-service.png", "description"=>"Manage custom service"}, "security:main"=>{"groups"=>["Security"], "title"=>"Firewall/Ssh", "url"=>"/security", "tags"=>["security", "access"], "icon"=>"/icons/yast-security.png", "description"=>"Setting firewall/ssh"}} Rendering template within layouts/main Rendering controlpanel/index Host Load (1.4ms) SELECT * FROM "hosts" WHERE ("hosts"."id" = 1) CACHE (0.0ms) SELECT * FROM "hosts" WHERE ("hosts"."id" = 1) Completed in 98ms (View: 58, DB: 2) | 200 OK [http://localhost/controlpanel] /patch_updates/show_summary Loading standard textdomain yast_webclient Processing PatchUpdatesController#show_summary (for 127.0.0.1 at 2009-09-09 12:58:31) [POST] Parameters: {"action"=>"show_summary", "authenticity_token"=>"lhJFfaAlUS6z3abCv7dsmW2lDRjtWqnqviMyBVA0tjo=", "controller"=>"patch_updates"} Account Load (0.3ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1) LIMIT 1 permissions http://localhost:8080/ Rendered patch_updates/_patch_summary (11.2ms) Completed in 7709ms (View: 25, DB: 0) | 200 OK [http://localhost/patch_updates/show_summary] /status/show_summary Loading standard textdomain yast_webclient Loading standard textdomain yast_webclient_status Processing StatusController#show_summary (for 127.0.0.1 at 2009-09-09 12:58:39) [POST] Parameters: {"action"=>"show_summary", "authenticity_token"=>"lhJFfaAlUS6z3abCv7dsmW2lDRjtWqnqviMyBVA0tjo=", "controller"=>"status"} Account Load (0.2ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1) LIMIT 1 permissions http://localhost:8080/ Rendered status/_status_summary (0.3ms) Completed in 3223ms (View: 6, DB: 0) | 200 OK [http://localhost/status/show_summary] Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537666
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c1
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=537666
User bbrunner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c2
--- Comment #2 from Benjamin Brunner
http://bugzilla.novell.com/show_bug.cgi?id=537666
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c3
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=537666
User jreidinger@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c4
--- Comment #4 from Josef Reidinger
http://bugzilla.novell.com/show_bug.cgi?id=537666
User jreidinger@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c5
Josef Reidinger
http://bugzilla.novell.com/show_bug.cgi?id=537666
User jreidinger@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537666#c7
Josef Reidinger
participants (1)
-
bugzilla_noreply@novell.com