<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello guys,</p>
<p><br>
</p>
<p>I have discovered pacemaker since a few days and I m trying to
setup a Raspberry PI 3 cluster :)</p>
<p>I am running Fedora 27 - armv7l release.</p>
<p>pacemaker is 1.1.18</p>
<p>corosync is 2.4.3</p>
<p>1/ I can create a cluster with 2 nodes let's say pi01 and pi02
with no issue. <br>
</p>
<p>Then I want to add a third node with command "pcs cluster node
add pi05"</p>
<p><br>
</p>
<p><b>#pcs cluster setup --name hapi --enable pi01 pi02</b><br>
Destroying cluster on nodes: pi01, pi02...<br>
pi02: Stopping Cluster (pacemaker)...<br>
pi01: Stopping Cluster (pacemaker)...<br>
pi01: Successfully destroyed cluster<br>
pi02: Successfully destroyed cluster<br>
<br>
Sending 'pacemaker_remote authkey' to 'pi01', 'pi02'<br>
pi01: successful distribution of the file 'pacemaker_remote
authkey'<br>
pi02: successful distribution of the file 'pacemaker_remote
authkey'<br>
Sending cluster config files to the nodes...<br>
pi01: Succeeded<br>
pi02: Succeeded<br>
pi01: Cluster Enabled<br>
pi02: Cluster Enabled<br>
<br>
Synchronizing pcsd certificates on nodes pi01, pi02...<br>
pi01: Success<br>
pi02: Success<br>
Restarting pcsd on the nodes in order to reload the
certificates...<br>
pi01: Success<br>
pi02: Success<br>
</p>
<p><br>
</p>
<p><b>#pcs cluster start --all</b><br>
pi02: Starting Cluster...<br>
pi01: Starting Cluster...<br>
<br>
</p>
<p><b>#pcs status</b><br>
</p>
<p>Cluster name: hapi<br>
WARNING: no stonith devices and stonith-enabled is not false<br>
Stack: corosync<br>
Current DC: pi02 (version 1.1.18-2.fc27-2b07d5c5a9) - partition
with quorum<br>
Last updated: Mon Mar 5 21:51:43 2018<br>
Last change: Mon Mar 5 21:51:19 2018 by hacluster via crmd on
pi02<br>
<br>
2 nodes configured<br>
0 resources configured<br>
<br>
Online: [ pi01 pi02 ]<br>
<br>
No resources<br>
<br>
<br>
Daemon Status:<br>
corosync: active/enabled<br>
pacemaker: active/enabled<br>
pcsd: active/enabled<br>
<br>
</p>
<p><b>#pcs cluster auth pi01 pi02 pi05</b><br>
pi01: Already authorized<br>
pi02: Already authorized<br>
pi05: Already authorized<br>
<br>
</p>
<p><b>#pcs cluster node add pi05 --start --enable</b><b><br>
</b>Disabling SBD service...<br>
pi05: sbd disabled<br>
Traceback (most recent call last):<br>
File "/usr/sbin/pcs", line 11, in <module><br>
load_entry_point('pcs==0.9.160', 'console_scripts', 'pcs')()<br>
File "/usr/lib/python3.6/site-packages/pcs/app.py", line 190, in
main<br>
cmd_map[command](argv)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
218, in cluster_cmd<br>
cluster_node(argv)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
1674, in cluster_node<br>
node_add(lib_env, node0, node1, modifiers)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
1857, in node_add<br>
allow_incomplete_distribution=modifiers["skip_offline_nodes"]<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/commands/remote_node.py",
line 58, in _share_authkey<br>
node_communication_format.pcmk_authkey_file(authkey_content),<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py",
line 47, in pcmk_authkey_file<br>
"pacemaker_remote authkey":
pcmk_authkey_format(authkey_content)<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py",
line 29, in pcmk_authkey_format<br>
"data": base64.b64encode(authkey_content).decode("utf-8"),<br>
File "/usr/lib/python3.6/base64.py", line 58, in b64encode<br>
encoded = binascii.b2a_base64(s, newline=False)<br>
TypeError: a bytes-like object is required, not 'str'<br>
<br>
</p>
<p>it seems there is a TypeError</p>
<p>let's try with --debug</p>
<p><br>
</p>
<p><b>#pcs cluster node add pi05 --start --enable --debug</b><b><br>
</b>Running: /usr/bin/ruby -I/usr/lib/pcsd/
/usr/lib/pcsd/pcsd-cli.rb read_tokens<br>
Environment:<br>
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus<br>
DISPLAY=localhost:11.0<br>
EDITOR=vi<br>
GEM_HOME=/usr/lib/pcsd/vendor/bundle/ruby<br>
HISTCONTROL=ignoredups<br>
HISTSIZE=1000<br>
HOME=/root<br>
HOSTNAME=pi01<br>
LANG=en_US.UTF-8<br>
LC_ALL=C<br>
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/lib<br>
LESSOPEN=||/usr/bin/lesspipe.sh %s<br>
LOGNAME=root<br>
LS_COLORS=rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:<br>
MAIL=/var/spool/mail/root<br>
MANPATH=/usr/local/share/<a class="moz-txt-link-freetext" href="man:/usr/share/man/fr:/usr/share/man">man:/usr/share/man/fr:/usr/share/man</a><br>
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/games:/etc:/root/bin<br>
PCSD_DEBUG=true<br>
PCSD_NETWORK_TIMEOUT=60<br>
PWD=/root<br>
SELINUX_LEVEL_REQUESTED=<br>
SELINUX_ROLE_REQUESTED=<br>
SELINUX_USE_CURRENT_RANGE=<br>
SHELL=/bin/bash<br>
SHLVL=1<br>
SSH_CLIENT=172.16.1.22 53582 22<br>
SSH_CONNECTION=172.16.1.22 53582 172.16.1.241 22<br>
SSH_TTY=/dev/pts/1<br>
TERM=xterm-256color<br>
USER=root<br>
XDG_RUNTIME_DIR=/run/user/0<br>
XDG_SESSION_ID=8<br>
XMODIFIERS=@im=ibus<br>
_=/usr/sbin/pcs<br>
--Debug Input Start--<br>
{}<br>
--Debug Input End--<br>
<br>
Finished running: /usr/bin/ruby -I/usr/lib/pcsd/
/usr/lib/pcsd/pcsd-cli.rb read_tokens<br>
Return value: 0<br>
--Debug Stdout Start--<br>
{<br>
"status": "ok",<br>
"data": {<br>
"tokens": {<br>
"pi01": "88982663-09d0-4f24-85c5-1659d7762d74",<br>
"pi02": "3b545808-f841-4f67-866c-9d7051fc756e",<br>
"pi05": "3fff97a2-4d46-4c9b-a0fd-a4f1da421c1c"<br>
},<br>
"ports": {<br>
"pi01": null,<br>
"pi02": null,<br>
"pi05": null<br>
}<br>
},<br>
"log": [<br>
"I, [2018-03-05T21:59:49.346463 #26209] INFO -- : PCSD
Debugging enabled\n",<br>
"D, [2018-03-05T21:59:49.346923 #26209] DEBUG -- : Did not
detect RHEL 6\n",<br>
"D, [2018-03-05T21:59:49.347100 #26209] DEBUG -- : Detected
systemd is in use\n",<br>
"I, [2018-03-05T21:59:49.347329 #26209] INFO -- : Running:
/usr/sbin/corosync-cmapctl totem.cluster_name\n",<br>
"I, [2018-03-05T21:59:49.347560 #26209] INFO -- : CIB USER:
hacluster, groups: \n",<br>
"D, [2018-03-05T21:59:49.402903 #26209] DEBUG -- :
[\"totem.cluster_name (str) = hapi\\n\"]\n",<br>
"D, [2018-03-05T21:59:49.403292 #26209] DEBUG -- : []\n",<br>
"D, [2018-03-05T21:59:49.403574 #26209] DEBUG -- : Duration:
0.055257672s\n",<br>
"I, [2018-03-05T21:59:49.403964 #26209] INFO -- : Return
Value: 0\n"<br>
]<br>
}<br>
<br>
--Debug Stdout End--<br>
--Debug Stderr Start--<br>
<br>
--Debug Stderr End--<br>
<br>
Sending HTTP Request to: <a class="moz-txt-link-freetext" href="https://pi05:2224/remote/check_auth">https://pi05:2224/remote/check_auth</a><br>
Data: None<br>
Response Code: 200<br>
--Debug Response Start--<br>
{"success":true,"node_list":["pi01","pi02","pi05"]}<br>
--Debug Response End--<br>
Communication debug info for calling:
<a class="moz-txt-link-freetext" href="https://pi05:2224/remote/check_auth">https://pi05:2224/remote/check_auth</a><br>
--Debug Communication Output Start--<br>
* Trying 172.16.1.245...<br>
* TCP_NODELAY set<br>
* Connected to pi05 (172.16.1.245) port 2224 (#0)<br>
* ALPN, offering http/1.1<br>
* Cipher selection: PROFILE=SYSTEM<br>
* successfully set certificate verify locations:<br>
* CAfile: /etc/pki/tls/certs/ca-bundle.crt<br>
CApath: none<br>
* TLSv1.2 (OUT), TLS handshake, Client hello (1):<br>
* TLSv1.2 (IN), TLS handshake, Server hello (2):<br>
* TLSv1.2 (IN), TLS handshake, Certificate (11):<br>
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):<br>
* TLSv1.2 (IN), TLS handshake, Server finished (14):<br>
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):<br>
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):<br>
* TLSv1.2 (OUT), TLS handshake, Finished (20):<br>
* TLSv1.2 (IN), TLS handshake, Finished (20):<br>
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384<br>
* ALPN, server did not agree to a protocol<br>
* Server certificate:<br>
* subject: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* start date: Mar 5 10:59:13 2018 GMT<br>
* expire date: Mar 2 10:59:13 2028 GMT<br>
* issuer: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* SSL certificate verify result: self signed certificate (18),
continuing anyway.<br>
> GET /remote/check_auth HTTP/1.1<br>
Host: pi05:2224<br>
User-Agent: PycURL/7.43.0 libcurl/7.55.1 OpenSSL/1.1.0g
zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.3)
libssh2/1.8.0 nghttp2/1.25.0<br>
Accept: */*<br>
Cookie: token=3fff97a2-4d46-4c9b-a0fd-a4f1da421c1c<br>
<br>
< HTTP/1.1 200 OK <br>
< Content-Type: text/html;charset=utf-8<br>
< Content-Length: 51<br>
< X-Xss-Protection: 1; mode=block<br>
< X-Content-Type-Options: nosniff<br>
< X-Frame-Options: SAMEORIGIN<br>
< Server: WEBrick/1.3.1 (Ruby/2.4.3/2017-12-14) OpenSSL/1.1.0g<br>
< Date: Mon, 05 Mar 2018 20:59:49 GMT<br>
< Connection: Keep-Alive<br>
< <br>
<< {"success":true,"node_list":["pi01","pi02","pi05"]}<br>
* Connection #0 to host pi05 left intact<br>
<br>
--Debug Communication Output End--<br>
<br>
Running: /usr/sbin/corosync -v<br>
Environment:<br>
[... same environment ...]</p>
<p>Finished running: /usr/sbin/corosync -v<br>
Return value: 0<br>
--Debug Stdout Start--<br>
Corosync Cluster Engine, version '2.4.3'<br>
Copyright (c) 2006-2009 Red Hat, Inc.<br>
<br>
--Debug Stdout End--<br>
--Debug Stderr Start--<br>
<br>
--Debug Stderr End--<br>
<br>
Running: /usr/bin/ruby -I/usr/lib/pcsd/ /usr/lib/pcsd/pcsd-cli.rb
read_tokens<br>
Environment:<br>
[... same environment ...]</p>
<p>--Debug Input Start--<br>
{}<br>
--Debug Input End--<br>
<br>
Finished running: /usr/bin/ruby -I/usr/lib/pcsd/
/usr/lib/pcsd/pcsd-cli.rb read_tokens<br>
Return value: 0<br>
--Debug Stdout Start--<br>
{<br>
"status": "ok",<br>
"data": {<br>
"tokens": {<br>
"pi01": "88982663-09d0-4f24-85c5-1659d7762d74",<br>
"pi02": "3b545808-f841-4f67-866c-9d7051fc756e",<br>
"pi05": "3fff97a2-4d46-4c9b-a0fd-a4f1da421c1c"<br>
},<br>
"ports": {<br>
"pi01": null,<br>
"pi02": null,<br>
"pi05": null<br>
}<br>
},<br>
"log": [<br>
"I, [2018-03-05T21:59:53.331360 #26220] INFO -- : PCSD
Debugging enabled\n",<br>
"D, [2018-03-05T21:59:53.331705 #26220] DEBUG -- : Did not
detect RHEL 6\n",<br>
"D, [2018-03-05T21:59:53.331877 #26220] DEBUG -- : Detected
systemd is in use\n",<br>
"I, [2018-03-05T21:59:53.332108 #26220] INFO -- : Running:
/usr/sbin/corosync-cmapctl totem.cluster_name\n",<br>
"I, [2018-03-05T21:59:53.332303 #26220] INFO -- : CIB USER:
hacluster, groups: \n",<br>
"D, [2018-03-05T21:59:53.382540 #26220] DEBUG -- :
[\"totem.cluster_name (str) = hapi\\n\"]\n",<br>
"D, [2018-03-05T21:59:53.382928 #26220] DEBUG -- : []\n",<br>
"D, [2018-03-05T21:59:53.383150 #26220] DEBUG -- : Duration:
0.050119528s\n",<br>
"I, [2018-03-05T21:59:53.383601 #26220] INFO -- : Return
Value: 0\n"<br>
]<br>
}<br>
<br>
--Debug Stdout End--<br>
--Debug Stderr Start--<br>
<br>
--Debug Stderr End--<br>
<br>
Sending HTTP Request to: <a class="moz-txt-link-freetext" href="https://pi05:2224/remote/node_available">https://pi05:2224/remote/node_available</a><br>
<br>
Finished calling: <a class="moz-txt-link-freetext" href="https://pi05:2224/remote/node_available">https://pi05:2224/remote/node_available</a><br>
Response Code: 200<br>
--Debug Response Start--<br>
{"node_available":true}<br>
--Debug Response End--<br>
<br>
Communication debug info for calling:
<a class="moz-txt-link-freetext" href="https://pi05:2224/remote/node_available">https://pi05:2224/remote/node_available</a><br>
--Debug Communication Info Start--<br>
* Trying 172.16.1.245...<br>
* TCP_NODELAY set<br>
* Connected to pi05 (172.16.1.245) port 2224 (#0)<br>
* ALPN, offering http/1.1<br>
* Cipher selection: PROFILE=SYSTEM<br>
* successfully set certificate verify locations:<br>
* CAfile: /etc/pki/tls/certs/ca-bundle.crt<br>
CApath: none<br>
* TLSv1.2 (OUT), TLS handshake, Client hello (1):<br>
* TLSv1.2 (IN), TLS handshake, Server hello (2):<br>
* TLSv1.2 (IN), TLS handshake, Certificate (11):<br>
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):<br>
* TLSv1.2 (IN), TLS handshake, Server finished (14):<br>
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):<br>
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):<br>
* TLSv1.2 (OUT), TLS handshake, Finished (20):<br>
* TLSv1.2 (IN), TLS handshake, Finished (20):<br>
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384<br>
* ALPN, server did not agree to a protocol<br>
* Server certificate:<br>
* subject: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* start date: Mar 5 10:59:13 2018 GMT<br>
* expire date: Mar 2 10:59:13 2028 GMT<br>
* issuer: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* SSL certificate verify result: self signed certificate (18),
continuing anyway.<br>
> GET /remote/node_available HTTP/1.1<br>
Host: pi05:2224<br>
User-Agent: PycURL/7.43.0 libcurl/7.55.1 OpenSSL/1.1.0g
zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.3)
libssh2/1.8.0 nghttp2/1.25.0<br>
Accept: */*<br>
Cookie: token=3fff97a2-4d46-4c9b-a0fd-a4f1da421c1c<br>
<br>
< HTTP/1.1 200 OK <br>
< Content-Type: text/html;charset=utf-8<br>
< Content-Length: 23<br>
< X-Xss-Protection: 1; mode=block<br>
< X-Content-Type-Options: nosniff<br>
< X-Frame-Options: SAMEORIGIN<br>
< Server: WEBrick/1.3.1 (Ruby/2.4.3/2017-12-14) OpenSSL/1.1.0g<br>
< Date: Mon, 05 Mar 2018 20:59:53 GMT<br>
< Connection: Keep-Alive<br>
< <br>
<< {"node_available":true}<br>
* Connection #0 to host pi05 left intact<br>
<br>
--Debug Communication Info End--<br>
<br>
Running: /bin/systemctl is-enabled sbd.service<br>
Environment:<br>
[... same environment ...]</p>
<p>Finished running: /bin/systemctl is-enabled sbd.service<br>
Return value: 1<br>
--Debug Stdout Start--<br>
<br>
--Debug Stdout End--<br>
--Debug Stderr Start--<br>
Failed to get unit file state for sbd.service: No such file or
directory<br>
<br>
--Debug Stderr End--<br>
<br>
Disabling SBD service...<br>
Sending HTTP Request to: <a class="moz-txt-link-freetext" href="https://pi05:2224/remote/sbd_disable">https://pi05:2224/remote/sbd_disable</a><br>
<br>
Finished calling: <a class="moz-txt-link-freetext" href="https://pi05:2224/remote/sbd_disable">https://pi05:2224/remote/sbd_disable</a><br>
Response Code: 200<br>
--Debug Response Start--<br>
SBD disabled<br>
--Debug Response End--<br>
<br>
Communication debug info for calling:
<a class="moz-txt-link-freetext" href="https://pi05:2224/remote/sbd_disable">https://pi05:2224/remote/sbd_disable</a><br>
--Debug Communication Info Start--<br>
* Trying 172.16.1.245...<br>
* TCP_NODELAY set<br>
* Connected to pi05 (172.16.1.245) port 2224 (#0)<br>
* ALPN, offering http/1.1<br>
* Cipher selection: PROFILE=SYSTEM<br>
* successfully set certificate verify locations:<br>
* CAfile: /etc/pki/tls/certs/ca-bundle.crt<br>
CApath: none<br>
* TLSv1.2 (OUT), TLS handshake, Client hello (1):<br>
* TLSv1.2 (IN), TLS handshake, Server hello (2):<br>
* TLSv1.2 (IN), TLS handshake, Certificate (11):<br>
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):<br>
* TLSv1.2 (IN), TLS handshake, Server finished (14):<br>
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):<br>
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):<br>
* TLSv1.2 (OUT), TLS handshake, Finished (20):<br>
* TLSv1.2 (IN), TLS handshake, Finished (20):<br>
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384<br>
* ALPN, server did not agree to a protocol<br>
* Server certificate:<br>
* subject: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* start date: Mar 5 10:59:13 2018 GMT<br>
* expire date: Mar 2 10:59:13 2028 GMT<br>
* issuer: C=US; ST=MN; L=Minneapolis; O=pcsd; OU=pcsd;
CN=pi3-05.intranet.net<br>
* SSL certificate verify result: self signed certificate (18),
continuing anyway.<br>
> GET /remote/sbd_disable HTTP/1.1<br>
Host: pi05:2224<br>
User-Agent: PycURL/7.43.0 libcurl/7.55.1 OpenSSL/1.1.0g
zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.3)
libssh2/1.8.0 nghttp2/1.25.0<br>
Accept: */*<br>
Cookie: token=3fff97a2-4d46-4c9b-a0fd-a4f1da421c1c<br>
<br>
< HTTP/1.1 200 OK <br>
< Content-Type: text/html;charset=utf-8<br>
< Content-Length: 12<br>
< X-Xss-Protection: 1; mode=block<br>
< X-Content-Type-Options: nosniff<br>
< X-Frame-Options: SAMEORIGIN<br>
< Server: WEBrick/1.3.1 (Ruby/2.4.3/2017-12-14) OpenSSL/1.1.0g<br>
< Date: Mon, 05 Mar 2018 20:59:56 GMT<br>
< Connection: Keep-Alive<br>
< <br>
<< SBD disabled<br>
* Connection #0 to host pi05 left intact<br>
<br>
--Debug Communication Info End--<br>
<br>
pi05: sbd disabled<br>
Traceback (most recent call last):<br>
File "/usr/sbin/pcs", line 11, in <module><br>
load_entry_point('pcs==0.9.160', 'console_scripts', 'pcs')()<br>
File "/usr/lib/python3.6/site-packages/pcs/app.py", line 190, in
main<br>
cmd_map[command](argv)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
218, in cluster_cmd<br>
cluster_node(argv)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
1674, in cluster_node<br>
node_add(lib_env, node0, node1, modifiers)<br>
File "/usr/lib/python3.6/site-packages/pcs/cluster.py", line
1857, in node_add<br>
allow_incomplete_distribution=modifiers["skip_offline_nodes"]<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/commands/remote_node.py",
line 58, in _share_authkey<br>
node_communication_format.pcmk_authkey_file(authkey_content),<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py",
line 47, in pcmk_authkey_file<br>
"pacemaker_remote authkey":
pcmk_authkey_format(authkey_content)<br>
File
"/usr/lib/python3.6/site-packages/pcs/lib/node_communication_format.py",
line 29, in pcmk_authkey_format<br>
"data": base64.b64encode(authkey_content).decode("utf-8"),<br>
File "/usr/lib/python3.6/base64.py", line 58, in b64encode<br>
encoded = binascii.b2a_base64(s, newline=False)<br>
TypeError: a bytes-like object is required, not 'str'<br>
<br>
</p>
<p><br>
</p>
<p>2/ do you know if there is any binaries or packages for DRBD for
armv7l architecture, as there is nothing for it with ELRepo.</p>
<p>3/ is there a way to configure a NFS export as a resource ?</p>
<p> what is the best: NFS or iSCSI+lvm or DRBD ?</p>
<p>4/ any chance to test pacemaker 2.0 and all the documentation
associated to it ? :)<br>
</p>
<p>thanks a lot guys</p>
<p><br>
</p>
<p>Fox<br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>