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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.