I’m trying to establish a PITR to Minio. Both replicated, no sharding.
These are the logs:
psmdb-db
Last Transition Time: 2021-12-15T13:37:24Z
Status: True
Type: ready
Last Transition Time: 2021-12-15T13:38:46Z
Message: create pbm object: create PBM connection to percona-mongo-psmdb-d-rs0-2.percona-mongo-psmdb-d-rs0.default.svc.cluster.local:27017,percona-mongo-psmdb-d-rs0-0.percona-mongo-psmdb-d-rs0.default.svc.cluster.local:27017
: create mongo connection: mongo ping: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: percona-mongo-psmdb-d-rs0-2.percona-mongo-psmdb-d-rs0.default.svc.cluster.local:27017, Type: Unknown
, Last error: connection() error occured during connection handshake: dial tcp: lookup percona-mongo-psmdb-d-rs0-2.percona-mongo-psmdb-d-rs0.default.svc.cluster.local on 169.254.20.10:53: no such host }, { Addr: percona-mongo-psmdb-d-rs0-0.pe
rcona-mongo-psmdb-d-rs0.default.svc.cluster.local:27017, Type: RSGhost, Average RTT: 2332184 }, ] }
Reason: ErrorReconcile
Status: True
Type: error
Last Transition Time: 2021-12-15T13:38:47Z
Status: True
Type: initializing
Last Transition Time: 2021-12-15T13:39:37Z
Message: rs0: ready
Reason: RSReady
Status: True
Type: ready
Last Transition Time: 2021-12-15T13:39:37Z
Status: True
Type: initializing
Last Transition Time: 2021-12-15T13:39:42Z
Status: True
Type: ready
Host: percona-mongo-psmdb-d-rs0.default.svc.cluster.local
Mongo Image: percona/percona-server-mongodb:4.4.8-9
Mongo Version: 4.4.8-9
Observed Generation: 11
Pmm Version: 2.21.0
Ready: 3
Replsets:
rs0:
Initialized: true
Ready: 3
Size: 3
Status: ready
Size: 3
State: ready
Events: <none>
psmdb-db $
spec.backup.storages
minio:
type: s3
s3:
bucket: bucket-1
credentialsSecret: myskills-minio-bucket
endpointUrl: https://minio.default.svc.cluster.local:443
# fs-pvc:
# type: filesystem
# volume:
# persistentVolumeClaim:
# storageClassName: longhorn-static
# accessModes: [ "ReadWriteOnce" ]
# resources:
# requests:
# storage: 10Gi
pitr:
enabled: true
tasks:
- name: daily-psmdb-backup
enabled: true
schedule: "0 0 * * *"
keep: 3
storageName: minio
compressionType: gzip
psmdb-backup
Name: backup1
Namespace: default
Labels: <none>
Annotations: <none>
API Version: psmdb.percona.com/v1
Kind: PerconaServerMongoDBBackup
Metadata:
Creation Timestamp: 2021-12-11T04:41:59Z
Generation: 2
Managed Fields:
API Version: psmdb.percona.com/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:psmdbCluster:
f:storageName:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2021-12-11T04:41:59Z
API Version: psmdb.percona.com/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:error:
f:state:
Manager: percona-server-mongodb-operator
Operation: Update
Time: 2021-12-11T04:41:59Z
Resource Version: 7628970
UID: ef4d522b-ccce-4838-867b-1344ad3d0437
Spec:
Psmdb Cluster: percona-mongo-psmdb-d
Storage Name: eu-west-1
Status:
Error: get cluster default/percona-mongo: PerconaServerMongoDB.psmdb.percona.com "percona-mongo" not found
State: error
Events: <none>
Greatful for any hints how to troubleshoot further. (or a solution surfed on a silver platter sparkling in the moonlight )