OpenStack Technical Articles

Unauthorized: need authentication! Please provide user and password via client – Fuel nodes command is not working After Fuel Admin password Update

Unauthorized: need authentication! Please provide user and password via client – Fuel nodes command is not working After Fuel Admin password Update

Description:

After change the fuel admin password from teh FUEL GUI , it is not able to allow to login FUEL GUI with the changed details and even from FUEL Cli fuel nodes command is not working and giving the below error,

[root@fuel ~]# fuel node

Unauthorized: need authentication!
Please provide user and password via client
fuel –user=user –password=pass [action] or modify “KEYSTONE_USER” and “KEYSTONE_PASS” in
/etc/fuel/client/config.yaml

For a Python library, continue using python-keystoneclient

Solution:

Typically there might the credentials will not sync up with the update one.Follow the below steps,

1.Login to the fuel cli and update the credentials in config.yaml file,

#vim /etc/fuel/client/config.yaml

KEYSTONE_USER: “admin”
KEYSTONE_PASS: “XXXXXXXX

2. Now try to login FUEL GUI with the changed credentails now.

3. In some cases in the same location (/etc/fuel/client/config.yaml) and with the same name file not exist at that moment try to find out the following file using locate command,

#locate fuelclient.yaml

4.Update the credentials in this file and try to login FUEL GUI

5.After made the changes for few security reasons that credentials will not impact on fuel commands.

6.So this case following the below method to get the fuel nodes information,

7.Create fuelrc file from FUEL Cli and export it ,

#vim fuelrc
export KEYSTONE_USER=admin
export KEYSTONE_PASS=XXXXXXX

8.Now export the fuelrc file

#export fuelrc

9.After export this follow the below process,

#source fuelrc
#fuel nodes

Tags:fuel,miranties,fuel admin,fuel nodes,fuel nodes list,source rc,source openrc,Openstack,keystone node,fuel configuration,fuel nodes issue