<font size=2 face="sans-serif">Hi,</font><br><br><font size=2 face="sans-serif">AFM does not accept character '=' &nbsp;as
part of &nbsp;access and secret keys. It matches the keys with below expression</font><br><font size=2 face="sans-serif">&nbsp;</font><br><font size=2 face="sans-serif">&quot;$KEY&quot; =~ ^[0-9a-zA-Z/+._]+$
</font><br><br><font size=2 face="sans-serif">We will fix it to accept other allowed
characters in future releases including char '=', for now generate secret
key without '=' char.</font><br><br><font size=2 face="sans-serif">~Venkat (vpuvvada@in.ibm.com)</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Pinkesh Valdria&quot;
&lt;pinkesh.valdria@oracle.com&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;gpfsug-discuss@spectrumscale.org&quot;
&lt;gpfsug-discuss@spectrumscale.org&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">11/12/2021 02:31 PM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[EXTERNAL] [gpfsug-discuss]
AFM with Object Storage - fails with invalid skey &nbsp; &nbsp; &nbsp;
&nbsp;(secret key)</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><font size=2 face="sans-serif">Hello GPFS experts, </font><br><font size=2 face="sans-serif">&nbsp;</font><br><font size=2 face="sans-serif">Today I was trying to configure </font><font size=3 face="sans-serif">AFM
with Object Storage (AWS s3 compatible) and its failing for me. &nbsp;I
was wondering if you can help me or introduce me to the person/team who
can help. &nbsp;</font><br><font size=3 face="sans-serif"><b>&nbsp;</b></font><br><font size=3 face="sans-serif"><b>Failed:</b></font><br><font size=3 face="sans-serif">mmafmcoskeys afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">set 22f79xxxx &nbsp;clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg</font><font size=3 color=red face="sans-serif">=</font><br><font size=3 face="sans-serif">invalid skey (secret key)</font><br><font size=3 face="sans-serif">mmafmcoskeys: Command failed. Examine
previous error messages to determine cause.</font><br><font size=3 face="sans-serif">&nbsp;</font><br><font size=3 face="sans-serif">I figured out, it fails because it doesn\u2019t
like the equal to \u201c=\u201d sign in the secret key. &nbsp;</font><br><font size=3 face="sans-serif"><b>&nbsp;</b></font><br><font size=3 face="sans-serif"><b>Proof: </b></font><br><font size=3 face="sans-serif">mmafmcoskeys afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">set 22f79xxxx &nbsp;clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg</font><br><font size=3 face="sans-serif">Works</font><br><font size=3 face="sans-serif">mmafmcoskeys afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">&nbsp;get</font><br><font size=3 face="sans-serif">22f79xxxx:clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg</font><br><font size=3 face="sans-serif">&nbsp;</font><br><font size=3 face="sans-serif">I tried to use &nbsp;single quote, &nbsp;double
quote around the secret keys, but it still fails. &nbsp;</font><br><font size=3 face="sans-serif">mmafmcoskeys afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">set 22f79xxxx &nbsp;'clTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg='</font><br><font size=3 face="sans-serif">&nbsp;</font><br><font size=3 face="sans-serif">mmafmcoskeys afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">set 22f79xxxx &nbsp;\u201cclTQ1t4bGL57ca+kFKgJgKrteAwnzhj0854Zeg=\u201d</font><br><font size=3 face="sans-serif">&nbsp;</font><br><font size=3 face="sans-serif">I also tried to add the key in the keyfile
and still it fails. </font><br><font size=3 face="sans-serif">&nbsp;</font><br><font size=3 face="sans-serif">[root@dr-compute-1 ras]# mmafmcoskeys
afm-ocios:</font><a href="mailto:us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com"><font size=3 color=#0082bf face="sans-serif"><u>us-ashburn-1@hpc_limited_availability.compat.objectstorage.us-ashburn-1.oraclecloud.com</u></font></a><font size=3 face="sans-serif">set --keyfile /var/adm/ras/keyfile</font><br><font size=3 face="sans-serif">invalid skey (secret key)</font><br><font size=3 face="sans-serif">mmafmcoskeys: Command failed. Examine
previous error messages to determine cause.</font><br><font size=3 face="sans-serif">[root@dr-compute-1 ras]#</font><br><font size=2 face="sans-serif">&nbsp;</font><br><font size=2 face="sans-serif">&nbsp;</font><br><font size=2 face="sans-serif">&nbsp;</font><br><font size=2 face="sans-serif">Thanks,</font><br><font size=2 face="sans-serif">Pinkesh Valdria</font><br><font size=2 face="sans-serif">Head of HPC Storage</font><br><font size=2 face="sans-serif">Master Principal Solutions Architect
\u2013 HPC</font><br><font size=2 face="sans-serif">Oracle Cloud Infrastructure</font><br><font size=2 face="sans-serif">+65-8932-3639 (m) - Singapore </font><br><font size=2 face="sans-serif">+1-425-205-7834 (m) \u2013 USA</font><br><a href="https://blogs.oracle.com/cloud-infrastructure/authors/Blog-Author/CORE3492D43441E64BEBBE3E04A9C8D5EA40/pinkesh-valdria"><font size=2 color=#0082bf face="sans-serif"><u>Blogs
on File Systems on OCI</u></font></a><br><font size=3 face="sans-serif">&nbsp;</font><tt><font size=2>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br></font></tt><br><br><BR>
<BR>