[Satellite 6] Satellite upgrade fails with error "satellite.example.com.pem is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115"
Environment
- Red Hat Satellite 6.2.x
Issue
satellite-installer --scenario satellite --upgradefails with following errors:
Upgrade Step: Running installer...
"satellite.example.com.pem" is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115 on node satellite.example.com
"satellite.example.com.pem" is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115 on node satellite.example.com
Preparing installation Done
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/satellite.log
Upgrade failed during the installation phase. Fix the error and re-run the upgrade.
Resolution
Red Hat Satellitewas configured with custom SSL certs and to resolve this error, set theabsolute path for custom SSL certswhile executingsatellite-installer:
# satellite-installer --scenario satellite --upgrade\
--certs-server-cert "/absolute/path/to/satellite.example.com.crt"\
--certs-server-cert-req "/absolute/path/to/satellite.example.com.req"\
--certs-server-key "/absolute/path/to/satellite.example.com.key"\
--certs-server-ca-cert "/absolute/path/to/cacert.crt"
Root Cause
-
Red Hat Satellitewas configured withcustom SSL certsduring initial configuration. -
Absolute paths were not provided for custom ssl certswhile executingsatellite-installer --scenario satellite --upgrade.
Diagnostic Steps
- Check
/var/log/foreman-installer/satellite.logfor following errors:
[ERROR 2017-01-03 08:21:36 main] Errors encountered during run:
[ERROR 2017-01-03 08:21:36 main] "satellite.example.com.pem" is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115 on node satellite.example.com
[ERROR 2017-01-03 08:21:36 main] "satellite.example.com.pem" is not an absolute path. at /usr/share/katello-installer-base/modules/certs/manifests/init.pp:115 on node satellite.example.com
[ERROR 2017-01-03 08:21:36 main] Upgrade failed during the installation phase. Fix the error and re-run the upgrade.
[DEBUG 2017-01-03 08:21:36 main] Cleaning /etc/foreman-installer/scenarios.d/d20170203-1034-91y7u0
[DEBUG 2017-01-03 08:21:36 main] Cleaning /tmp/kafo_hiera20170203-1034-vaza4y
[DEBUG 2017-01-03 08:21:36 main] Cleaning /tmp/default_values.yam
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
