The password used for running the keystone command has expired or is incorrect

Refer to the following troubleshooting references and steps for resolving system errors when you are using an expired or incorrect password for running the keystone command.

Description

When you try to run the keystone command by using a password that has expired or is incorrect, the system displays the following error: [root@specscale ~]# openstack user list

ERROR: openstack The request you have made requires authentication. (HTTP 401) (Request-ID: req-9e8d91b6-0ad4-42a8-b0d4-797a08150cea)

Cause

The system displays the following error when you change the password but are still using the expired password to access Keystone.

Proposed workaround

Use the correct password to access Keystone.