SAM 1.4: Why does katello-upgrade fail to reindex search indices? "rake aborted! Delayed::DeserializationError"

Solution Unverified - Updated -

Issue

  • I need to upgrade subscription Asset Manager 1.3 to 1.4.
  • katello-upgrade fails with error message.
** Execute reindex
rake aborted!
Delayed::DeserializationError
.....................................................

 /opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
caused by: (ActiveRecord::RecordNotFound) Couldn't find Notice with id=1
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:341:in `find_one'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:312:in `find_with_ids'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:107:in `find'
/opt/rh/ruby193/root/usr/share/gems/gems/delayed_job-3.0.2/lib/delayed/psych_ext.rb:103:in `visit_Psych_Nodes_Mapping_with_class'
     ... skipped 46 lines
5 Tasks: TOP => reindex
Search Indices cleared.

Environment

  • Subscription Asset Manager (SAM) 1.4 (upgrading from 1.3)

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