salt-bootstrap icon indicating copy to clipboard operation
salt-bootstrap copied to clipboard

rhel7 and oraclelinux7 require optional rpms repos when installing from git

Open bryceml opened this issue 5 years ago • 3 comments

Rhel7 and oraclelinux7 now have python3 in the repos (not python36 like we had in epel, however the python3 package provides python36), but the python3-devel package is in the optional rpms for both rhel7 and oraclelinux7. Centos7 provides python3-devel by default it seems.

We should enable those repos if we are installing salt from git. We should probably respect the -r flag.

https://github.com/saltstack/salt-bootstrap/issues/1449 might be related.

bryceml avatar Jul 14 '20 16:07 bryceml

We should also consider testing oraclelinux7 in the github actions since we don't have to worry about registration or anything and it has similar issues to rhel7 which are different from centos7.

bryceml avatar Jul 14 '20 16:07 bryceml

noting this here for others:

to enable optional rpms for oracle linux 7:

yum-config-manager --enable ol7_optional_latest

before the bootstrap script

bryceml avatar Jul 14 '20 21:07 bryceml

Thanks for sharing that workaround, @bryceml. The failing oraclelinux-7 build is now passing:

  • https://gitlab.com/myii/salt-image-builder/-/pipelines/166602413

myii avatar Jul 14 '20 21:07 myii