validation config failures for API server after apply --env in one command
Slach opened this issue · comments
steps for reproduce
INSERT INTO system.backup_actions(command) VALUES('create_remote --env S3_STORAGE_CLASS=STANDARD_IA');
SELECT * FROM system.backup_list;
second command return error
2024/06/26 15:47:11.900868 error api.writeError status=500
operation=list err='' is bad S3_STORAGE_CLASS,
select one of: []types.StorageClass{"STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA",
"ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR",
"SNOW", "EXPRESS_ONEZONE"} logger=server
2024/06/26 15:47:11.900847 error config.LoadConfig(/etc/clickhouse-backup/config.yml)
return error: '' is bad S3_STORAGE_CLASS, select one of:
[]types.StorageClass{"STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA",
"INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW",
"EXPRESS_ONEZONE"} logger=server