Hide Forgot
I *think* this is fixed by https://projects.theforeman.org/issues/25518, but for some reason the BZ→Redmine link was lost during clone wars.
re-added the upstream tracker, see the "clone of" field for the 6.5 changes for this bz
ON_QA Failed: Satellite 6.4.2 snap 1.0 Steps taken as below during upgrade: - Installed Satellite on 6.3.5 GA version - Created two repos a. one with upstream username only b. one with upstream password only - Tried to upgrade system @Satelltie 6.4.2 snap 1.0 Upgrade is failing as below and it looks that invalid credentials for repositories not getting clear on this upgrade step/ or before it: ++++++++++++++++++++++++++++++++++++ Upgrade Step: add_export_distributor (this may take a while) ... /usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP /usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here /usr/share/foreman/lib/core_extensions.rb:182: warning: already initialized constant ActiveSupport::MessageEncryptor::DEFAULT_CIPHER /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/message_encryptor.rb:22: warning: previous definition of DEFAULT_CIPHER was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/content_facet_host_extensions.rb:7: warning: already initialized constant Katello::Concerns::ContentFacetHostExtensions::ERRATA_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/content_facet_host_extensions.rb:7: warning: previous definition of ERRATA_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/content_facet_host_extensions.rb:14: warning: already initialized constant Katello::Concerns::ContentFacetHostExtensions::TRACE_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/content_facet_host_extensions.rb:14: warning: previous definition of TRACE_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/subscription_facet_host_extensions.rb:13: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::SUBSCRIPTION_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/app/models/katello/concerns/subscription_facet_host_extensions.rb:13: warning: previous definition of SUBSCRIPTION_STATUS_MAP was here rake aborted! ForemanTasks::TaskError: Task 7f74606e-f281-4dd9-be67-34006c8cdd3c: Katello::Errors::PulpError: PLP0000: Configuration errors: The configuration parameter <basic_auth_username> requires the <basic_auth_password> parameter to also be set. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4.3/lib/foreman_tasks.rb:55:in `block in sync_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4.3/lib/foreman_tasks.rb:54:in `tap' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4.3/lib/foreman_tasks.rb:54:in `sync_task' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/lib/katello/tasks/upgrades/3.0/add_export_distributor.rake:9:in `block (5 levels) in <top (required)>' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:63:in `block (2 levels) in find_each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:63:in `each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:63:in `block in find_each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:129:in `block in find_in_batches' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:230:in `block in in_batches' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:214:in `loop' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:214:in `in_batches' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:128:in `find_in_batches' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/relation/batches.rb:62:in `find_each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/querying.rb:9:in `find_each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.46/lib/katello/tasks/upgrades/3.0/add_export_distributor.rake:8:in `block (4 levels) in <top (required)>' /opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' Tasks: TOP => katello:upgrades:3.0:add_export_distributor (See full trace by running task with --trace) Refreshing existing repositories to add export distributor foreman-rake katello:upgrades:3.0:add_export_distributor failed! Check the output for error! Upgrade step add_export_distributor failed. Check logs for more information. [FAIL] Failed executing LANG=en_US.utf-8 satellite-installer --upgrade, exit status 1 -------------------------------------------------------------------------------- Scenario [Migration scripts to Satellite 6.4] failed. The following steps ended up in failing state: [installer-upgrade] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="installer-upgrade" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Upstream bug assigned to stbenjam
Verified: @Satellite 6.4.2 Snap 2.0 Steps/Observation: - Installed Satellite on 6.3.5 GA version - Created two repos a. one with upstream username only b. one with upstream password only - Upgraded Satellite @Satellite 6.4.2 Snap 2.0 - Post-upgrade upstream username/password does not exists on both repos
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0345