How to change DOMAIN of a Tenant?

asked 2017-05-29 19:53:28 -0500

vblando gravatar image

I just recently created a new DOMAIN that uses LDAP authentication, and since there are Tenants already setup on the DEFAULT domain, I want to transfer them all to the new DOMAIN, how do i do that?

edit retag flag offensive close merge delete


Although I'm not 100% sure I believe you have to manipulate the database directly, I don't know any other way. I believe there's no CLI option to reassign a domain.

eblock gravatar imageeblock ( 2017-05-30 02:11:29 -0500 )edit

is it nova db? or keystone?

vblando gravatar imagevblando ( 2017-05-30 02:43:54 -0500 )edit

Keystone. Domain is a Keystone-only concept; Nova, like all other services, doesn't know anything about domains.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-30 07:11:39 -0500 )edit

By the way, when you talk about domains, you should use the term project instead of tenant. And try openstack project set to change the domain. Not sure if it works though.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-30 07:16:36 -0500 )edit

will try openstack project set first then hack the db if it wont work.

vblando gravatar imagevblando ( 2017-05-30 08:45:47 -0500 )edit