Bug 2423533 - fence-agents-pve
Summary: fence-agents-pve
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fence-agents-epel
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Troy Dawson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-18 10:49 UTC by beaver.pv
Modified: 2025-12-18 10:49 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description beaver.pv 2025-12-18 10:49:25 UTC
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


Note You need to log in before you can comment on or make changes to this bug.