Ask Your Question
0

Cinder-volumes keeps asking for Authentication with Cinder List

asked 2013-05-13 04:47:36 -0500

anonymous user

Anonymous

updated 2013-05-13 12:41:38 -0500

smaffulli gravatar image

It worked ok for creating a test volume but now it even with Cinder List it keeps asking for authentication...using the shown syntax is not also working.

edit retag flag offensive close merge delete

Comments

can you be more specific please? try to describe your environment, versions installed, how you installed, the complete command you've issued, configuration files, log messages... anything that will help us help you

smaffulli gravatar imagesmaffulli ( 2013-05-13 12:41:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-06-21 04:13:35 -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/"

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-05-14 05:19:14 -0500

deason gravatar image

root@ubuntu:/etc/cinder# cinder create --displayname stackvolume 10 ERROR: You must provide a username via either --os-username or env[OSUSERNAME]

stack@ubuntu:~/devstack/lib$ cinder list ERROR: You must provide a username via either --os-username or env[OS_USERNAME] stack@ubuntu:~/devstack/lib$

Adding user/password comes back with

error: unrecognized arguments: --os-username stack --os-password d Try 'cinder help ' for more information. stack@ubuntu:~/devstack/lib$ cinder list --os-username stack --os-password d

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

Stats

Asked: 2013-05-13 04:47:36 -0500

Seen: 1,309 times

Last updated: Jun 21 '13