Keystone's Compatible API

Source: Internet
Author: User

Source from 50913406

Error:

Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to being in error. (HTTP 400) (request-id:req-84bd7283-6fd4-4623-9480-5f3c74177820)

The Keystone Service will load v2.0 and V3 's Api,v3 API when it starts, adding the concept of domain, two versions can exist simultaneously

There are also differences when using the client, in the CLI client, the Keystone command only supports access to the V2.0 version API, while the OpenStack CLI can support both V2.0 and v3.0.

My environment variable file is as follows:

Export Os_auth_url=http://192.168.57.3:35357/v3
Export Os_username=admin
Export Os_password=openstack
Export Os_project_name=admin

Using the Keystone CLI will make an error, but if Os_auth_url is v2.0, then there is no problem.

However, when accessing with the OpenStack CLI, an error is also encountered, as follows:

Expecting to find domain in Project-the server could not comply with the request since it's either malformed or Otherwi Se incorrect. The client is assumed to being in error. (HTTP 400) (request-id:req-b100e261-a02a-4dc0-9dbf-d7ee20a215cc)

That is a feature of V3, which requires the following environment variables to be set:

Export Os_user_domain_name=default

Export Os_project_domain_name=default

Keystone's Compatible API

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.