Actions
Bug #28903
closedForeman 2.0 nightly installer shows errors when a package can't be installed but doesn't fail
Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Yes
Description
Installing on RHEL-7.7, the installer shows these errors:
[ INFO 2020-01-30T13:17:41 verbose] Running installer with args [["-v", "--foreman-initial-admin-password", "changeme"]] [ INFO 2020-01-30T13:17:41 verbose] Executing hooks in group pre_validations [ INFO 2020-01-30T13:17:41 verbose] All hooks in group pre_validations finished [ INFO 2020-01-30T13:17:41 verbose] Running validation checks [ INFO 2020-01-30T13:17:41 verbose] Executing hooks in group pre_commit [ INFO 2020-01-30T13:17:41 verbose] All hooks in group pre_commit finished [ INFO 2020-01-30T13:17:41 verbose] Executing hooks in group pre Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do Error: /Package[rh-redis5-redis]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do package { 'rh-redis5-redis': ensure => 'purged', provider => 'yum', } /opt/puppetlabs/bin/puppet resource package rh-redis5-redis ensure=installed finished successfully! Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do Error: /Package[rh-postgresql12-postgresql-server]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do package { 'rh-postgresql12-postgresql-server': ensure => 'purged', provider => 'yum', } /opt/puppetlabs/bin/puppet resource package rh-postgresql12-postgresql-server ensure=installed finished successfully! [ INFO 2020-01-30T13:17:53 verbose] All hooks in group pre finished
The installer should check the packages presence and handle it without error.
This issue probably relates to issue https://projects.theforeman.org/issues/28902
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Subject changed from Foreman 2.0 nightly installer shows errors when a package is already present on the system to Foreman 2.0 nightly installer shows errors when a package can't be installed but doesn't fail
- Category set to foreman-installer script
- Target version set to 2.0.0
- Triaged changed from No to Yes
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Related to Feature #28697: Upgrade to Postgresql 12 added
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Related to Bug #28902: Foreman 2.0 nightly installation fails on RHEL-7.7 added
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Eric Helms
- Pull request https://github.com/theforeman/foreman-installer/pull/471 added
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/474 added
Updated by Ewoud Kohl van Wijngaarden about 5 years ago
- Status changed from Ready For Testing to Closed
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/481 added
Updated by Ewoud Kohl van Wijngaarden about 5 years ago
- Fixed in Releases 2.0.0 added
- Fixed in Releases deleted (
2.1.0)
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/483 added
Actions