How can I clear this nova installation problem ? please help me

asked 2019-01-17 02:08:36 -0500

whoansoo gravatar image

updated 2019-01-17 03:09:06 -0500

I met a below error message after installation about nova-compute service in compute node. How can I clear this problem ?? please help me.

[error message]

shell>  tail -f nova-compute.log

2019-01-17 07:56:21.391 6854 WARNING nova.compute.monitors [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
2019-01-17 07:56:21.574 6854 WARNING nova.scheduler.client.report [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Placement service credentials do not work. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-b5776786-ed48-4dee-8eca-043602e180c8)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Error updating resources for node compute.: ResourceProviderCreationFailed: Failed to create resource provider compute
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager Traceback (most recent call last):
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 7345, in update_available_resource_for_node
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 689, in update_available_resource
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     return f(*args, **kwargs)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 713, in _update_available_resource
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 572, in _init_compute_node
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._update(context, cn)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 887, in _update
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     inv_data,
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1104, in set_inventory_for_provider
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler ...
(more)
edit retag flag offensive close merge delete

Comments

"Placement service credentials do not work" indicates that the [placement] section in nova.conf on the compute node is incorrect. It seems to me that you swapped user name and password:

password = placement
username = 123456789
Bernd Bausch gravatar imageBernd Bausch ( 2019-01-17 03:11:13 -0500 )edit

Bernd: that was a great catch! :-) Hope it solved the problem.

codylab gravatar imagecodylab ( 2019-01-17 09:25:44 -0500 )edit

Thanks. I had mistake about it.

whoansoo gravatar imagewhoansoo ( 2019-01-20 07:48:12 -0500 )edit