Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
OpenStack Commands Fail With "Expecting to Find Domain in User
Copy Markdown
Open in ChatGPT
Open in Claude
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.
Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400)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.
export OS_AUTH_URL=[Management Plane URL]export OS_IDENTITY_API_VERSION=3export OS_REGION_NAME="[region]"export OS_USERNAME="[username]"export OS_PASSWORD="[password]"export OS_PROJECT_NAME="[Project Name]"export OS_PROJECT_DOMAIN_ID=${OS_PROJECT_DOMAIN_ID:-"default"}Resolution
- Check for the user Domain using the following command.
xxxxxxxxxx# openstack user list --long- 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.
xxxxxxxxxx# export OS_USER_DOMAIN_NAME=default- Verify commands which were previously failing now function as expected.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message