I solved this particular problem by adding --os-tenant-name PROJECT_NAME to the osprofiler command. As a result, I get a different error now, for which I open another question.