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

Installer --reset-data fails on an external DB setup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.14.0
    • 6.10.3
    • Installation
    • 0
    • False
    • Important
    • None
    • None
    • None
    • None

      Description of problem:
      Installer reset on an external DB setup fails, effectively blocking backup restore on that setup.

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

      How reproducible:
      always

      Steps to Reproduce:
      1. Have an external DB setup (SAT + DB host)
      2. On the Satellite, run `satellite-installer --reset-data`

      Actual results:
      Installer fails:
      2022-02-11 04:12:08 [NOTICE] [configure] 1250 configuration steps out of 1850 steps complete.
      2022-02-11 04:13:37 [NOTICE] [configure] 1500 configuration steps out of 1850 steps complete.
      2022-02-11 04:14:49 [ERROR ] [configure] 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
      2022-02-11 04:14:49 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from 'notrun' to ['0'] failed: 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
      2022-02-11 04:14:49 [NOTICE] [configure] 1750 configuration steps out of 1850 steps complete.
      2022-02-11 04:14:52 [NOTICE] [configure] System configuration has finished.

      There were errors detected during install.

      Expected results:
      Successfull reset

              egolov@redhat.com Evgeni Golov
              ehelms@redhat.com Eric Helms
              Griffin Sullivan Griffin Sullivan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: