Basic placement setup problem

asked 2018-04-22 15:41:22 -0500

Centine gravatar image

I'm going through a very basic install. I followed the Queens install guide, performing verification steps wherever possible and things generally worked, up until the Nova installation. I have two hosts, controller and compute01.

If I were to hazard a guess, I'll point to the placement API and/or cell setup (perhaps with a mixing of a lot of tools still pointing to the admin auth port being 35357 even though that changed with Queens).

After following the docs, the situation when starting nova-compute on compute01 was

2018-04-22 21:50:12.350 2136 WARNING nova.scheduler.client.report [req-29748605-1964-481f-ae21-658144d48306 - - - - -] No authentication information found for placement API. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.: MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager [req-29748605-1964-481f-ae21-658144d48306 - - - - -] Error updating resources for node compute01.: TypeError: 'NoneType' object has no attribute '__getitem__'
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager Traceback (most recent call last):
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 7254, in update_available_resource_for_node
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     self._update(context, cn)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     inv_data,
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-04-22 21:50:12.351 2136 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1080, in ...
(more)
edit retag flag offensive close merge delete

Comments

1

The warning "no authentication information found" indicates that you didn't configure Keystone authentication for Placement. See the [placement]section in https://docs.openstack.org/nova/lates....

Bernd Bausch gravatar imageBernd Bausch ( 2018-04-29 23:23:50 -0500 )edit