How to overcome 'Missing value auth-url required for auth plugin password'?

asked 2020-01-22 05:43:16 -0600

phanidutt gravatar image

I had followed the installation steps to install keystone service. But after providing the environment variable settings running the below command: { openstack domain create --description "An Example Domain" example } its just printing {Missing value auth-url required for auth plugin password' }

edit retag flag offensive close merge delete

Comments

My guess is that you did NOT provide the environment variables, in particular OS_AUTH_URL. Run export | grep OS_ to see the environment passed to the openstack command.

Bernd Bausch gravatar imageBernd Bausch ( 2020-01-22 07:56:19 -0600 )edit

Hey I tried that one it's showing OS_AUTH_URL as http://controller:5000/v3 .That is what I have given in keystone_admin file

phanidutt gravatar imagephanidutt ( 2020-01-22 09:45:50 -0600 )edit

This is strange. Try openstack --os-auth-url http://controller:5000/v3 domain create example.

Bernd Bausch gravatar imageBernd Bausch ( 2020-01-22 15:59:11 -0600 )edit

@Bernd While running above command as {sudo openstack --os-auth-url http://controller:5000/v3 domain create example} its asking for password while providing password its showing Missing parameter(s):Set a username with --os-username,OS_USERNAME.But while trying export | grep OS_ itsshowing variable

phanidutt gravatar imagephanidutt ( 2020-01-22 21:55:23 -0600 )edit

Hey we have changed the port for auth url, still we are facing the problem.We are using {sudo openstack --os-auth-url http://controller:4242/v3 domain create example} but without sudo it is having connection refused error. We have firewall and IPtables are enabled and 5000,35357 are blocked.

phanidutt gravatar imagephanidutt ( 2020-01-22 22:41:53 -0600 )edit