0

ovirtsdk4 version 4.4.0 or higher is required for this module即使版本得到满足,我在尝试使用 ovirt ansible 角色时也会收到错误消息。

ovirt-engine-sdk-python 版本为 4.4.6,ansible 版本为 2.10.1。

Requirement already satisfied: ovirt-engine-sdk-python in /usr/local/lib/python3.9/site-packages (4.4.6)
Requirement already satisfied: ansible in /usr/local/lib/python3.9/site-packages (2.10.1)

Ansible失败:

fatal: [localhost]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "ovirtsdk4 version 4.4.0 or higher is required for this module"}

可能是什么问题呢?

4

1 回答 1

0

我猜您尝试从 PyPI 安装 SDK 请尝试从 rpm 安装 SDK。它是官方支持的。如果您有其他问题,请将它们添加到 http://github.com/ovirt/ovirt-ansible-collection

于 2020-12-11T13:01:06.120 回答