<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><span style="font-size:10.0pt">Hi Jean-Francois.</span></p>
<p>I have the following difference to your config:</p>
<p>rgw keystone url = <a class="moz-txt-link-freetext" href="http://xx.xx.xx.xx:5000">http://xx.xx.xx.xx:5000</a></p>
<p>The normal OSA loadbalancer setup would have the keystone service
on port 5000.</p>
<p>Jonathan.<br>
</p>
<div class="moz-cite-prefix">On 30/03/2022 09:24, Taltavull
Jean-François wrote:<br>
</div>
<blockquote type="cite"
cite="mid:96f86768b73d456ba1937a9177c3831f@elca.ch">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi
Dmitriy,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">I just tried with s3cmd but I still get a 403.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Here is the rgw section of ceph.conf:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_url =
<a href="http://xxxxx.xxxx.xxx/identity"
moz-do-not-send="true" class="moz-txt-link-freetext">http://xxxxx.xxxx.xxx/identity</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_api_version = 3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_admin_user = radosgw<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_admin_password =
xxxxxxxxxxxxxxxxxxxxxxxxx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_admin_project = service<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_admin_domain = default<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_accepted_roles = member, _member_,
admin, swiftoperator<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_accepted_admin_roles =
ResellerAdmin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_keystone_implicit_tenants = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_swift_account_in_url = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_swift_versioning_enabled = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_enable_apis = swift,s3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">rgw_s3_auth_use_keystone = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm
0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
lang="EN-US"> Dmitriy Rabotyagov
<a class="moz-txt-link-rfc2396E" href="mailto:noonedeadpunk@ya.ru"><noonedeadpunk@ya.ru></a>
<br>
<b>Sent:</b> mardi, 29 mars 2022 18:49<br>
<b>To:</b> openstack-discuss
<a class="moz-txt-link-rfc2396E" href="mailto:openstack-discuss@lists.openstack.org"><openstack-discuss@lists.openstack.org></a><br>
<b>Subject:</b> Re: [Ceph Rados Gateway] 403 when
using S3 client<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable"
style="width:100.0%;border-collapse:collapse" width="100%"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:5.25pt;background:red;padding:.75pt
.75pt .75pt .75pt" width="7">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;margin-bottom:7.5pt"><span
style="font-size:10.0pt;color:red"> </span><o:p></o:p></p>
</td>
<td style="background:#FFEB9C;padding:3.75pt 11.25pt
3.75pt 11.25pt">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;margin-bottom:7.5pt"><strong><i><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:red">EXTERNAL
MESSAGE
</span></i></strong><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">- This
email comes from
<strong><span
style="font-family:"Arial",sans-serif">outside
ELCA companies</span></strong>.</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:black">- все</span><span
style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Hi
Jean-Francois.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">It's
quite hard to understand what exactly could went wrong
based on the information you've provided.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Highly
likely it's related to the RGW configuration itself and
it's integration with keystone to be specific.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Would be
helpful if you could provide your ceph.conf regarding
rgw configuration.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">I'm also
not 100% sure if awscli does work with RGW... At least I
always used s3cmd or rclone to interact with RGW S3 API.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">29.03.2022,
16:36, "Taltavull Jean-François" <<a
href="mailto:jean-francois.taltavull@elca.ch"
moz-do-not-send="true" class="moz-txt-link-freetext">jean-francois.taltavull@elca.ch</a>>:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p>Hi All,<br>
<br>
I get an http 403 error code when I try to get the bucket
list with Ubuntu (Focal) S3 client (awscli).<br>
<br>
S3 api has been activated in radosgw config file and EC2
credentials have been created and put in S3 client config
file.<br>
<br>
Otherwise, everything is working fine with OpenStack
client.<br>
<br>
My deployment:<br>
- OSA 23.2.0<br>
- OpenStack Wallaby<br>
- Ceph and Rados GW Octopus<br>
<br>
Has any of you already experienced this kind of behaviour
?<br>
<br>
Many thanks,<br>
Jean-Francois<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">-- <br>
Kind Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Dmitriy
Rabotyagov<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"> <o:p></o:p></span></p>
</div>
</div>
</div>
</blockquote>
</body>
</html>