NetAppDocs / storagegrid-116

https://docs.netapp.com/us-en/storagegrid-116/
5 stars 6 forks source link

The default package manager for RHEL 8 or later has changed from yum to DNF #81

Closed zhuolin-shen closed 3 weeks ago

zhuolin-shen commented 1 month ago

Page URL

https://docs.netapp.com/us-en/storagegrid-116/rhel/installing-storagegrid-webscale-host-service.html

Page title

Install StorageGRID host services

Summary

The default package manager for RHEL 8 or later has changed from yum to DNF, however, rhel_install_from_repo.yml file which is contained in storagegrid installer (e.g.StorageGRID-Webscale-11.6.0-RPM-20220210.0232.8d56cfe.tgz) is still using yum as package manager.

rhel_install_from_repo

This caused installation fails as below

TASK [storagegrid : Install StorageGRID from YUM repository] **** fatal: [Non-Primary-Admin-Node]: FAILED! => {"changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the dnf Ansible module instead."}

details error logs: python2.install.error.txt python3.install.error.txt

It has been confirmed that edited the rhel_install_from_repo.yml file as below can workaround the error. But customer requested Netapp officially verified documents. So please help to confirm and update the doc ASAP. Thanks!

Public issues must not contain sensitive information

zhuolin-shen commented 1 month ago

The yml file's format becomes strange so attached the capture for clarification: Screenshot 2024-07-26 184304

netapp-pcarriga commented 1 month ago

HI @zhuolin-shen, thank you for bringing this to our attention. I'm looking into this and will update you here.

zhuolin-shen commented 1 month ago

Thank you for your reply. I will look forward to your update. Additional query from customer, could you please also help to confirm whether the workaround is valid without any side effect?

netapp-pcarriga commented 3 weeks ago

Hi @zhuolin-shen, I've opened SGRIDDOC-95 to track this request and added you as a w watcher.