ProxySQL ver2.0.0 からサポートされたGalera Clusterサポートの動作を確認する。 ノードの停止/再開の際にReaderノード・Writerノードがどのように変化するかを観察した。 (利用バージョン 2.3.2)
# defines all the MySQL servers
mysql_servers =
(
# Writer
# ------------------------------------------------------------- | |
# 日本語のWebページをPDF化する | |
# ------------------------------------------------------------- | |
# ビルド: docker build -t alpine-wkhtmltopdf . | |
# 実行: docker run alpine-wkhtmltopdf https://www.goo.ne.jp - > test.pdf | |
# ------------------------------------------------------------- | |
# ベースはこちら | |
# https://github.com/madnight/docker-alpine-wkhtmltopdf | |
FROM alpine:3.11 |
in check_user_privs\r\nTypeError: tuple indices must be integers or slices, not str\r\n",
See here: https://gist.github.com/shichi-at-nttr/ee8305dee9a791b5827526fbca53f9b9
This problrem is resolved at Ansible 2.7.0. But recurrenced at Ansible 2.7.2 in another reason.
consul.serviceファイルの ExecPre=
行を変更する。
この行を
ExecStartPre=[ -f "/run/consul/consul.pid" ] && /usr/bin/rm -f /run/consul/consul.pid
こう変更する。
ExecStartPre=/bin/echo "[ -f /run/consul/consul.pid ] && /bin/rm -f /run/consul/consul.pid" | /bin/sh -s