Failed here while testing ecccd7f75 in staging:
https://staging-patchdemo.wmcloud.org/edit.php?wiki=14914c89a5
logs from the container:
+ mariadb -uroot -pREDACTED -hwiki-14914c89a5-50-mariadb -P3306 -e '' ERROR 1130 (HY000): Host '10.42.2.204' is not allowed to connect to this MariaDB server + sleep 10 + create_database wiki_14914c89a5_50__main + local DB_NAME=wiki_14914c89a5_50__main + mariadb -uroot -pREDACTED -hwiki-14914c89a5-50-mariadb -P3306 -e 'CREATE DATABASE IF NOT EXISTS wiki_14914c89a5_50__main DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;' ERROR 1130 (HY000): Host '10.42.2.204' is not allowed to connect to this MariaDB server
services:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE wiki-14914c89a5-50-mariadb ClusterIP 10.43.252.179 <none> 3306/TCP 30m wiki-14914c89a5-50-mediawiki NodePort 10.43.107.35 <none> 8080:32352/TCP 30m
Works fine tested locally (with standalone db) and in production (shared db), assuming something is up with staging specifically.