In stein and train, we only supported running pacemaker with Docker when using centos7. Unfortunately https://review.opendev.org/#/c/693710/ and https://review.opendev.org/#/c/693773/ introduced a breaking task because it assumes podman with k8s-file. k8s-file is not available when running under docker.
2020-10-05 18:33:50.518 636624 WARNING tripleoclient.v1.tripleo_upgrade.Upgrade [-] TASK [Upgrade Mysql database from a temporary container] ******************************************************************************************************
2020-10-05 18:33:50.521 636624 WARNING tripleoclient.v1.tripleo_upgrade.Upgrade [-] fatal: [standalone-0]: FAILED! => {"changed": true, "cmd": "docker run --rm --log-driver=k8s-file --log-opt path=/var/log/containers/mysql/db-upgrade.log -u root --net=host -e \"KOLLA_CONFIG_STRATEGY=COPY_ALWAYS\" -v /etc/hosts:/etc/hosts:ro -v /etc/localtime:/etc/localtime:ro -v /etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro -v /etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro -v /etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro -v /etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro -v /etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro -v /dev/log:/dev/log -v /etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro -v /etc/puppet:/etc/puppet:ro -v /var/lib/kolla/config_files/mysql.json:/var/lib/kolla/config_files/config.json:rw,z -v /var/lib/config-data/puppet-generated/mysql/:/var/lib/kolla/config_files/src:ro,z -v /var/lib/mysql:/var/lib/mysql:rw,z -v /tmp/mariadb-upgrade:/var/log/mariadb:rw,z \"docker.io/tripleostein/centos-binary-mariadb:pcmklatest\" /bin/bash -ecx \"kolla_set_configs; if mysqladmin ping --silent; then exit 0; fi; chown -R mysql:mysql /var/lib/mysql; chown -R mysql:mysql /var/log/mariadb; mysqld_safe --user=mysql --wsrep-provider=none --skip-networking --wsrep-on=off & timeout 60 sh -c 'while ! mysqladmin ping --silent; do sleep 1; done'; mysql_upgrade; mysqladmin shutdown\"", "delta": "0:00:00.066754", "end": "2020-10-05 18:33:50.491301", "msg": "non-zero return code", "rc": 125, "start": "2020-10-05 18:33:50.424547", "stderr": "/usr/bin/docker-current: Error response from daemon: logger: no log driver named 'k8s-file' is registered.\nSee '/usr/bin/docker-current run --help'.", "stderr_lines": ["/usr/bin/docker-current: Error response from daemon: logger: no log driver named 'k8s-file' is registered.", "See '/usr/bin/docker-current run --help'."], "stdout": "", "stdout_lines": []}
Fix proposed to branch: stable/train /review. opendev. org/756149
Review: https:/