Problem:
While trying to upgrade from 3.2.1 to 3.3 installer fails with the error:
foreman-installer --scenario katello
2022-08-02 12:13:00 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-08-02 12:13:08 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-08-02 12:13:08 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-08-02 12:13:25 [NOTICE] [configure] Starting system configuration.
2022-08-02 12:13:35 [ERROR ] [configure] Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Foreman_proxy::Plugin::Pulp] is already declared; cannot redeclare (file: /usr/share/foreman-installer/modules/foreman_proxy_content/manifests/init.pp, line: 353) (file: /usr/share/foreman-installer/modules/foreman_proxy_content/manifests/init.pp, line: 353, column: 3) on node bdapmgmtprd01.mgmt
2022-08-02 12:13:35 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
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/katello.log
All answer files remains the same and there is no duplicate declaration of proxy::pulp
Expected outcome:
Installed Foreman/Katello
Foreman and Proxy versions:
foreman.noarch 3.3.0-1.el7 @foreman
foreman-cli.noarch 3.3.0-1.el7 @foreman
foreman-debug.noarch 3.3.0-1.el7 @foreman
foreman-dynflow-sidekiq.noarch 3.3.0-1.el7 @foreman
foreman-ec2.noarch 3.3.0-1.el7 @foreman
foreman-installer.noarch 1:3.3.0-1.el7 @foreman
foreman-installer-katello.noarch 1:3.3.0-1.el7 @foreman
foreman-libvirt.noarch 3.3.0-1.el7 @foreman
foreman-ovirt.noarch 3.3.0-1.el7 @foreman
foreman-postgresql.noarch 3.3.0-1.el7 @foreman
foreman-proxy.noarch 3.3.0-1.el7 @foreman
foreman-release.noarch 3.3.0-1.el7 @/foreman-release
foreman-release-scl.noarch 7-3.el7 @foreman
foreman-selinux.noarch 3.3.0-1.el7 @foreman
foreman-service.noarch 3.3.0-1.el7 @foreman
and Katello:
candlepin.noarch 4.1.11-1.el7 @katello-candlepin
candlepin-selinux.noarch 4.1.11-1.el7 @katello-candlepin
katello.noarch 4.5.0-1.el7 @katello
Foreman and Proxy plugin versions:
tfm-rubygem-bcrypt_pbkdf.x86_64 1.1.0-1.el7 @foreman-plugins
tfm-rubygem-deface.noarch 1.5.3-3.el7 @foreman-plugins
tfm-rubygem-ed25519.x86_64 1.2.4-1.el7 @foreman-plugins
tfm-rubygem-foreman-tasks.noarch 6.0.2-1.fm3_3.el7 @foreman-plugins
tfm-rubygem-foreman-tasks-core.noarch 0.3.6-1.fm2_5.el7 @foreman-plugins
tfm-rubygem-foreman_openscap.noarch 5.2.2-2.fm3_3.el7 @foreman-plugins
tfm-rubygem-foreman_puppet.noarch 4.0.1-1.fm3_3.el7 @foreman-plugins
tfm-rubygem-openscap.noarch 0.4.9-7.el7 @foreman-plugins
tfm-rubygem-openscap_parser.noarch 1.0.2-2.el7 @foreman-plugins
tfm-rubygem-parse-cron.noarch 0.1.4-5.fm2_5.el7 @foreman-plugins
tfm-rubygem-polyglot.noarch 0.3.5-3.el7 @foreman-plugins
tfm-rubygem-puppetdb_foreman.noarch 5.0.0-4.fm3_3.el7 @foreman-plugins
tfm-rubygem-rainbow.noarch 2.2.2-1.el7 @foreman-plugins
tfm-rubygem-smart_proxy_openscap.noarch 0.9.1-3.fm3_3.el7 @foreman-plugins
tfm-rubygem-smart_proxy_pulp.noarch 3.2.0-3.fm3_3.el7 @foreman-plugins
Distribution and version:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Other relevant data:
All I can find related to pulp in YAMLs:
[root@bdapmgmtprd01 scenarios.d]# grep pulp *.yaml
foreman-proxy-content-answers.yaml: pulpcore_mirror: true
foreman-proxy-content.yaml: - foreman_proxy::plugin::pulp
katello-answers.yaml: pulpcore_mirror: false
katello-answers.yaml: pulpcore_manage_postgresql: false
katello-answers.yaml: pulpcore_postgresql_host: bdapintdbrwprd.mgmt
katello-answers.yaml: pulpcore_postgresql_port: 5432
katello-answers.yaml: pulpcore_allowed_content_checksums:
katello-answers.yaml: pulpcore_postgresql_user: pulpcore_usr
katello-answers.yaml: pulpcore_postgresql_password: secret
katello-answers.yaml: pulpcore_postgresql_db_name: pulpcore
katello-answers.yaml: pulpcore_postgresql_ssl: false
katello-answers.yaml: pulpcore_postgresql_ssl_require: true
katello-answers.yaml: pulpcore_postgresql_ssl_cert: "/etc/pki/katello/certs/pulpcore-database.crt"
katello-answers.yaml: pulpcore_postgresql_ssl_key: "/etc/pki/katello/private/pulpcore-database.key"
katello-answers.yaml: pulpcore_postgresql_ssl_root_ca: "/etc/pki/tls/certs/ca-bundle.crt"
katello-answers.yaml: pulpcore_worker_count: 8
katello-answers.yaml: pulpcore_django_secret_key:
katello-answers.yaml: pulpcore_content_service_worker_timeout: 90
katello-answers.yaml: pulpcore_api_service_worker_timeout: 90
katello-answers.yaml: pulpcore_cache_enabled: true
katello-answers.yaml: pulpcore_cache_expires_ttl:
katello-answers.yaml: pulpcore_additional_import_paths: []
katello-answers.yaml: pulpcore_additional_export_paths: []
katello-answers.yaml:foreman_proxy::plugin::pulp:
katello-answers.yaml: pulpcore_enabled: true
katello-answers.yaml: pulpcore_mirror: false
katello-answers.yaml: pulpcore_api_url: https://bdapmgmtprd01.mgmt
katello-answers.yaml: pulpcore_content_url: https://bdapmgmtprd01.mgmt/pulp/content
katello.yaml:- foreman_proxy::plugin::pulp
last_scenario.yaml:- foreman_proxy::plugin::pulp