Description:
I deploy a cluster where only the master without replicas.
Apparently in this case, a stanza is not created. (???)
In the logs of the operator there are such entries:
time="2023-08-07T10:55:26Z" level=debug msg="command terminated with exit code 31: ERROR: [031]: configuration file contains duplicate options ('repo1-path', 'repo-path') in section '[global]'\n" object="{PostgresCluster pgo pdb e1810128-f1ca-4b34-a3e5-7cf5d488f5ef postgres-operator.crunchydata.com/v1beta1 1478195 }" reason=UnableToCreateStanzas type=Warning version=
time="2023-08-07T10:55:26Z" level=debug msg="reconciled cluster" PostgresCluster=pgo/pdb controller=postgrescluster controllerGroup=postgres-operator.crunchydata.com controllerKind=PostgresCluster name=pdb namespace=pgo reconcileID=be98145c-985d-431e-9f3e-549e8a803757 version=
attempts to make a backup on demand are not successful
Steps to Reproduce:
deploy a cluster where only the master without replicas
Version:
pgo2.2 pgbackrest 2.43
Logs:
time=“2023-08-07T10:55:26Z” level=debug msg=“command terminated with exit code 31: ERROR: [031]: configuration file contains duplicate options (‘repo1-path’, ‘repo-path’) in section ‘[global]’\n” object=“{PostgresCluster pgo pdb e1810128-f1ca-4b34-a3e5-7cf5d488f5ef postgres-operator.crunchydata.com/v1beta1 1478195 }” reason=UnableToCreateStanzas type=Warning version=
time=“2023-08-07T10:55:26Z” level=debug msg=“reconciled cluster” PostgresCluster=pgo/pdb controller=postgrescluster controllerGroup=postgres-operator.crunchydata.com controllerKind=PostgresCluster name=pdb namespace=pgo reconcileID=be98145c-985d-431e-9f3e-549e8a803757 version=