Hi My installed Python is version 2.6.6. (System Python of RHEL6) The latest stable version is fence-agents-4.0.10 The problem is that fence_apc_snmp from release 4.0.10 is not containing the code for APC firmware 6.x yet and fence-agents 4.0.11 is not yet released, so maybe still has bugs (or I just don't get it right). I've tried version 4.0.10, too. (untar - autogen.sh - configure - make - make install) But I don't expect this version to work. It fails like this: [root@box1 fence-agents-4.0.10]# fence_apc_snmp -v -a 10.124.0.246 -n 1 -o status DEBUG:root:/usr/bin/snmpwalk -m '' -Oeqn -v '1' -c 'private' '10.124.0.246:161' '.1.3.6.1.2.1.1.2.0' DEBUG:root:.1.3.6.1.2.1.1.2.0 .1.3.6.1.4.1.318.1.3.4.6 Traceback (most recent call last): File "/usr/sbin/fence_apc_snmp", line 209, in <module> main() File "/usr/sbin/fence_apc_snmp", line 205, in main result = fence_action(FencingSnmp(options), options, set_power_status, get_power_status, get_outlets_status) File "/usr/share/fence/fencing.py", line 880, in fence_action status = get_multi_power_fn(tn, options, get_power_fn) File "/usr/share/fence/fencing.py", line 800, in get_multi_power_fn plug_status = get_power_fn(tn, options) File "/usr/sbin/fence_apc_snmp", line 138, in get_power_status apc_resolv_port_id(conn, options) File "/usr/sbin/fence_apc_snmp", line 113, in apc_resolv_port_id apc_set_device(conn) File "/usr/sbin/fence_apc_snmp", line 107, in apc_set_device conn.log_command("Trying %s"%(device.ident_str)) AttributeError: FencingSnmp instance has no attribute 'log_command' Regards Thomas Gesendet: Dienstag, 14. Oktober 2014 um 07:58 Uhr Von: "Kristoffer Grönlund" <kgronlund@xxxxxxxx> An: "Thomas Meier" <thomasmeier1976@xxxxxx>, linux-cluster@xxxxxxxxxx Betreff: Re: Fencing issues with fence_apc_snmp (APC Firmware 6.x) Thomas Meier <thomasmeier1976@xxxxxx> writes: > I've managed to build fence-agents-4.0.11.tar.gz on a CentOS 6.5 test box, but my build > of fence_apc_snmp doesn't work. [...] > File "/usr/share/fence/fencing.py", line 705, in check_input > logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stderr)) > TypeError: __init__() got an unexpected keyword argument 'stream' Your version of Python is too old. Possibly you have a newer version of python installed, but by default the older version is used. I think the stream argument was added in Python 2.6. -- // Kristoffer Grönlund // kgronlund@xxxxxxxx -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster