SatelliteQE / automation-tools

A set of tools to help to automate testing Foreman with Robottelo (https://github.com/SatelliteQE/robottelo)
GNU General Public License v3.0
16 stars 33 forks source link

Work around missing centos-release-scl-rh rpm as forklift currently doesn't support RHEL7 with SCL #852

Closed lpramuk closed 4 years ago

lpramuk commented 4 years ago

This is workaround to preinstall centos-release-scl-rh rpm from Foreman 2.2 as developers dropped the rpm from nightly repo.

This rpm being in nightly repo helped with RHEL + CentOS scl-rh enablement But this was a hack there should be implemented a proper way in forklift for RHEL + SCL.

Until implement we go with this workaround.

Fixes:

[root@foreman.example.com] out: TASK [foreman_repositories : Install centos-release-scl-rh] ********************
[root@foreman.example.com] out: fatal: [foreman.example.com]: FAILED! => changed=false 
[root@foreman.example.com] out:   msg: No package matching 'centos-release-scl-rh' found available, installed or updated
[root@foreman.example.com] out:   rc: 126
[root@foreman.example.com] out:   results:
[root@foreman.example.com] out:   - No package matching 'centos-release-scl-rh' found available, installed or updated
[root@foreman.example.com] out: