[Openstack] [designate] Create a domain not associated to a tenant

2015-11-13 Thread Jaime Fernández
I would like to create a domain with designateclient (
https://github.com/openstack/python-designateclient):
*designate domain-create --name 172.in-addr.arpa. --email d...@xxx.es
*
However, any domain created is associated to a tenant and I don't want such
an association because I want this domain to be valid to any tenant.

With the REST API, you could use the *X-Auth-Sudo-Tenant-ID* header to
assign a domain to a tenant. If the header was not present, it was not
assigned to a tenant.

Is there any option to use designateclient but forcing that it's created
with no tenant?
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [designate] Create a domain not associated to a tenant

2015-11-13 Thread Endre Karlson
Actually this is not possible at the given time because one of the
middlewares will enforce that you have a Project ID specified in the
request. There was a bug earlier on where this was enforced..

What's the usecase of not having it bound to a tenant?

Endre

2015-11-13 11:28 GMT+01:00 Jaime Fernández :

> I would like to create a domain with designateclient (
> https://github.com/openstack/python-designateclient):
> *designate domain-create --name 172.in-addr.arpa. --email d...@xxx.es
> *
> However, any domain created is associated to a tenant and I don't want
> such an association because I want this domain to be valid to any tenant.
>
> With the REST API, you could use the *X-Auth-Sudo-Tenant-ID* header to
> assign a domain to a tenant. If the header was not present, it was not
> assigned to a tenant.
>
> Is there any option to use designateclient but forcing that it's created
> with no tenant?
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack