Ask Your Question
0

cinder create time error

asked 2013-08-13 08:21:05 -0500

anonymous user

Anonymous

updated 2013-08-26 00:12:27 -0500

fifieldt gravatar image
cinder create --display_name test 1
/usr/lib/python2.6/site-packages/cinderclient/shell.py:507: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  message = e.message
ERROR: You must provide a username via either --os-username or env[OS_USERNAME]

also

nova list
ERROR: You must provide a username via either --os-username or env[OS_USERNAME]

not working

please resolve

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-08-16 00:32:32 -0500

Create a file (e.g. named "creds") with following information from your environment

export OS_TENANT_NAME=

export OS_USERNAME=

export OS_PASSWORD=

export OS_AUTH_URL="http://<<ip hostname="">>:5000/v2.0/"</ip>

Save the file & use

$>source creds

you will not get the error. This has been in documentation. Please refer documentation carefully.

Thanks.

edit flag offensive delete link more
0

answered 2013-08-14 00:24:21 -0500

unmesh-gurjar gravatar image

You need to provide the CLIs with the appropriate credentials. Please refer [1] for setting up your environment to use the OpenStack CLIs.

[1] - http://docs.openstack.org/user-guide/content/cli_openrc.html

edit flag offensive delete link more

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: 2013-08-13 08:21:05 -0500

Seen: 389 times

Last updated: Aug 16 '13