AFM with Object Storage - fails with invalid skey (secret key)
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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg Works mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com> set 22f79xxxx 'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=' mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@dr-compute-1 ras]# mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@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/CORE3492D4...>
Hi, AFM does not accept character '=' as part of access and secret keys. It matches the keys with below expression "$KEY" =~ ^[0-9a-zA-Z/+._]+$ We will fix it to accept other allowed characters in future releases including char '=', for now generate secret key without '=' char. ~Venkat (vpuvvada@in.ibm.com) From: "Pinkesh Valdria" <pinkesh.valdria@oracle.com> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 11/12/2021 02:31 PM Subject: [EXTERNAL] [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Sent by: gpfsug-discuss-bounces@spectrumscale.org 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@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg Works mmafmcoskeys afm-ocios: us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com set 22f79xxxx 'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=' mmafmcoskeys afm-ocios: us-ashburn-1@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@dr-compute-1 ras]# mmafmcoskeys afm-ocios: us-ashburn-1@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@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 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Thanks Venkat for quick response. Unfortunately secret keys are auto generated and all of them have = at the end :-(. Is there a way to receive a patch fix or unofficial fix to unblock . Do you have a rough estimate (1 month, 3 months, 6 months) of when the next release with such a fix might be available? Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Venkateswara R Puvvada <vpuvvada@in.ibm.com> Sent: Friday, November 12, 2021 7:54:38 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>; Pinkesh Valdria <pinkesh.valdria@oracle.com> Subject: [External] : Re: [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Hi, AFM does not accept character '=' as part of access and secret keys. It matches the keys with below expression "$KEY" =~ ^[0-9a-zA-Z/+._]+$ We will fix it to accept other allowed characters in future releases including char '=', for now generate secret key without '=' char. ~Venkat (vpuvvada@in.ibm.com) From: "Pinkesh Valdria" <pinkesh.valdria@oracle.com> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 11/12/2021 02:31 PM Subject: [EXTERNAL] [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ 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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com>set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg Works mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com>set 22f79xxxx 'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=' mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@dr-compute-1 ras]# mmafmcoskeys afm-ocios:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com<mailto:us-ashburn-1@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@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/CORE3492D4...> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discuss__;!!ACWV5N9M2RV99hQ!YKxmZ34lMfepVIlU8m6Srvcc6xP9cbgAPBc7Eqy31T2KQHRIvlAPQtM62TeOLsQdhpi-$>
Hi Pinkesh, You could open a ticket to get the efix. ~Venkat (vpuvvada@in.ibm.com) From: "Pinkesh Valdria" <pinkesh.valdria@oracle.com> To: "Venkateswara R Puvvada" <vpuvvada@in.ibm.com>, "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org> Date: 11/12/2021 05:57 PM Subject: Re: [External] : Re: [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Thanks Venkat for quick response. Unfortunately secret keys are auto generated and all of them have = at the end :-(. Is there a way to receive a patch fix or unofficial fix to unblock . Do you have a rough estimate (1 month, 3 months, 6 months) ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Thanks Venkat for quick response. Unfortunately secret keys are auto generated and all of them have = at the end :-(. Is there a way to receive a patch fix or unofficial fix to unblock . Do you have a rough estimate (1 month, 3 months, 6 months) of when the next release with such a fix might be available? Get Outlook for iOS From: Venkateswara R Puvvada <vpuvvada@in.ibm.com> Sent: Friday, November 12, 2021 7:54:38 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>; Pinkesh Valdria <pinkesh.valdria@oracle.com> Subject: [External] : Re: [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Hi, AFM does not accept character '=' as part of access and secret keys. It matches the keys with below expression "$KEY" =~ ^[0-9a-zA-Z/+._]+$ We will fix it to accept other allowed characters in future releases including char '=', for now generate secret key without '=' char. ~Venkat (vpuvvada@in.ibm.com) From: "Pinkesh Valdria" <pinkesh.valdria@oracle.com> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 11/12/2021 02:31 PM Subject: [EXTERNAL] [gpfsug-discuss] AFM with Object Storage - fails with invalid skey (secret key) Sent by: gpfsug-discuss-bounces@spectrumscale.org 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@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com set 22f79xxxx clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg Works mmafmcoskeys afm-ocios: us-ashburn-1@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@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com set 22f79xxxx 'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=' mmafmcoskeys afm-ocios: us-ashburn-1@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@dr-compute-1 ras]# mmafmcoskeys afm-ocios: us-ashburn-1@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@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 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (2)
-
Pinkesh Valdria -
Venkateswara R Puvvada
