Cassandra 的 medusa 备份不起作用。备份作业已创建,但状态丢失且 medusa 容器日志未更新(卡住)

Cassandra 的 medusa 备份不起作用。备份作业已创建,但状态丢失且 medusa 容器日志未更新(卡住)

我尝试通过运行以下命令来创建 medusa 备份,但不起作用,它仅在 MedusaBackupJobs 文件夹中创建 medusabackup 作业,但我从未获得 medusabackup 作业中的状态,而且备份未完成。作业卡住了。

我检查了 medusa 容器日志,找不到任何有关备份作业快照创建或上传的日志,我在 medusa 中看到的唯一日志粘贴在下面 => “启动服务器。监听端口 50051。” 运行以下命令不会生成任何其他日志。

kubectl 应用-n k8ssandra-operator-f'medusa-backup-full.yaml'

medusa-备份-完整.yaml

apiVersion: medusa.k8ssandra.io/v1alpha1 
kind: MedusaBackupJob 
metadata: name: backup-1 
spec: cassandraDatacenter: dc1 
backupType: full

k8ssandra 部署 yaml 文件中的 medusa 配置

medusa: 
containerImage: registry: xx.yy.zz.cloud/docker-repositories 
tag: 0.13.4 
storageProperties: 
bucketName: cass-backups 
concurrentTransfers: 1 
host: minio.xxx.cloud 
port: 443 
maxBackupAge: 1 
maxBackupCount: 2 
multiPartUploadThreshold: 10000000000000000 
prefix: dc1 
storageProvider: s3_compatible 
storageSecretRef: name: cass-backups

美杜莎集装箱日志

MEDUSA_MODE = GRPC
sleeping for 0 sec
Starting Medusa gRPC service
WARNING:root:The CQL_USERNAME environment variable is deprecated and has been replaced by the MEDUSA_CQL_USERNAME variable
WARNING:root:The CQL_PASSWORD environment variable is deprecated and has been replaced by the MEDUSA_CQL_PASSWORD variable
WARNING:root:The CQL_USERNAME environment variable is deprecated and has been replaced by the MEDUSA_CQL_USERNAME variable
WARNING:root:The CQL_PASSWORD environment variable is deprecated and has been replaced by the MEDUSA_CQL_PASSWORD variable
INFO:root:Init service
[2023-10-13 00:34:22,039] INFO: Init service
DEBUG:root:Loading storage_provider: s3_compatible
[2023-10-13 00:34:22,040] DEBUG: Loading storage_provider: s3_compatible
DEBUG:botocore.hooks:Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
[2023-10-13 00:34:22,040] DEBUG: Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
DEBUG:botocore.hooks:Changing event name from before-call.apigateway to before-call.api-gateway
[2023-10-13 00:34:22,041] DEBUG: Changing event name from before-call.apigateway to before-call.api-gateway
DEBUG:botocore.hooks:Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
[2023-10-13 00:34:22,042] DEBUG: Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
DEBUG:botocore.hooks:Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
[2023-10-13 00:34:22,043] DEBUG: Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
DEBUG:botocore.hooks:Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
[2023-10-13 00:34:22,043] DEBUG: Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
DEBUG:botocore.hooks:Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
[2023-10-13 00:34:22,043] DEBUG: Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
DEBUG:botocore.hooks:Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
[2023-10-13 00:34:22,044] DEBUG: Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
DEBUG:botocore.hooks:Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
[2023-10-13 00:34:22,045] DEBUG: Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
DEBUG:botocore.hooks:Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
[2023-10-13 00:34:22,046] DEBUG: Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
DEBUG:botocore.hooks:Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
[2023-10-13 00:34:22,046] DEBUG: Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
DEBUG:botocore.hooks:Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
[2023-10-13 00:34:22,046] DEBUG: Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
DEBUG:root:Setting AWS credentials file to /etc/medusa-secrets/credentials
[2023-10-13 00:34:22,046] DEBUG: Setting AWS credentials file to /etc/medusa-secrets/credentials
DEBUG:botocore.session:Setting config variable for credentials_file to '/etc/medusa-secrets/credentials'
[2023-10-13 00:34:22,046] DEBUG: Setting config variable for credentials_file to '/etc/medusa-secrets/credentials'
DEBUG:botocore.utils:IMDS ENDPOINT: http://169.254.xxx.xxx/
[2023-10-13 00:34:22,054] DEBUG: IMDS ENDPOINT: http://169.254.xxx.xxx/
DEBUG:botocore.credentials:Looking for credentials via: env
[2023-10-13 00:34:22,056] DEBUG: Looking for credentials via: env
DEBUG:botocore.credentials:Looking for credentials via: assume-role
[2023-10-13 00:34:22,057] DEBUG: Looking for credentials via: assume-role
DEBUG:botocore.credentials:Looking for credentials via: assume-role-with-web-identity
[2023-10-13 00:34:22,057] DEBUG: Looking for credentials via: assume-role-with-web-identity
DEBUG:botocore.credentials:Looking for credentials via: sso
[2023-10-13 00:34:22,057] DEBUG: Looking for credentials via: sso
DEBUG:botocore.credentials:Looking for credentials via: shared-credentials-file
[2023-10-13 00:34:22,057] DEBUG: Looking for credentials via: shared-credentials-file
INFO:botocore.credentials:Found credentials in shared credentials file: /etc/medusa-secrets/credentials
[2023-10-13 00:34:22,058] INFO: Found credentials in shared credentials file: /etc/medusa-secrets/credentials
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): minio-yy.xxx.cloud:443
[2023-10-13 00:34:22,061] DEBUG: Starting new HTTPS connection (1): minio-yy.xxx.cloud:443
DEBUG:urllib3.connectionpool:https://minio-yy.xxx.cloud:443 "HEAD /di-cassandra-backups HTTP/1.1" 200 0
[2023-10-13 00:34:22,092] DEBUG: https://minio-yy.xxx.cloud:443 "HEAD /di-cassandra-backups HTTP/1.1" 200 0
INFO:root:Starting server. Listening on port 50051.
[2023-10-13 00:34:22,094] INFO: Starting server. Listening on port 50051.

我可以检查其他内容来调试此问题吗?提前致谢。

相关内容