Upgrading Red Hat Satellite 6.8 to 6.9 fails with the error 'Validation failed: ERF42-3514 [Foreman::Exception]: Duplicated inputs detected: ["Days from Now"]'

Solution Verified - Updated -

Issue

  • Unable to upgrade Satellite server.
  • Upgrade from Satellite 6.8 to 6.9 is failed with the below error:

    rake aborted!
    ActiveRecord::RecordInvalid: Validation failed: ERF42-3514 
    [Foreman::Exception]: Duplicated inputs detected: ["Days from Now"]
    /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.4/lib/active_record/validations.rb:80:in `raise_validation_error'
    /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.4/lib/active_record/validations.rb:53:in `save!'
    

Environment

  • 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.

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