Red Hat Satellite upgrade fails with Unable to create bookmark: Name has already been taken during db:seed phase
Issue
-
Red Hat Satellite upgrade fails with the following error:
Unable to create bookmark: Name has already been taken /opt/theforeman/tfm/root/usr/share/gems/gems/katello- 3.18.1.55/db/seeds.d/111-container-image-bookmarks.rb:16:in `block (3 levels) in <top (required)>' /opt/theforeman/tfm/root/usr/share/gems/gems/katello- 3.18.1.55/db/seeds.d/111-container-image-bookmarks.rb:13:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.55/db/seeds.d/111-container-image-bookmarks.rb:13:in `block (2 levels) in <top (required)>' /opt/theforeman/tfm/root/usr/share/gems/gems/audited- 4.9.0/lib/audited/auditor.rb:376:in `without_auditing' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.55/db/seeds.d/111-container-image-bookmarks.rb:8:in `block in <top (required)>' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108 :in `as' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.55/db/seeds.d/111-container-image-bookmarks.rb:7:in `<top (required)>'
Environment
- Red Hat Satellite 6.7
- Red Hat Satellite 6.8
- Red Hat Satellite 6.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.