Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6
The mariabackup / Galera SST (via mariabackup) failed if password is passed to it (from the Galera SST script) via MYSQL_PWD environment variable.
An example of a failure, taken from buildbot logs:
+ sudo mysqld_safe --defaults-extra-file=/home/buildbot/node2.cnf --user=mysql
ERROR 2002 (HY000): Can't connect to MySQL server on 'localhost' (111)
+ sleep 3
210401 02:24:22 mysqld_safe Adding '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1' to LD_PRELOAD for mysqld
210401 02:24:22 mysqld_safe Logging to '/var/lib/node2/node2.err'.
210401 02:24:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/node2
+ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+ mysql -uroot -prootpass --port=8302 --protocol=tcp -e 'select * from mgc.t1'
ERROR 2013 (HY000): Lost connection to MySQL server at 'handshake: reading initial communication packet', system error: 104
+ sleep 3
+ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+ mysql -uroot -prootpass --port=8302 --protocol=tcp -e 'select * from mgc.t1'
ERROR 2002 (HY000): Can't connect to MySQL server on 'localhost' (111)
+ sleep 3
{"report":{"fcp":1533.7000000476837,"ttfb":554.7000000476837,"pageVisibility":"visible","entityId":98477,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2458f464-1547-42bb-a387-36086ee87b4f","navigationType":0,"readyForUser":1613.6000001430511,"redirectCount":0,"resourceLoadedEnd":1786.2000000476837,"resourceLoadedStart":560.7000000476837,"resourceTiming":[{"duration":430.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":560.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":560.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":991,"responseStart":0,"secureConnectionStart":0},{"duration":430.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":560.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":560.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":991.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":477.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":561.1000001430511,"connectEnd":561.1000001430511,"connectStart":561.1000001430511,"domainLookupEnd":561.1000001430511,"domainLookupStart":561.1000001430511,"fetchStart":561.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":561.1000001430511,"responseEnd":1038.4000000953674,"responseStart":1038.4000000953674,"secureConnectionStart":561.1000001430511},{"duration":537.6000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":561.2999999523163,"connectEnd":561.2999999523163,"connectStart":561.2999999523163,"domainLookupEnd":561.2999999523163,"domainLookupStart":561.2999999523163,"fetchStart":561.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":561.2999999523163,"responseEnd":1098.9000000953674,"responseStart":1098.9000000953674,"secureConnectionStart":561.2999999523163},{"duration":541.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":561.6000001430511,"connectEnd":561.6000001430511,"connectStart":561.6000001430511,"domainLookupEnd":561.6000001430511,"domainLookupStart":561.6000001430511,"fetchStart":561.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":561.6000001430511,"responseEnd":1103.1000001430511,"responseStart":1103,"secureConnectionStart":561.6000001430511},{"duration":541.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":561.7000000476837,"connectEnd":561.7000000476837,"connectStart":561.7000000476837,"domainLookupEnd":561.7000000476837,"domainLookupStart":561.7000000476837,"fetchStart":561.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":561.7000000476837,"responseEnd":1103.6000001430511,"responseStart":1103.6000001430511,"secureConnectionStart":561.7000000476837},{"duration":541.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":562,"connectEnd":562,"connectStart":562,"domainLookupEnd":562,"domainLookupStart":562,"fetchStart":562,"redirectEnd":0,"redirectStart":0,"requestStart":562,"responseEnd":1103.9000000953674,"responseStart":1103.9000000953674,"secureConnectionStart":562},{"duration":623.5999999046326,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":562.1000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":562.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1185.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":542.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":562.2000000476837,"connectEnd":562.2000000476837,"connectStart":562.2000000476837,"domainLookupEnd":562.2000000476837,"domainLookupStart":562.2000000476837,"fetchStart":562.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":562.2000000476837,"responseEnd":1104.4000000953674,"responseStart":1104.4000000953674,"secureConnectionStart":562.2000000476837},{"duration":623.3999998569489,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":562.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":562.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1185.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":542.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":562.6000001430511,"connectEnd":562.6000001430511,"connectStart":562.6000001430511,"domainLookupEnd":562.6000001430511,"domainLookupStart":562.6000001430511,"fetchStart":562.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":562.6000001430511,"responseEnd":1104.9000000953674,"responseStart":1104.9000000953674,"secureConnectionStart":562.6000001430511},{"duration":724.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":563.7000000476837,"connectEnd":563.7000000476837,"connectStart":563.7000000476837,"domainLookupEnd":563.7000000476837,"domainLookupStart":563.7000000476837,"fetchStart":563.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":563.7000000476837,"responseEnd":1288.2000000476837,"responseStart":1288.2000000476837,"secureConnectionStart":563.7000000476837},{"duration":1204.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":563.7999999523163,"connectEnd":563.7999999523163,"connectStart":563.7999999523163,"domainLookupEnd":563.7999999523163,"domainLookupStart":563.7999999523163,"fetchStart":563.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":563.7999999523163,"responseEnd":1768,"responseStart":1768,"secureConnectionStart":563.7999999523163},{"duration":98.39999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1197.6000001430511,"connectEnd":1197.6000001430511,"connectStart":1197.6000001430511,"domainLookupEnd":1197.6000001430511,"domainLookupStart":1197.6000001430511,"fetchStart":1197.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":1197.6000001430511,"responseEnd":1296,"responseStart":1296,"secureConnectionStart":1197.6000001430511},{"duration":307.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1461,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1461,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1768.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":318.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1462,"connectEnd":1462,"connectStart":1462,"domainLookupEnd":1462,"domainLookupStart":1462,"fetchStart":1462,"redirectEnd":0,"redirectStart":0,"requestStart":1462,"responseEnd":1780.7999999523163,"responseStart":1780.7999999523163,"secureConnectionStart":1462},{"duration":323.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1462.2999999523163,"connectEnd":1462.2999999523163,"connectStart":1462.2999999523163,"domainLookupEnd":1462.2999999523163,"domainLookupStart":1462.2999999523163,"fetchStart":1462.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1462.2999999523163,"responseEnd":1786.2000000476837,"responseStart":1786.2000000476837,"secureConnectionStart":1462.2999999523163},{"duration":315.59999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1521.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1521.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1837.2000000476837,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":396,"responseStart":554,"responseEnd":558,"domLoading":558,"domInteractive":1793,"domContentLoadedEventStart":1793,"domContentLoadedEventEnd":1834,"domComplete":2642,"loadEventStart":2643,"loadEventEnd":2643,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1772.1000001430511},{"name":"bigPipe.sidebar-id.end","time":1773},{"name":"bigPipe.activity-panel-pipe-id.start","time":1773.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1774.4000000953674},{"name":"activityTabFullyLoaded","time":1848.6000001430511}],"measures":[],"correlationId":"f75081ff536a02","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":14,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Fixed and merged for the current revision, a solution that does not use innobackupex will be done separately (so as not to block the current development process)