Bug 1758562 - there are many uncaught exceptions in logs related to notifications
Summary: there are many uncaught exceptions in logs related to notifications
Keywords:
Status: CLOSED DUPLICATE of bug 1748450
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-04 14:12 UTC by Ievgen Zapolskyi
Modified: 2019-10-07 11:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-07 11:24:40 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
appliance logs (1017.92 KB, application/gzip)
2019-10-04 14:12 UTC, Ievgen Zapolskyi
no flags Details

Description Ievgen Zapolskyi 2019-10-04 14:12:59 UTC
Created attachment 1622562 [details]
appliance logs

Description of problem:
production.log contains many exceptions related to notifications.

[----] I, [2019-10-04T08:53:36.608706 #9047:2ae29120f1b8]  INFO -- : Started GET "/ws/notifications" for 10.36.117.231 at 2019-10-04 08:53:36 -0400
[----] I, [2019-10-04T08:53:36.612010 #9047:2ae29120f1b8]  INFO -- : Started GET "/ws/notifications/" [WebSocket] for 10.36.117.231 at 2019-10-04 08:53:36 -0400
[----] I, [2019-10-04T08:53:36.612121 #9047:2ae29120f1b8]  INFO -- : Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: WebSocket)
[----] E, [2019-10-04T08:53:36.617782 #9047:2ae2966e3dd8] ERROR -- : There was an exception - TypeError(can't cast Hash)
[----] E, [2019-10-04T08:53:36.617901 #9047:2ae2966e3dd8] ERROR -- : /opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/quoting.rb:45:in `rescue in type_cast'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/quoting.rb:31:in `type_cast'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/quoting.rb:167:in `block in type_casted_binds'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/quoting.rb:167:in `map'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/quoting.rb:167:in `type_casted_binds'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/postgresql_adapter.rb:621:in `exec_no_cache'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/postgresql_adapter.rb:611:in `execute_and_clear'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:79:in `exec_query'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/database_statements.rb:371:in `select'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/database_statements.rb:42:in `select_all'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/query_cache.rb:95:in `block in select_all'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/query_cache.rb:118:in `block in cache_sql'
/usr/share/ruby/monitor.rb:226:in `mon_synchronize'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/query_cache.rb:104:in `cache_sql'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/query_cache.rb:95:in `select_all'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation.rb:678:in `exec_queries'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation.rb:546:in `load'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation.rb:255:in `records'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation/finder_methods.rb:508:in `find_take'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation/finder_methods.rb:100:in `take'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/relation/finder_methods.rb:78:in `find_by'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/querying.rb:7:in `find_by'
/opt/rh/cfme-gemset/gems/activerecord-5.1.7/lib/active_record/core.rb:203:in `find_by'
/var/www/miq/vmdb/app/channels/application_cable/connection.rb:14:in `find_verified_user'
/var/www/miq/vmdb/app/channels/application_cable/connection.rb:6:in `connect'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/connection/base.rb:167:in `handle_open'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker.rb:58:in `block in invoke'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker.rb:39:in `block in work'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker/active_record_connection_management.rb:14:in `block in with_database_connections'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/connection/tagged_logger_proxy.rb:24:in `tag'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker/active_record_connection_management.rb:14:in `with_database_connections'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/engine.rb:60:in `block (4 levels) in <class:Engine>'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/execution_wrapper.rb:85:in `wrap'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/engine.rb:55:in `block (3 levels) in <class:Engine>'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/callbacks.rb:117:in `instance_exec'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/opt/rh/cfme-gemset/gems/activesupport-5.1.7/lib/active_support/callbacks.rb:135:in `run_callbacks'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker.rb:38:in `work'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker.rb:56:in `invoke'
/opt/rh/cfme-gemset/gems/actioncable-5.1.7/lib/action_cable/server/worker.rb:51:in `block in async_invoke'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/opt/rh/cfme-gemset/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
[----] I, [2019-10-04T08:53:44.481483 #9047:2ae2966e3dd8]  INFO -- : Finished "/ws/notifications/" [WebSocket] for 10.36.117.231 at 2019-10-04 08:53:44 -0400
[

Version-Release number of selected component (if applicable):
5.11.0.27

How reproducible:
100%

Steps to Reproduce:
1. Create dialog/Catalog and Catalog Item
2. provision and retire created Catalog Item

Actual results:
exception in logs

Expected results:
no exception

Additional info:

Comment 2 Yuri Rudman 2019-10-07 11:24:40 UTC

*** This bug has been marked as a duplicate of bug 1748450 ***


Note You need to log in before you can comment on or make changes to this bug.