Bug 2423533
| Summary: | fence-agents-pve | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | beaver.pv |
| Component: | fence-agents-epel | Assignee: | Troy Dawson <tdawson> |
| Status: | NEW --- | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel9 | CC: | tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: Agent does not work because of missing path to include necessary function: [root@redhat1 ~]# fence_pve --help Traceback (most recent call last): File "/usr/sbin/fence_pve", line 14, in <module> from fencing import fail, EC_LOGIN_DENIED, atexit_handler, all_opt, check_input, process_input, show_docs, fence_action, run_delay ModuleNotFoundError: No module named 'fencing' Version-Release number of selected component (if applicable): fence-agents-pve-4.10.0-30.el9.noarch Additional info: I modified this section of script by adding absolute /usr/share/fence path and it is working correctly so it can be considered as possible fix as well: import logging sys.path.append("@FENCEAGENTSLIBDIR@") sys.path.append("/usr/share/fence") from fencing import fail, EC_LOGIN_DENIED, atexit_handler, all_opt, check_input, process_input, show_docs, fence_action, run_delay