Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues
Updated
Satellite/Capsule Upgrade/Update Issues
Failures/Errors encountered during Satellite/Capsule Upgrade Check
- After upgrading Red Hat Satellite server from the 6.15 to the 6.16 release, thousands of "cookie store unavailable: :hash, error: key not found: :hash" errors detected in Satellite's production.log
- Checking Red Hat Satellite 6 service status fails with error Unit name pulpcore-worker@.service is neither a valid invocation ID nor unit name is encountered
- [Satellite 6] 'satellite-maintain upgrade check' fails with "Error reading server CA certificate /root/cert_path/bundle.pem"
- Satellite upgrade check command is printing "Please run 'foreman-maintain prep-6.10-upgrade' prior to upgrading."
- Satellite 6 upgrade check through satellite-maintain failed on candlepin disk space usage
Failures/Errors encountered during "pulpcore-manager migrate --noinput"
- Red Hat Satellite or Capsule upgrade 6.12 to 6.13 fails with error
pulpcore-manager migrate --noinput' returned 1 instead of one of [0] - Upgrading to Satellite 6.12 fails on 0044_noartifact_modules migration step during "pulpcore-manager migrate --noinput"
- Satellite 6 upgrade fails with error 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]'
- The upgrade to Red Hat Satellite 6.12 fails with error 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
- The upgrade to Red Hat Satellite 6.9 fails with error 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
- Red Hat Satellite 6 installation fails with error 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]'
'/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] Failures/Errors
- Satellite installer fails with 'Errno::EACCES: Permission denied @ dir_initialize - /usr/share/foreman/lib/satellite' error
- Satellite upgrade fails at db:migrate step with error PG::InsufficientPrivilege: ERROR: must be owner of table foreman_tasks_recurring_logics
- Upgrade to Red Hat Satellite 6.15 fails with: /usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
- Upgrade to Red Hat Satellite 6.13 fails with error '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
- Upgrade to Red Hat Satellite 6.10 fails with error '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
- Getting '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] ERROR while trying to upgrade Satellite 6.10 to latest.
- Satellite upgrade to 6.8.4 fails with '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0] as a result of 'Validation failed: Override must be true to edit the parameter'
Issues performing in-place upgrade of Satellite or Capsule server
Refer to this relevant section in the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues knowledge base article.
Other Failures/Errors
- Red Hat Satellite 6.17 upgrade fails with error expected file /usr/share/foreman/lib/satellite/version.rb to define constant Satellite::Version, but didn't (Zeitwerk::NameError)
- Executing the satellite-installer fails with the error: 'Change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install postgresql-evr' returned 1: Error: Unable to find a match: postgresql-evr
- Satellite installer command failed with error Could not prefetch package provider 'dnfmodule'
- Upgrade to Red Hat Capsule 6.16 fails with module satellite:el8 from @modulefailsafe requires module(postgresql:12) but none of the providers can be installed
- Postgresql:12 and postgresql:13 module conflict on Red Hat Satellite while upgrading from version 6.15 to 6.16
- Red Hat Satellite or capsule upgrade from version 6.15 to 6.16 fails with dependency for 'python38-pytz' package
- Red Hat Satellite upgrade to version 6.16 fails with PostgreSQL dependency errors
- Red Hat Satellite upgrade fails with a
PG::InsufficientPrivilege: ERROR: must be owner of extension evrerror - Unable to Upgrade Red Hat Satellite 6.16 to 6.17 due to error 'PG::InsufficientPrivilege Error for Extension evr'
- Satellite upgrade fails with ERROR: duplicate key value violates unique constraint "index_katello_installed_packages_on_nvrea"
- Red Hat Satellite upgrade to 6.16 failed and lost the session of the server due to discrepancy in postgresql version
- Satellite upgrade fails with 'Hammer configuration failed: Incorrect credential for <target_ID> user'
- Cannot upgrade to Satellite 6.16 when using a CA with SHA1 as Signature Algorithm
- Red Hat Satellite 6.16 upgrade fails with error could not access file "pgaudit": No such file or directory
- In Red Hat Satellite 6 satellite-installer failed with error "Check whether the katello-agent feature is enabled before upgrading: [FAIL]"
- Red Hat Satellite upgrade fails with error 'could not open extension control file "/usr/share/pgsql/extension/hstore.control": No such file or directory'
- Fresh Installation/Upgrade to Satellite version 6.14 fails with Error django.db.utils.ProgrammingError: permission denied to create extension "hstore" in Red Hat Satellite 6
- Satellite 6.15 to 6.16 upgrade failing with python38 package dependencies
- Error 1: Puppet Postgresql_conf resource 'log_min_duration_statement' failed while upgrading to Red Hat Satellite 6.15
- Unable to enable
satellite:el8orsatellite-capsule:el8module stream for installing Red Hat Satellite/Capsule 6.11+ - Red Hat Satellite upgrade to 6.15 version is failing due to dependency issue
- Upgrade to Red Hat Satellite 6.12 fails with dependency error cannot install the best update candidate for package candlepin-selinux-4.1.15-1.el8sat.noarch
- The execution of satellite-installer command failed with an error asn1 encoding routines:ASN1_mbstring_ncopy:string too long.
- Red Hat Capsule upgrade failed with
change from 'absent' to 'directory' failed: Cannot create /home/u19518/.ssh/id_rsa.pub; parent directory /home/u19518/.ssh does not existerror - Red Hat Satellite 6 upgrade fails with Could not prefetch yumrepo provider 'inifile'
- Upgrade of Red Hat Satellite 6.10 to the 6.11 release fails with "Transaction check error: installing package kernel-3.10.0-1160.99.1.el7.x86_64 needs 16MB on the /boot filesystem" while updating packages
- 'dnf install satellite' or 'dnf install satellite-capsule' fails
- Satellite Installer fails with "Evaluation Error: Unknown function: 'postgresql_acls_to_resources_hash'. (file: /usr/share/foreman-installer/modules/postgresql/manifests/server/config.pp, line: 99, column: 26) on node satellite.example.com"
- Red Hat Satellite 6.13 upgrade fails with error GraphQL::InvalidNameError: Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but 'RHEL OpenStack Platform' does not
- Red Hat Satellite upgrade fails on [ packages-update ] step .
- Red Hat Satellite 6.11 failed with error that "change from 'absent' to 'present' failed: Host satellite.example.com does not exist in Foreman"
- Red Hat Satellite or Capsule installation\upgrade fails on pulp-manage-db step with error "pkg_resources.DistributionNotFound: kombu>=4.0.2,<5.0"
- Upgrade to Satellite 6.12 fails on duplicate key value violates unique constraint "rpm_modulemd_name_stream_version_context_arch_f6598e4e_uniq"
- Red Hat Satellite server version 6.12 is not available for performing an upgrade of the Satellite server.
- Satellite Installer fails with too many arguements
- Getting Katello::Errors::Pulp3Error: subtask failed error while trying to upgrade Red Hat Satellite
- Red Hat Satellite or Capsule (installation or upgrade) fails with the Error rh-postgresql96-postgresql-syspaths conflicts with postgresql-9.2.24-1.el7_5.x86_64
- Upgrading to Red Hat Satellite 6.11 fails on db:migrate stage with error 'null value in column "created_at" violates not-null constraint'
- Non Red Hat packages create issues during the upgrade for Red Hat Satellite or Capsule
- Removing a lifecycle environment from Red Hat Satellite 6 fails with error "Cannot delete record because of dependent hostgroups (ActiveRecord::DeleteRestrictionError)"
- Upgrading from Satellite 6.9 to Satellite 6.10 fails with error "undefined method operatingsystems' for nil:NilClass"
- Upgrade to Red Hat Satellite 6.10 fails at db:seed step with error "ActiveRecord::RecordInvalid: Validation failed"
- Upgrade to Red Hat Satellite 6.10 fails with message 'ERROR: at least one Erratum record has migrated_pulp3_href NULL value'
- Satellite 6 update or upgrade fails on pulp-manage-db step with AttributeError: 'NoneType' object has no attribute 'critical'
- Upgrade of Red Hat Satellite 6 fails during a database migration
- Upgrading Red Hat Satellite server fails with error Procedures::Installer::Upgrade: Could not get default values
- [Satellite 6] Tomcat service fails with "keystore password was incorrect" error when upgrading Red Hat Satellite
- Red Hat Satellite 6 upgrade failing with error Could not evaluate: Execution of
- Red Hat Satellite 6 upgrade fails with
/usr/share/foreman-installer/katello/hooks/pre_commit/13-hiera.rb:20:inblock (4 levels) in load': undefined method[]' for nil:NilClass (NoMethodError) - satellite-installer is failing with traceback rolling_file.rb:368:in
block in roll_by_number': undefined method[]' for nil:NilClass (NoMethodError) - [Satellite 6.10] Satellite upgrade fails due to orphaned RPMs: rubygem-sinatra, rubygem-rack-protection
- While installing or upgrading Red Hat Satellite 6, katello-installer fails with error "/usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]"
- Red Hat Satellite 6.8 upgrade fails with error PG::UndefinedFile: ERROR: could not open extension control file "/opt/rh/rh-postgresql12/root/usr/share/pgsql/extension/evr.control": No such file or directory
- Red Hat Satellite upgrade failing with error qpid-config returned 1 instead of one of [0].
- Running "foreman-maintain upgrade list-versions" does not list version on Satellite 6
- Foreman-maintain upgrade list-versions does not show next upgradable version in Red Hat Satellite 6 server.
- [Satellite6] satellite upgrade fails on "Error: Important rpm package satellite is not installed!"
- Red Hat Satellite 6 upgrade fails with Evaluation Error: Error while evaluating a Function Call, Lookup of key 'lookup_options' failed
- Red Hat Satellite 6.3 upgrade failed with error change from absent to present failed: Proxy satellite.example.com cannot be registered: URL Only one declaration of a proxy is allowed.
- Red Hat Satellite Capsule upgrade fails with errors when refreshing its features
- Red Hat Satellite 6 upgrade fails with error foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!
- [Sat6.3] - Upgrade to Sat 6.3.5 stucked in Upgrade Step: add_export_distributor "Errno::ENOENT: No such file or directory @ rb_sysopen"
- Red Hat Satellite 6 Upgrade Fails with error "rake aborted! NoMethodError: undefined method `first' for nil:NilClass".
- [Satellite 6] - Red Hat Satellite Capsule upgrade fails with error "URL Only one declaration of a proxy is allowed"
- [Satellite 6] upgrade fails on
foreman-rake db:migrate failed - Red Hat Satellite upgrade from version 6.7 to 6.8 fails with error touch /var/lib/candlepin/cpdb_update_done' returned 1 instead of one of [0]
- Red Hat Satellite upgrade to 6.8 fails with 'foreman-maintain packages is-locked --assumeyes failed! Check the output for error!'
- Upgrade to Red Hat Satellite 6.6 fails with the error: Could not retrieve information from environment production source(s) file:/boot/efi/EFI/redhat/grubx64.efi
- How to resolve /opt/puppetlabs/bin/puppetserver ca setup' returned 1 instead of one of [0] ?
- Red Hat Capsule upgrade or refresh feature fails with "[Net::HTTPFatalError]: 502 "cannotconnect" on Red Hat Satellite
- Red Hat Satellite upgrade failing with foreman_tasks_sync_task_timeout error.
- [Satellite 6]
undefined methodvalue' for nil:NilClass (NoMethodError)` while upgrading Red Hat Satellite server. - [Satellite] upgrading Capsule fails with error: 'Error: Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([OpenSSL::SSL::SSLError]'.
- Candlepin timeout when upgrading to Red Hat Satellite 6.8
- Capsule Upgrade Playbook is failing on the Red Hat Satellite server.
- satellite-installer command on Red Hat Satellite 6.x fails with: /Stage[main]/Mongodb::Server::Config/File[/var/lib/mongodb]: Could not evaluate: Input/output error @ rb_file_s_lstat - /var/lib/mongodb
- [Satellite6] Upgrade Step: migrate_foreman is failing Gem loading error: Unable to activate fog-1.38.0, because fog-core-2.1.0 conflicts with fog-core (~> 1.32)
- [Satellite 6.3] Upgrade from 6.2 to 6.3 fails with error:'Failed to destroy the record/opt/rh/rh-ror42/root/usr/share/gems/gems/activerecord-4.2.6/lib/active_record/persistence.rb:185:in
destroy!' - [Satellite6] Upgrade from 6.3.4 to 6.4 fails on "Katello::Pool.import_all NoMethodError: undefined method `[]' for nil:NilClass"
- foreman-rake apipie:cache:index command fails during the upgradation of Satellite Server to version 6.4 with the following error - Errno::EACCES: Permission denied @ rb_sysopen - /usr/share/foreman/public/apipie-cache/apidoc.html
- Red Hat Satellite Installation or upgrade fails with the exception (Puppet::Error: Cannot determine basic system flavour)
Satellite/Capsule Installation Issues
- Modular dpeendency problems encountered while installing Red Hat Capsule 6.15
- Configuring Red Hat Capsule 6.15 server with SSL certificates fails with
Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were triederror - Fresh Installation/Upgrade to Satellite version 6.14 fails with Error django.db.utils.ProgrammingError: permission denied to create extension "hstore" in Red Hat Satellite 6
dnf install satellitereports "Unable to find a match: satellite" while installing Red Hat Satellite 6.13- Satellite-installer -S satellite fails with "Execution of '/usr/sbin/getsebool pulp_manage_puppet' returned 255: Error getting active value for pulp_manage_puppet"
- Satellite 6.8 installation fails with error: Failed to open TCP connection to satellite.example.com:9090 (Connection refused - connect(2)
- Unable to run the satellite-installer command on the Red Hat Satellite server and getting output "Could not get default values, check log file at /var/log/foreman-installer/satellite.log for more information".
- Satellite installer fails with docker manifest error
- While installing or upgrading Red Hat Satellite 6, katello-installer fails with error "/usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]"
- Capsule installation fails on registration to Satellite with 3rd party SSL CA
- Red Hat Satellite Capsule installation fails with ssl error: "SSL_connect returned=1 errno=0 state=error: certificate verify failed) for Capsule https://capsule.lab.example.com:9090/features"
- Capsule server installation fails with error: 'Error: Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::Exceptions::OpenTimeout]: Timed out connecting to server).
- Unable to detect features ([Net::HTTPServerException]: 404 "Not Found") for Capsule https://[CAPSULE FQDN]:9090/v2/features Please check the Capsule is configured and running on the host.
- Satellite-installer on Capsule fails with 503 Service Unavailable error - Unable to detect features
- satellite-installer fails while configuring Self-signed or Custom CA issued certificates with an error Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]
- Red Hat Satellite 6 installation fails with error Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_openscap' returned 1: Error unpacking rpm package tfm-rubygem-foreman_openscap-4.1.3-1.el7sat.noarch
Post Upgrade Issues
Post in-place upgrade issues on Satellite or Capsule server
Refer to this relevant section in the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues knowledge base article.
Other Post Upgrade Issues
- Red Hat Capsule is not connecting to Satellite server after upgrade from 6.14 to 6.15
- Execute upgrade:run rake task' step is still running on Satellite server even after successful upgrade from the 6.14 to the 6.15 release
- The foreman logs are filled with errors related to "unknown class DockerRegistry" and "unknown class Container" after upgrading to Red Hat Satellite 6.11
- The httpd service failed to start at the end of the upgrade to Red Hat Satellite 6.10
- After Satellite 6.4 to 6.5 upgrade, "Something went wrong when retrieving the resource" when trying to view some Content Hosts.
How To
- When and how to upgrade or update Red Hat Satellite 6?
- How to upgrade Red Hat Capsule server with Remote Execution using Red Hat Satellite 6.8?
- How to upgrade Red Hat Capsule using ansible playbook?
SBR
Product(s)
Components
Article Type