Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionLukáš Hellebrandt
2020-07-07 16:05:45 UTC
Description of problem:
When trying to upgrade (from 6.7.1) to 6.8, I get:
```
Update package(s) : [OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade: [FAIL]
Failed executing LANG=en_US.utf-8 satellite-installer, exit status 6:
Executing: foreman-maintain packages -h
Executing: foreman-maintain packages is-locked --assumeyes
Executing: foreman-maintain service start --only=postgresql
could not change directory to "/root"
Executing: foreman-maintain service stop
* upgrading from 'postgresql.service' to 'rh-postgresql12-postgresql.service'
* Upgrading database.
* Upgraded OK.
WARNING: The configuration files were replaced by default configuration.
WARNING: The previous configuration and data are stored in folder
WARNING: /var/lib/pgsql/data.
WARNING: If you've just upgraded your database from a previous major version of
Fedora or RHEL, please run reindexdb against your databases. Core library
collation data may have changed and this will invalidate database indexes. For
example, in Fedora 28 and RHEL 8 there have been extensive changes in glibc
collations to support ISO 14651:2016 (Unicode 9.0.0 data) and your indexes may
be affected: https://sourceware.org/ml/libc-announce/2018/msg00002.html
* See /var/lib/pgsql/upgrade_rh-postgresql12-postgresql.log for details.
scl enable rh-postgresql12 "PGSETUP_INITDB_OPTIONS='--lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8 --locale=en_US.UTF-8' postgresql-setup --upgrade" finished successfully!
rm -f /etc/systemd/system/postgresql.service finished successfully!
Info: Loading facts : 0 00:00:00
no_proxy = [] : 0 0.0/s 00:00:01
Debug: Automatically imported foreman::plugin::azu: 0 0.0/s 00:00:02
[...]
Debug: /Stage[main]/Foreman_proxy::Plugin::Pulp/Fo: 0 0.0/s 00:08:20
Notice: /Stage[main]/Foreman_proxy::Service/Servic: 0 0.0/s 00:08:27
Info: /Schedule[puppet]: Starting to evaluate the : 0 0.0/s 00:08:30
Could not find a suitable provider for foreman_smartproxy
Done : 1 0.0/s 00:08:38
Done : 1 0.0/s 00:08:38
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/satellite.log
```
Full output and log attached.
Version-Release number of selected component (if applicable):
Sat 6.8 snap 7.0
How reproducible:
Steps to Reproduce:
0. Have repos already set up (since testing from snap)
1. # satellite-maintain upgrade run --target-version 6.8 --whitelist="repositories-validate,repositories-setup" -y
Actual results:
Shown above
Expected results:
Successfully upgraded Satellite
Additional info:
# echo $LANG
en_US.UTF-8
# yum repolist
[...]
repo id repo name status
!Sat6-CI_Red_Hat_Satellite_6_8_Composes_Satellite_6_8_RHEL7 Satellite 6.8 RHEL7 0+444
Sat6-CI_Red_Hat_Satellite_6_8_Composes_Satellite_Maintenance_Next_RHEL7 Satellite 6 Maintenance Next 2+13
!Sat6-CI_Red_Hat_Satellite_6_8_Composes_Satellite_Tools_6_8_RHEL7/x86_64 Tools 6.8 RHEL7 0+64
ansible-runner/x86_64 Ansible runner 0+63
rhel-7-server-ansible-2.8-rpms/x86_64 Red Hat Ansible Engine 2.8 RPMs for Red Hat Enterprise Linux 7 Server 0+16
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 166+29,053
rhel-server-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server 0+12,727
repolist: 168
Comment 1Lukáš Hellebrandt
2020-07-07 16:06:43 UTC