Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Features] pre-check object storage if it is accessible in backupRepo #5571

Closed
ldming opened this issue Oct 20, 2023 · 0 comments · Fixed by #5714
Closed

[Features] pre-check object storage if it is accessible in backupRepo #5571

ldming opened this issue Oct 20, 2023 · 0 comments · Fixed by #5714

Comments

@ldming
Copy link
Collaborator

ldming commented Oct 20, 2023

pre-check object storage if the object storage is accessible in backupRepo. Otherwise, it is only when uploading data at the very end that it can be known that the object storage is inaccessible.

$ k logs dp-backup-backup-default-lilac82-20231020155747-229d48a1-5hpsz
Defaulted container "backupdata" out of: backupdata, sync-progress, dp-copy-datasafed (init)
Password:
pg_basebackup: initiating base backup, waiting for checkpoint to complete
pg_basebackup: checkpoint completed
pg_basebackup: write-ahead log start point: 0/E000028 on timeline 1
    0/27157 kB (0%), 0/1 tablespace (-                                  )
 1833/27157 kB (6%), 0/1 tablespace (-                                  )
27295/27295 kB (100%), 0/1 tablespace (-                                  )
43552/43552 kB (100%), 0/1 tablespace (-                                  )
43552/43552 kB (100%), 1/1 tablespace
pg_basebackup: write-ahead log end point: 0/E000138
pg_basebackup: syncing data to disk ...
pg_basebackup: base backup completed
Error: push to "/backup-default-lilac82-20231020155747.tar.gz": RequestError: send request failed
caused by: Put "http://minio.efault.svc.cluster.local:9000/test-minio": dial tcp: lookup [minio.efault.svc.cluster.local](http://minio.efault.svc.cluster.local/) on [10.96.0.10:53](http://10.96.0.10:53/): no such host
failed with exit code 1
@ldming ldming changed the title [Features] pre-check object storage if the object storage is accessible in backupRepo [Features] pre-check object storage if it is accessible in backupRepo Oct 20, 2023
@zjx20 zjx20 linked a pull request Nov 1, 2023 that will close this issue
@github-actions github-actions bot added this to the Release 0.7.0 milestone Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants