domain list via projects api with domain-scoped token is always empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Listing domains via projects api (/v3/projects) using is_domain parameter with domain-scoped token always returns an empty list.
Steps to reproduce:
1. Get a domain-scoped token
2. Make a call to /v3/projects?
Expected:
Domains are listed (given the policies allow it). Or i get an error message that it is impossible to list is_domain projects with a domain-scoped token.
Observed:
Domain list is empty.
Probable reason:
https:/
How it was discovered:
Terraform OpenStack Provider does not use /v3/domains endpoint to fetch information about domains. Instead, /v3/projects is supposed to be used. https:/
Fix proposed to branch: master /review. opendev. org/c/openstack /keystone/ +/844637
Review: https:/