<div dir="ltr">You should request by domain id not by domain name:<br><span style="font-size:12.8px">openstack --os-domain-id <test domain id> --os-user-domain-id <test domain id> --os-username domain_admin --os-identity-api-version 3 project list --domain <b><test domain id></b></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 11:13 AM, <span dir="ltr"><<a href="mailto:Kostiantyn.Volenbovskyi@swisscom.com" target="_blank">Kostiantyn.Volenbovskyi@swisscom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
it might be helpful to follow [1]<br>
I suspect that /etc/keystone/policy.json is a culprit in your situation<br>
<br>
BR,<br>
Konstantin<br>
[1] <a href="https://www.rdoproject.org/documentation/domains/" rel="noreferrer" target="_blank">https://www.rdoproject.org/<wbr>documentation/domains/</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> -----Original Message-----<br>
> From: Сергей Филатов [mailto:<a href="mailto:filatecs@gmail.com">filatecs@gmail.com</a>]<br>
> Sent: Tuesday, August 30, 2016 3:26 PM<br>
> To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Subject: [Openstack] [Keystone] List projects as domain admin<br>
><br>
> Hi all,<br>
> I’m trying to test keystone v3 functionality in mitaka.<br>
><br>
> As admin of non-default domain I cannot list domains -> when I’m doing list on<br>
> projects with —domain <domain> key it fails with cannot find domain.<br>
> Am I doing something wrong here?<br>
><br>
> Steps to reproduce:<br>
><br>
> openstack --os-domain-id default --os-user-domain-id default --os-identity-api-<br>
> version 3 domain create test openstack --os-domain-id default --os-user-<br>
> domain-id default --os-identity-api-version 3 user create domain_admin --<br>
> password admin --domain test<br>
><br>
> openstack --os-domain-id default --os-user-domain-id default --os-identity-api-<br>
> version 3 role add admin --user domain_admin --domain test openstack --os-<br>
> domain-id <test domain id> --os-user-domain-id <test domain id> --os-username<br>
> domain_admin --os-identity-api-version 3 project list --domain test<br>
><br>
> > Could not find resource test<br>
><br>
> ..Sergey Filatov<br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
</div></div></blockquote></div><br></div>