Hello There!
I'm having trouble connecting to a CEPH object storage service using PROC S3 in SAS Viya 3.5 on Linux. CEPH is an open-source distributed storage system capable of providing S3 compatible buckets. I've tried setting a custom region using the TKS3_CUSTOM_REGION environment variable and a config file with access credentials, but I keep getting an error saying "The AWS access key Id you provided does not exist in our records." Here's my code:
options set=TKS3_CUSTOM_REGION="us-east-1,storage.yada.yada,0,0,TRUE,TRUE";
%let myvar_value = %sysget(TKS3_CUSTOM_REGION);
%put &myvar_value;
PROC S3
config="/home/user/tks3.cfg";
LIST "/";
RUN;
The S3 " /home/user/tks3.cfg" file contains the following:
region=us-east-1
keyID = thisIsAnAwesomeKeyID
secret = whoaThisSecretIsSafe
Output Log:
1 %studio_hide_wrapper;
83 options set=TKS3_CUSTOM_REGION="us-east-1,storage.yada.yada,0,0,TRUE,TRUE";
84 %let myvar_value = %sysget(TKS3_CUSTOM_REGION);
85 %put &myvar_value;
us-east-1,storage.yada.yada,0,0,TRUE,TRUE
86
87 PROC S3
88 config="/home/user/tks3.cfg";
91 LIST "/";
92 RUN;
ERROR: Could not get user buckets.
ERROR: The AWS access key Id you provided does not exist in our records.
ERROR: The AWS access key Id you provided does not exist in our records.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE S3 used (Total process time):
real time 0.58 seconds
cpu time 0.02 seconds
93
94 %studio_hide_wrapper;
105
106
Currently I am able to interact with data from the CEPH bucket using the command-line tool for managing Amazon S3 storage, s3cmd, the same way I use it to interact with AWS S3 buckets. I guess this rules out problems caused by the CEPH service.
Can someone point what might be wrong?
Thank you.
Environment info:
SAS Viya 3.5 running on Linux
... View more