While sending email, Satellite 6 fails with error `ScopedSearch::QueryNotSupported: Value expected but found :and`

Solution Verified - Updated -

Issue

  • Mailer fails with error ScopedSearch::QueryNotSupported: Value expected but found :and
  • Observed following traceback in the /var/log/foreman/production.log

    ScopedSearch::QueryNotSupported: Value expected but found :and
    /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_language/parser.rb:123:in `parse_value'
    /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_language/parser.rb:98:in `parse_infix_comparison'4.1.5/lib/active_record/relation/delegation.rb:46:in `each'
    /usr/share/foreman/lib/tasks/reports.rake:96:in `process_notifications'
    

Environment

  • Red Hat Satellite or Proxy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content