<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I set up a cloud with the Victoria version of Kolla-Ansible. I
enabled Swift and configured Swift as backend for Glance and
Cinder-Backup. The Glance backend works, the Cinder-Backup backend
doesn't. Furthermore, as a non-admin user I can't do anything with
Swift. These two headscratchers that may or may not be related. I
seek for help how to troubleshoot this.<br>
</p>
<p><b>Headscratcher 1</b>: Swift doesn't accept unauthenticated
/info API, although expose_info is explicitly set to "true". This
is why Cinder-Backup fails; it performs this API when starting up:<br>
</p>
<p><font face="monospace">curl <a class="moz-txt-link-freetext" href="http://192.168.122.253:8080/info">http://192.168.122.253:8080/info</a><br>
{"error": {"code": 401, "title": "Unauthorized", "message": "The
request you have made requires authentication."}}</font><br>
</p>
<p>When I add a valid token, this works.</p>
<p><b>Headscratcher 2</b>: Swift refuses access except for the admin
role. I get this when I don't have the admin role:</p>
<p><font face="monospace">$ source demorc.sh<br>
$ swift stat<br>
Account HEAD failed:
<a class="moz-txt-link-freetext" href="http://192.168.122.253:8080/v1/AUTH_06d5618863294187bf46c611c0ebb4a7">http://192.168.122.253:8080/v1/AUTH_06d5618863294187bf46c611c0ebb4a7</a>
403 Forbidden<br>
Failed Transaction ID: tx7e8d958e3c7b410880000-0060d81a25</font><br>
</p>
<p>To add insult to injury, I don't see relevant messages in the
centralized Elasticsearch log, and logging does not go to any log
files.</p>
<p>Any thoughts?</p>
<p>Thanks,</p>
<p>Bernd<br>
</p>
<p><br>
</p>
</body>
</html>