[gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key)
Pinkesh Valdria
pinkesh.valdria at oracle.com
Fri Nov 12 07:57:14 GMT 2021
Hello GPFS experts,
Today I was trying to configure AFM with Object Storage (AWS s3 compatible) and its failing for me. I was wondering if you can help me or introduce me to the person/team who can help.
Failed:
mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=
invalid skey (secret key)
mmafmcoskeys: Command failed. Examine previous error messages to determine cause.
I figured out, it fails because it doesn’t like the equal to “=” sign in the secret key.
Proof:
mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg
Works
mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> get
22f79xxxx:clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg
I tried to use single quote, double quote around the secret keys, but it still fails.
mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx 'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg='
mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx “clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=”
I also tried to add the key in the keyfile and still it fails.
[root at dr-compute-1 ras]# mmafmcoskeys afm-ocios:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1 at hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set --keyfile /var/adm/ras/keyfile
invalid skey (secret key)
mmafmcoskeys: Command failed. Examine previous error messages to determine cause.
[root at dr-compute-1 ras]#
Thanks,
Pinkesh Valdria
Head of HPC Storage
Master Principal Solutions Architect – HPC
Oracle Cloud Infrastructure
+65-8932-3639 (m) - Singapore
+1-425-205-7834 (m) – USA
Blogs on File Systems on OCI<https://blogs.oracle.com/cloud-infrastructure/authors/Blog-Author/CORE3492D43441E64BEBBE3E04A9C8D5EA40/pinkesh-valdria>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20211112/540b022f/attachment.htm>
More information about the gpfsug-discuss
mailing list