Ask Your Question

Revision history [back]

You need to set OS_DOMAIN_NAME or OS_DOMAIN_ID if you want to perform tasks in a domain context rather than a user or project context. Clearly, adding a project to a doamin falls in this category.

Since you use the same domain for all three context, you can simplify this by simply setting OS_DEFAULT_DOMAIN.

See https://docs.openstack.org/python-openstackclient/latest/cli/authentication.html#authenticating-using-identity-server-api-v3.

You need to set OS_DOMAIN_NAME or OS_DOMAIN_ID if you want to perform tasks in a domain context rather than a user or project context. Clearly, adding a project to a doamin falls in this category.

Since you use the same domain for all three context, contexts, you can simplify this by simply setting OS_DEFAULT_DOMAIN.

See https://docs.openstack.org/python-openstackclient/latest/cli/authentication.html#authenticating-using-identity-server-api-v3.

You need to set OS_DOMAIN_NAME or OS_DOMAIN_ID if you want to perform tasks in a domain context rather than a user or project context. Clearly, adding a project to a doamin domain falls in this category.

Since you use the same domain for all three contexts, you can simplify this by simply setting OS_DEFAULT_DOMAIN.

See https://docs.openstack.org/python-openstackclient/latest/cli/authentication.html#authenticating-using-identity-server-api-v3.