Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-24690

Satellite upgrade to 6.10 fails with error ' null value in column "repository_href" violates not-null constraint'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.10.1
    • Upgrades
    • Important
    • No

      Description of problem:

      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)
      --------------------------------------------------------------------------------
      Scenario [Migration scripts to Satellite 6.10] failed.

      The following steps ended up in failing state:

      [content-switchover]

      Resolve the failed steps and rerun
      the command. In case the failures are false positives,
      use --whitelist="content-switchover"
      ~~~~~~~~~~~~~~~~~~~~~

      Version-Release number of selected component (if applicable):

      Satellite 6.10

      Steps to Reproduce:
      Not sure in which scenario this error is reproducible

      Actual results:

      Upgrade is failing

      Expected results:

      The upgrade should be complete.

      Additional info:

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: