infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

Ansible request for Fedora playbook corrections

Open sxa opened this issue 1 year ago • 0 comments

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

Delete as appropriate from this list:

  • Bug in ansible playbook

Details:

  • libnss3.so is not a valid package on Fedora so should be removed (From this thread I thought it had been but seems not universally). We've now removed it from the UBI8 dockerfile but it is still in the playbooks.
  • Fedora (verified on F37/riscv64) also seems to be trying to install java 1.7.0 which is not in its repositories any more so that should also be removed.
  • Create Japanese locale in the Common role doesn't seem to be working on F37/rv64: /etc/locale.gen and /var/lib/locales/supported.d/local are missing. Is the package \"locales\" installed?
  • Surprisingly tar is missing from the machines by default so the ant-contrib task falls over failing to extract that tarball
  • Also while not generic to Fedora the gcc tags (gcc_48,gcc_7,gcc_9,gcc_10,gcc_11) need to be expliclty skipped on riscv64 otherwise it tries to download and install the adoptopenjdk gcc versions which aren't available for riscv64.
  • Nagios_plugins role does not have a Fedora configuration so that role fails and nagios_plugins had to be added to the skip list in the previous bullet point (EDIT: That doesn't work as it wipes out the vendor files retrieval so the jenkins role fails - copied out that tag from the vendor files role for now)

Found as part of testing the machine referenced in https://github.com/adoptium/infrastructure/issues/3598#issuecomment-2167899948

Noting that:

  • The VPC runs with Fedora 35 do not appear to be falling foul of this
  • VPC should probably be updated to use Fedora 40 now.

sxa avatar Jun 14 '24 12:06 sxa