Closed zhuolin-shen closed 3 weeks ago
The yml file's format becomes strange so attached the capture for clarification:
HI @zhuolin-shen, thank you for bringing this to our attention. I'm looking into this and will update you here.
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?
Hi @zhuolin-shen, I've opened SGRIDDOC-95 to track this request and added you as a w watcher.
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.
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!
yum:
dnf: <<<<<<<<<<<<<<<< name: "{{ pkg_list }}" state: latest vars: pkg_list:
Public issues must not contain sensitive information