bilelmsekni / OpenStack-Grizzly-Install-Guide

A full install guide for OpenStack Grizzly
352 stars 218 forks source link

Expecting authentication method via either a service token, --os-token or env[OS_SERVICE_TOKEN], or credentials, --os-username or env[OS_USERNAME]. #92

Closed liangxiao0315 closed 11 years ago

liangxiao0315 commented 11 years ago

when i create my first VM use this instruction -keystone tenant-create --name project_one , following the doc -- https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_SingleNode/OpenStack_Grizzly_Install_Guide.rst

it tells that: Expecting authentication method via either a service token, --os-token or env[OS_SERVICE_TOKEN], or credentials, --os-username or env[OS_USERNAME]

does anyone knows what's wrong with this?

liangxiao0315 commented 11 years ago

just solvd this problem. just need to paste this

export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin_pass export OS_AUTH_URL="http://192.168.100.51:5000/v2.0/"

or you can also

vim creds and paste these into this file export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin_pass export OS_AUTH_URL="http://192.168.100.51:5000/v2.0/"

save it and source creds