Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-34621 Installer fails to add new import path when it's the same as the export path
  3. SAT-37846

[QE] Installer fails to add new import path when it's the same as the export path

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Installation
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • sat-rocket
    • Satellite Rocket Sprint 3, Satellite Rocket Sprint 4, Satellite Rocket Sprint 5

      Description of problem:

      The installer fails to add a new Pulp import path, seemingly when it is already defined as an export path.

      How reproducible:

      Probably 100%, reproduced on a very vanilla 6.17 broker box

      Is this issue a regression from an earlier version:

      Unsure

      Steps to Reproduce:

      1. 

      satellite-installer --foreman-proxy-content-pulpcore-additional-import-paths /var/lib/pulp/exports/

      Actual behavior:

      2025-05-30 15:05:24 [NOTICE] [root] Loading installer configuration. This will take some time.
      2025-05-30 15:05:31 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
      2025-05-30 15:05:31 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
      2025-05-30 15:05:33 [NOTICE] [checks] System checks passed
      2025-05-30 15:05:45 [NOTICE] [configure] Starting system configuration.
      2025-05-30 15:05:53 [ERROR ] [configure] Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/var/lib/pulp/exports] is already declared at (file: /usr/share/foreman-installer/modules/pulpcore/manifests/config.pp, line: 58); cannot redeclare (file: /usr/share/foreman-installer/modules/pulpcore/manifests/config.pp, line: 65) (file: /usr/share/foreman-installer/modules/pulpcore/manifests/config.pp, line: 65, column: 3) on node ip-10-0-168-107.rhos-01.prod.psi.rdu2.redhat.com
      2025-05-30 15:05:53 [NOTICE] [configure] System configuration has finished.There were errors detected during installation.
      Please address the errors and re-run the installer to ensure the system is properly configured.
      Failing to do so is likely to result in broken functionality.The full log is at /var/log/foreman-installer/satellite.log
       

      Expected behavior:
      Installer runs to completion.

      Business Impact / Additional info:

      Having the export also be an import path is a helpful way to do quick import/export between organizations on the same Satellite.

      QE Tracker for https://issues.redhat.com/browse/SAT-34621

              rhn-support-sganar Shubham Ganar
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: