Satellite server upgrade to 6.10 is failing with the error null value in column "repository_href" violates not-null constraint' .
Issue
-
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-3.18.1.46/lib/katello/tasks/pulp3_migration.rake:43:in `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)
Environment
- Red Hat Satellite 6.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.