[ClusterLabs] [Pacemaker on raspberry pi]

Ivan Devát idevat at redhat.com
Tue Mar 6 06:56:23 UTC 2018


Hi,

> *#pcs cluster node add pi05 --start --enable**
> *Disabling SBD service...
> pi05: sbd disabled
> Traceback (most recent call last):
>    File "/usr/sbin/pcs", line 11, in <module>
>      load_entry_point('pcs==0.9.160', 'console_scripts', 'pcs')()
>    File "/usr/lib/python3.6/site-packages/pcs/app.py", line 190, in main
>      cmd_map[command](argv)
>    File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line 218, in 
> cluster_cmd
>      cluster_node(argv)
>    File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line 1674, in 
> cluster_node
>      node_add(lib_env, node0, node1, modifiers)
>    File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line 1857, in 
> node_add
>      allow_incomplete_distribution=modifiers["skip_offline_nodes"]
>    File 
> "/usr/lib/python3.6/site-packages/pcs/lib/commands/remote_node.py", line 
> 58, in _share_authkey
>      node_communication_format.pcmk_authkey_file(authkey_content),
>    File 
> "/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py", 
> line 47, in pcmk_authkey_file
>      "pacemaker_remote authkey": pcmk_authkey_format(authkey_content)
>    File 
> "/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py", 
> line 29, in pcmk_authkey_format
>      "data": base64.b64encode(authkey_content).decode("utf-8"),
>    File "/usr/lib/python3.6/base64.py", line 58, in b64encode
>      encoded = binascii.b2a_base64(s, newline=False)
> TypeError: a bytes-like object is required, not 'str'
> 
> it seems there is a TypeError
> 

this problem has been fixed in pcs-0.9.163-2.fc27. This package is in 
testing and soon it will be in stable (days to stable 1).

Ivan


More information about the Users mailing list