Skip to content

postgres-operator incompatible with older deployments using non-v4 patroni #4144

Open
@jansmets

Description

@jansmets

I'm unable to use the latest release of the operator (5.7.4) with any older deployments (eg, crunchy-postgres:ubi8-13.10-0)

level=debug msg="changed primary" ... stderr="Usage: patronictl switchover [OPTIONS] [CLUSTER_NAME]\nTry 'patronictl switchover --help' for help.\n\nError: No such option: --primary\n" stdout= version=5.7.4-0

This commit made the change to use --primary
744f708

I had to revert back to 5.7.2

Please consider checking the patroni version before executing the command - or fall back to the previous command line syntax/options in case the first (v4 syntax) fails.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions