Skip to content

Can not create new mysql database from backup #1095

@atompie

Description

@atompie

Context Percona Everest 1.4:

Back up was made to MinIo S3 that has self-signed certificate. Storage was configured not to verify cert and Force-path style URL.

When restoring. K8s restore-job-* fails 5 time with the message that it can not verify certificate. (Notice: Storage was configured not to verify cert)

Logs from rstore-job-* pod

+ LIB_PATH=/usr/lib/pxc
+ . /usr/lib/pxc/check-version.sh
+ . /usr/lib/pxc/vault.sh
++ set -o errexit
++ keyring_vault=/etc/mysql/vault-keyring-secret/keyring_vault.conf
+ XBCLOUD_ARGS='--curl-retriable-errors=7 '
+ MC_ARGS='-C /tmp/mc'
+ '[' -n true ']'
+ [[ true == \f\a\l\s\e ]]
+ '[' -n tracardi-mysql-backup/mysql-tracardi/7fdd15d3-1165-4430-8cea-7186f808dad0/mysql-tracardi-2025-02-11-12:34:10-full ']'
+ mc -C /tmp/mc config host add dest https://167.*.*.*:9000 ACCESS_KEY_ID SECRET_ACCESS_KEY
mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "https://167.*.*.*:9000/probe-bsign-uc1sp3m1u3s4h4nubqxy0nsujxp9dc/?location=": tls: failed to verify certificate: x509: cannot validate certificate for 167.235.119.124 because it doesn't contain any IP SANs.

Metadata

Metadata

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