PolarDB-X 集群全量备份报错

Open
#237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
kubernetes

Research direction

Start with pxc-backup.yaml and the reported failed validation webhook call; inspect the PolarDBXBackup webhook and the cluster state shown by kubectl get pxc pxc-product. Reproduce the timeout and document or fix the cause so the manifest is accepted and the full backup can be created.

Written by the indexing model from the issue text.

Description

Error from server (InternalError): error when creating "pxc-backup.yaml": Internal error occurred: failed calling webhook "polardbxbackup-validate.polardbx.aliyun.com": failed to call webhook: Post "https://kubernetes.default.svc:443/apis/admission.polardbx.aliyun.com/v1/validate-polardbx-aliyun-com-v1-polardbxbackup?timeout=10s": context deadline exceeded

kubectl get pxc pxc-product
NAME GMS CN DN CDC COLUMNAR PHASE DISK AGE
pxc-product 1/1 3/3 2/2 3/3 - Running 101.0 GiB 10d8h

pxc-backup.yaml

apiVersion: polardbx.aliyun.com/v1
kind: PolarDBXBackup
metadata:
name: pxcbackup-cluster-test
spec:
cluster:
name: pxc-product
retentionTime: 240h
storageProvider:
storageName: sftp
sink: default
preferredBackupRole: follower

Dominant language
Java
Stars
1.7k
Forks
337
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from polardb/polardbx-sql

All issues in polardb/polardbx-sql

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.