This happens both in cloudcumin1001 and in cloud-cumin-03.
Note: as a workaround until this task is resolved, we manually applied the patch https://gerrit.wikimedia.org/r/c/operations/software/cumin/+/868814 to both cloudcumin1001 and cloud-cumin-03, overwriting the file /usr/lib/python3/dist-packages/cumin/backends/openstack.py
What happens?:
fnegri@cloudcumin1001:~$ sudo cumin 'O{*}' Caught Unauthorized exception: The request you have made requires authentication. (HTTP 401) (Request-ID: req-1a882424-b48f-47f7-885c-fcad991fc231)
What should have happened instead?:
Cumin should list all hosts in all projects. This used to work until a few weeks/months ago in cloud-cumin-03. It was never tested in cloudcumin1001.
Other information (browser name/version, screenshots, etc.):
Stack trace: https://phabricator.wikimedia.org/P52513
@Andrew tried to apply this patch manually to cloud-cumin-03 and it fixed the issue: https://gerrit.wikimedia.org/r/c/operations/software/cumin/+/868814