Ask Your Question
0

Devstack but Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect.

asked 2017-05-15 21:24:08 -0600

wufucious gravatar image

Hi all,

I have followed the instruction (https://docs.openstack.org/developer/devstack/ (https://docs.openstack.org/developer/...)) to deploy a Ocata all-in-one OpenStack. I have also created a keystone script as shown below and sourced it. export OS_USERNAME=admin export OS_TENANT_NAME=admin export OS_PASSWORD=xxxxxx export OS_AUTH_URL=http://127.0.0.1/identity/v3 export PS1='[\u@\h \W(keystone_admin)]\$ '

The nova seems to work fine. [stack@controller tempest(keystone_admin)]$ nova list /usr/local/lib/python2.7/dist-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored. warnings.warn(msg)

+----+------+--------+------------+-------------+----------+

| ID | Name | Status | Task State | Power State | Networks |

+----+------+--------+------------+-------------+----------+

+----+------+--------+------------+-------------+----------+

However, glance and whatever does not... [stack@controller tempest(keystone_admin)]$ glance image-list 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 be in error. (HTTP 400) (Request-ID: req-53661bbb-7510-473c-966a-746649505fdd)

any suggestions? Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-05-15 22:32:24 -0600

updated 2017-05-15 22:33:00 -0600

The devstack directory has a script named openrc, which contains the required environment variables. Run it as

source openrc admin admin

where the first admin is the user name, the second one the project.

edit flag offensive delete link more

Comments

you are right. Thank you!

wufucious gravatar imagewufucious ( 2017-05-16 02:04:46 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-05-15 21:24:08 -0600

Seen: 1,978 times

Last updated: May 15 '17