0
votes

i am trying to create a domain in openstack

i tried this code

export OS_TOKEN=admintoken
export OS_URL=http://20.20.20.119:35357/v3
export OS_IDENTITY_API_VERSION=3
openstack domain create --description "Default Domain" default

the result should be like this please see the first table on this link https://www.server-world.info/en/note?os=CentOS_7&p=openstack_mitaka&f=4

but i am facing an error

the error is "the request you have made requires authentication. (HTTP 401) (Request-ID: req-af227c0b-5db2-8e32-a391b133b466)"

kindly help so that i can create a domain

thank you very much

1

1 Answers

0
votes

The OS_TOKEN value should be same as in your environment keystone.conf (/etc/keystone/keystone.conf) admin_token label.