Placement service error on one of the controller nodes

Shalabh Goel shalabhgoel13 at gmail.com
Fri Apr 23 05:27:30 UTC 2021


Hi,

I am setting up an Openstack environment with 2 controller nodes. I have
installed placement service on both by following the steps from

https://docs.openstack.org/placement/victoria/install/install-ubuntu.html#configure-user-and-endpoints

My first node is 192.168.2.14 and second is 192.168.2.15 with the virtual
IP as 192.168.2.100 on which haproxy is used for listening.

After restarting apache2 service, placement service is running on one first
node ( 192.168.2.14) but is giving the following error on second one (
192.168.2.15):

2021-04-23 10:39:03.314524 2021-04-23 10:39:03.314 8299 WARNING
placement.db_api [-] TransactionFactory already started, not
reconfiguring.\x1b[00m
2021-04-23 10:39:03.322774 2021-04-23 10:39:03.322 8299 WARNING
keystonemiddleware.auth_token [-] AuthToken middleware is set
 with keystone_authtoken.service_token_roles_required set to False. This is
backwards compatible but deprecated behaviour. Pl
ease set this to True.\x1b[00m
2021-04-23 10:39:03.391538 2021-04-23 10:39:03.391 8299 WARNING
keystonemiddleware.auth_token [-] Configuring www_authenticat
e_uri to point to the public identity endpoint is required; clients may not
be able to authenticate against an admin endpoint
\x1b[00m
2021-04-23 10:39:03.394729 mod_wsgi (pid=8299): Failed to exec Python
script file '/usr/bin/placement-api'.
2021-04-23 10:39:03.394771 mod_wsgi (pid=8299): Exception occurred
processing WSGI script '/usr/bin/placement-api'.

The second issue is that I am not able to use openstack compute command. It
throws authentication error but I am able to use other openstack commands.
I found this line on placement-api log in apache directory

2021-04-23 10:46:08.450216 2021-04-23 10:46:08.449 1421 WARNING
keystonemiddleware.auth_token [req-f17428d0-183f-4e3d-8343-74b04dad7944 - -
- - -] Authorization failed for token:
keystonemiddleware.auth_token._exceptions.InvalidToken\x1b[00

How can I solve these issues. Are any other details needed?

Thanks
-- 
Shalabh Goel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210423/2d2e13a4/attachment.html>


More information about the openstack-discuss mailing list