Release Stein: Placement service credentials do not work

asked 2019-07-23 07:56:20 -0600

tkube gravatar image

OpenStack release: Stein Operating system: Ubuntu 18.04 LTS Installation method: Ubuntu Stein Repository

We installed OpenStack Stein from scratch based on the official documentation. We deployed this services on the controller host: Keystone, Glance, Placement, Nova, Neutron, Dashboard and Cinder. Every works fine but nova-status upgrade check shows an error:

+-----------------------------------------------------+
| Upgrade Check Results                               |
+-----------------------------------------------------+
| Check: Cells v2                                     |
| Result: Success                                     |
| Details: None                                       |
+-----------------------------------------------------+
| Check: Placement API                                |
| Result: Failure                                     |
| Details: Placement service credentials do not work. |
+-----------------------------------------------------+
| Check: Ironic Flavor Migration                      |
| Result: Success                                     |
| Details: None                                       |
+-----------------------------------------------------+
| Check: Request Spec Migration                       |
| Result: Success                                     |
| Details: None                                       |
+-----------------------------------------------------+
| Check: Console Auths                                |
| Result: Success                                     |
| Details: None                                       |
+-----------------------------------------------------+

The /var/log/keystone/keystone-wsgi-public.log shows corresponding errors:

2019-07-23 14:09:03.385 15621 WARNING keystone.auth.core [req-9b6fa5dc-ca26-42e6-9bac-3c7c8cd24f5d - - - - -] Could not find project: Default.: keystone.exception.ProjectNotFound: Could not find project: Default.
2019-07-23 14:09:03.387 15621 WARNING keystone.server.flask.application [req-9b6fa5dc-ca26-42e6-9bac-3c7c8cd24f5d - - - - -] Authorization failed. The request you have made requires authentication. from 10.40.151.40: keystone.exception.Unauthorized: The request you have made requires authentication.

First, I am wondering about the message Could not find project: Default.: keystone.exception.ProjectNotFound: Could not find project: Default because in no configuration file a project with name Default is defined.

The keystone section in /etc/placement/placement.conf looks like this:

[api]
auth_strategy = keystone
[keystone_authtoken]
auth_url = http://controller.domain:5000/v3
memcached_servers = controller.domain:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = placement
password = <password>

On command line I can login with the user placement and password. Because of this error I am not able to create any server (fails also with keystone.exception.Unauthorized).

Thank you for your help,

Thomas

edit retag flag offensive close merge delete