I use same config on other nodes (centos 7.3) ans is working. I want to change centos 7 to fedora on all nodes. I updated first node and this problem stop me. 

S pozdravom / Best regards Feldsam
Tel.: +420 773 303 353

www.feldsam.cz - webdesign, webdeveloping, webhosting

http://navolnenoze.cz/prezentace/kristian-feldsam/

Address: Praha 4 - Libus, V rohu 434/4, ZIP 142 00

On 21 Jul 2017, at 19:34, Digimer <lists@alteeve.ca> wrote:

On 2017-07-21 01:25 PM, Kristián Feldsam wrote:
Hello, I just installed fedora 26 and run 3 node cluster. When starting resources I get error starting fence_apc_snmp. Here is log:

node1 21.07.2017 19:13:12 crmd daemon err error: Result of start operation for fence_node3_pdu1 on node1.feldhost.cz: Error
node1 21.07.2017 19:13:12 crmd daemon notice notice: Result of stop operation for fence_node3_pdu1 on node1.feldhost.cz: 0 (ok)
node1 21.07.2017 19:13:11 python3 user notice detected unhandled Python exception in '/usr/sbin/fence_apc_snmp'
node1 21.07.2017 19:13:11 abrt-server user err Not saving repeating crash in '/usr/sbin/fence_apc_snmp'
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ Traceback (most recent call last): ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/sbin/fence_apc_snmp", line 224, in ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ main() ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/sbin/fence_apc_snmp", line 220, in main ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ result = fence_action(FencingSnmp(options), options, set_power_status, get_power_status, get_outlets_status) ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/share/fence/fencing.py", line 780, in fence_action ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ outlets = get_outlet_list(connection, options) ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/sbin/fence_apc_snmp", line 172, in get_outlets_status ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ apc_set_device(conn) ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/sbin/fence_apc_snmp", line 114, in apc_set_device ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ apc_type = conn.walk(OID_SYS_OBJECT_ID) ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/share/fence/fencing_snmp.py", line 132, in walk ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ output = self.run_command(cmd, additional_timemout).splitlines() ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/share/fence/fencing_snmp.py", line 100, in run_command ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ if (res_code != 0) or (re.search("^Error ", res_output, re.MULTILINE) != None): ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ File "/usr/lib64/python3.6/re.py", line 182, in search ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ return _compile(pattern, flags).search(string) ]
node1 21.07.2017 19:13:11 stonith-ng daemon warn warning: fence_apc_snmp[12405] stderr: [ TypeError: cannot use a string pattern on a bytes-like object ]
node1 21.07.2017 19:13:11 stonith-ng daemon notice notice: Operation 'monitor' [12405] for device 'fence_node3_pdu1' returned: -201 (Generic Pacemaker error)
node1 21.07.2017 19:13:10 python3 user notice detected unhandled Python exception in '/usr/sbin/fence_apc_snmp'

Please share your pacemaker config.


--
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould