OpenStack Commands Fail With "Expecting to Find Domain in User
Problem
- While attempting to execute OpenStack commands from a self-service user using the OpenStack CLI, some of the commands fail with the following error.
Environment
- Platform9 Managed OpenStack - All Versions
- Python-OpenstackClient - 4.0.0
Cause
- The .rc downloaded for the self-service user from the Management Plane does not have the OS_USER_DOMAIN_NAME parameter defined.
Resolution
- Check for the user Domain using the following command.
- Add the parameter export OS_USER_DOMAIN_NAME=[Domain name] to the RC file. It is mostly default in most of the cases. The entry looks as shown below.
- Verify commands which were previously failing now function as expected.
Was this page helpful?