Ask Your Question
2

Missing value auth-url required for auth plugin password

asked 2016-10-18 02:52:49 -0600

Rez7 gravatar image

Hello Everyone,

I have installed OpenStack on CentOS 7 using Packstack. Now whatever OpenStack command that i lunch, i get this message:

"Missing value auth-url required for auth plugin password"

Whta should i do?

Regards, Rez

edit retag flag offensive close merge delete

Comments

Check your shell environment for OpenStack variables. One of them should contain the authentication URL. For example:

$ export | grep OS_
declare -x OS_AUTH_URL="https://192.168.72.41:5000/v3"
...

Most likely it's not set in your case. Packstack should have a script that sets it.

Bernd Bausch gravatar imageBernd Bausch ( 2016-10-18 04:15:13 -0600 )edit

Thanks for your comment,

I have "keystonerc_admin" in /root directory and it contains a line similar to what you mentioned: export OS_AUTH_URL=http://172.16.10.110:5000/v2.0

and "environment" in /etc is empty.

Rez7 gravatar imageRez7 ( 2016-10-18 05:12:57 -0600 )edit

Thanks again for your comment, i got it and it solved my issue...

Rez7 gravatar imageRez7 ( 2016-10-19 03:08:43 -0600 )edit

Guys, i have the same message error :Missing value auth-url required for auth plugin password, after running command : openstack image list.

I dont understand how to figure out. I need some guideline !! Thanks!

Steve12 gravatar imageSteve12 ( 2017-05-11 06:34:21 -0600 )edit

See instructions above and in the other answer.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-15 17:10:07 -0600 )edit

4 answers

Sort by ยป oldest newest most voted
3

answered 2016-10-18 04:28:44 -0600

dbaxps gravatar image

Souce keystonerc_admin
If you created another project&&user, user belongs this project use mentioned script as sample for modifications.
Create keystonerc_user1 and source keystonerc_user1
If CONFIG_PROVISION_DEMO was "y" , then you should have sample keystonerc_demo.

edit flag offensive delete link more

Comments

As i mentioned in my previous comment, i just have "keystonerc_admin" in /root directory. I need to know what should get modified...

Thank you

Rez7 gravatar imageRez7 ( 2016-10-18 05:16:27 -0600 )edit

Just :-
source keystonerc_admin
glance image-list

dbaxps gravatar imagedbaxps ( 2016-10-18 09:21:43 -0600 )edit

This command worked: source keystonerc_admin

Thanks. I think now i have to work on my shell environment...

Rez7 gravatar imageRez7 ( 2016-10-19 01:09:43 -0600 )edit

you can also provide all the parameters like authentication URL or username on the command line, for example --os-auth-url="/http:whatever:5000/v3" or --os-user-name="donald". Run glance help for more detail. It's obviously much easier to have everything in your environment.

Bernd Bausch gravatar imageBernd Bausch ( 2016-10-20 17:34:00 -0600 )edit
0

answered 2018-12-05 06:42:18 -0600

not working

edit flag offensive delete link more

Comments

I suggest you write a question with a slightly more detailed description of your problem.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-05 09:23:36 -0600 )edit
0

answered 2018-04-30 11:48:12 -0600

So depending on the user you used to create the components you are using you either will need to use that user or an admin user by doing:

source ~/keystonerc_[username]

then run your commands.

Good luck

edit flag offensive delete link more
0

answered 2018-05-21 18:20:12 -0600

VSP gravatar image

facing the same issue when using the command openstack image list, however the url is present in file ~/keystonerc_admin [root@ctrl ~]# cat keystonerc_admin unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=r3dh4t1!
export OS_AUTH_URL=http://192.168.0.20:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionA

please help

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: 2016-10-18 02:52:49 -0600

Seen: 34,224 times

Last updated: Oct 18 '16