Satellite server upgrade to 6.10 is failing with the error null value in column "repository_href" violates not-null constraint' .

Solution In Progress - Updated -


  • Satellite upgrade to 6.10 fails on pulp migration steps with below error:

    ForemanTasks::TaskError: Task bdd39eaa-3298-43ec-996b-0164e25827ba: ActiveRecord::NotNullViolation: PG::NotNullViolation: ERROR:  null value in column "repository_href" violates not-null constraint
    DETAIL:  Failing row contains (266, null, 20, 104).
    /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `block (2 levels) in <top (required)>'
    /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
    Tasks: TOP => katello:pulp3_migration
    (See full trace by running task with --trace)


  • Red Hat Satellite 6.

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