【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】清晰明确描述问题
接口链接
发起租户恢复-V4.3.5-文档-分布式数据库使用文档
/api/v2/ob/clusters/1000001/backup/restore
body参数:
{“backupTenantStatus”:“OFFLINE”,
“restoreOfflineTenantRequiredParam”:{
“restoreClusterId”:1741227764,“backupMode”:“PHYSICAL_BACKUP”,“backupClusterName”:“obcluster435arm”,“backupTenantName”:“orac”,
“obBackupStorageBaseInfo”: {“s3AccessKey”: {“accessKeyId”: “uYkYwtyTvZz0U9V5jNxG”,“accessKeySecret”: “mtCTkFLHGt8wep9qfc1i1vbXE1ceDWbf5lMcXoiK”,“endpoint”: “http://10.1.132.250:9000/"},"backupStorageType”: “BACKUP_STORAGE_S3”,“storageUrl”: “lyr/obcluster435arm/1741227765/tenant_incarnation_1/1288”},
“restoreEndTime”: “2020-11-11T00:50:00.215+08:00”,
“restoreTenantInfoParam”:{“name”:“oarcZ”,“zones”:[{“name”:“zone1”,“replicaType”:“FULL”,“resourcePool”:{“unitSpecName”:“S1_unit_config”,“unitCount”:1}}],“primaryZone”:“zone1”}
}
}
报错:
{“duration”:64,“error”:{“message”:“Unhandled exception, type=NullPointerException”},“server”:“20c887d1c3”,“status”:500,“successful”:false,“timestamp”:“2025-12-03T16:32:53.51+08:00”,“traceId”:“44449f8928d3d6e9”}
参数测试了很多次,我感觉应该不是参数的问题。备份的api正常使用。
麻烦看看是不是ocp api接口内部程序的问题。
