Database failed

asked 2018-11-16 14:16:17 -0600

najeh gravatar image

updated 2018-11-17 01:14:57 -0600

When i tried to create a domain or an endpoint or a service credential with any openstack service(keystone, glance..) i failed and a message error id displayed:

openstack domain create --description "Default Domain" default-description "Default Domain"

Error message: The request you have default made requires authentication. (HTTP 401) (Request-ID: req-c6d1c543-ba10-4a31-bac0-abd7eacd37dd).

anyone have any idea how can i resolve this problem?

edit retag flag offensive close merge delete

Comments

2

This doesn’t look like a database error to me. You need to authenticate as an administrator. If you use the command line, see https://docs.openstack.org/python-ope....

By the way, what do you mean by “creating a service credential”?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-16 20:37:40 -0600 )edit

I have that problem when i try this command for example: $ openstack domain create --description "Default Domain" default

And i aurhenticate as administrator but still have the problem

najeh gravatar imagenajeh ( 2018-11-17 01:11:34 -0600 )edit
1

Double-check the environment variables:

export | grep OS_

Feel free to post them here. Also check the Keystone log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-17 03:59:55 -0600 )edit