Hi,

Am Mittwoch, den 11.03.2020, 10:05 +0000 schrieb Willer, Alexander:
> when patroni tries to clone a new secondary server, it fails.

Sorry, I didn't see your report immediately when you sent it, but I just
encountered the same problem; I think this is a regression with patroni-
1.6.4.

> The error happens in the script
> /usr/share/patroni/pg_clonecluster_patroni. It seems to happen
> because there are some quotes missing for the '--dbname=' argument
> which is passed to pg_basebackup. Due to the missing quotes, the
> connstring looks like multiple arguments instead of one.

My guess ist they changed things around for v12 and the removal of
recovery.conf. Or I was just lucky all the time.

> After adding quotes to the script (line 44) so that the last argument
> looks as follows, the clone process works flawlessly:
> 
> --dbname="$CONNSTR"

Right, I had it fixed that way locally as well.


Michael

-- 
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax:  +49 2166 9901-100
Email: michael.ba...@credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz

Reply via email to