ansible-rulebook is failing due to version
jainpratik163 opened this issue · 1 comments
jainpratik163 commented
Please confirm the following
- I agree to follow this project's code of conduct.
- I have checked the current issues for duplicates.
- I understand that ansible-rulebook is open source software provided for free and that I might not receive a timely response.
Bug Summary
i am trying to ansible-rulebook with rulebook option and also when I run ansible-rulebook --version
and getting below error
raceback (most recent call last):
File "/usr/local/bin/ansible-rulebook", line 5, in <module>
from ansible_rulebook.cli import main
File "/usr/local/lib/python3.8/site-packages/ansible_rulebook/cli.py", line 29, in <module>
util.check_jvm()
File "/usr/local/lib/python3.8/site-packages/ansible_rulebook/util.py", line 190, in check_jvm
if version.parse(java_version) < version.parse("17"):
File "/usr/local/lib/python3.8/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/usr/local/lib/python3.8/site-packages/packaging/version.py", line 197, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '1.8.0_312'
Environment
OS RHEL 8
Steps to reproduce
- install ansible-rulebook
- run
ansible-rulebook --version
Actual results
version should display
Expected results
version is not displaying.
Additional information
No response
jainpratik163 commented
when is this fix going to release?