-
Notifications
You must be signed in to change notification settings - Fork 92
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
module 'inspect' has no attribute 'getargspec' after upgrading to Fedora 37 #636
Comments
Hi, what are your versions?
Also I think |
Hi, Python 3.11.0 Ovirt-engine is the Red Hat version not the upstream one. |
Try to downgrade to Python 3.9, that's the supported python version for ansible-core-2.13 |
I confirm it's working with python 3.9 and python 3.10, but not with the default python version shipped with fedora 37. where can I find the matching between ansible-core and python, so I can open a BZ to Fedora ? I also noticed getargspecs function is supposed to be deprecated in python, so I think the issue is still legit and will happen when python3.11 will be supported with ansible-core |
SUMMARY
After upgrading to Fedora37, module ovirt_network et ovirt_host_network failed with error :
module 'inspect' has no attribute 'getargspec'
COMPONENT NAME
ovirt_host_network
ovirt_network
but maybe other one
STEPS TO REPRODUCE
EXPECTED RESULTS
logical network create and network host configured
ACTUAL RESULTS
TASK [Create Openstack network] ********************************************************************************************************************************************************************************************************************************************************************************************************************************************
Thursday 24 November 2022 17:16:59 +0100 (0:00:00.620) 0:00:03.714 *****
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: module 'inspect' has no attribute 'getargspec'
failed: [localhost] (item={'name': 'osp-provisionning-s0', 'vlan': 1}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "osp-provisionning-s0", "vlan": 1}, "msg": "module 'inspect' has no attribute 'getargspec'"}
The text was updated successfully, but these errors were encountered: