Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade checker adds OS support for Oracle Linux Server #172

Open
Mars-weka opened this issue Jul 11, 2023 · 0 comments
Open

Upgrade checker adds OS support for Oracle Linux Server #172

Mars-weka opened this issue Jul 11, 2023 · 0 comments

Comments

@Mars-weka
Copy link

Mars-weka commented Jul 11, 2023

When running the checker on Oracle Linux, it will get the following error message:

CHECKING IF OS IS SUPPORTED ON BACKENDS

Traceback (most recent call last):
File "weka_upgrade_checker.py", line 2067, in
main()
File "weka_upgrade_checker.py", line 2057, in main
backend_host_checks(backend_hosts, ssh_bk_hosts,
File "weka_upgrade_checker.py", line 1813, in backend_host_checks
check_os_release(host_name, result, weka_version,
File "weka_upgrade_checker.py", line 1460, in check_os_release
if version not in supported_os[check_version]['backends_clients'][dict_info['ID']]:
KeyError: 'ol'

The workaround is to change ID="ol" value to a supported os version on /etc/os-release file
e.g. sed -i s/ID=\"centos\"/ID=\"rhel\"/g /etc/os-release

@Mars-weka Mars-weka changed the title Upgrade check adds support for Oracle Linux Server Upgrade checker adds support for Oracle Linux Server Jul 11, 2023
@Mars-weka Mars-weka changed the title Upgrade checker adds support for Oracle Linux Server Upgrade checker adds OS support for Oracle Linux Server Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant