Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nova Compute Node not starting properly

After installing Nova Compute Node using the Installation Tutorial from Queens Repository https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html#install-and-configure-components

Getting the Following Error Message when tried to start the Nova Compute Node

service nova-compute restart

These are the Error Message from the /var/log/nova/nova-compute.log

2018-04-16 18:13:34.549 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f47500302d0="">: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2018-04-16 18:13:34.551 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f4750030910="">: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Error updating resources for node UbuntuVM4.: TypeError: 'NoneType' object has no attribute '__getitem__' 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager Traceback (most recent call last): 2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager return f(args, *kwargs) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager self._update(context, cn) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager inv_data, 2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager return getattr(self.instance, __name)(args, *kwargs) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1080, in set_inventory_for_provider 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 658, in _ensure_resource_provider 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager rps_to_refresh or [created_rp]) 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in populate_from_iterable 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts} 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in <dictcomp> 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts} 2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager TypeError: 'NoneType' object has no attribute '__getitem__'

Please let me know of how I can proceed forward. Any Help would be appreciated. Also, Plz let me know if I need to install Pre-requisite packages like Etcd, MySQL, MemCache, RabbitMQ on the Compute Node. Controller Node has all the Pre-requisite Packages and it is running fine.

Thanks, Arjun

Nova Compute Node not starting properly

After installing Nova Compute Node using the Installation Tutorial from Queens Repository https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html#install-and-configure-components

Getting the Following Error Message when tried to start the Nova Compute Node

# service nova-compute restart

restart

These are the Error Message from the /var/log/nova/nova-compute.log

2018-04-16 18:13:34.549 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f47500302d0="">: NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f47500302d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2018-04-16 18:13:34.551 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f4750030910="">: NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4750030910>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Error updating resources for node UbuntuVM4.: TypeError: 'NoneType' object has no attribute '__getitem__'
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager Traceback (most recent call last):
2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._update(context, cn)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     inv_data,
2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1080, in set_inventory_for_provider
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 658, in _ensure_resource_provider
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     rps_to_refresh or [created_rp])
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in populate_from_iterable
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts}
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in <dictcomp>
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts}
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager TypeError: 'NoneType' object has no attribute '__getitem__'

'__getitem__'

Please let me know of how I can proceed forward. Any Help would be appreciated. Also, Plz let me know if I need to install Pre-requisite packages like Etcd, MySQL, MemCache, RabbitMQ on the Compute Node. Controller Node has all the Pre-requisite Packages and it is running fine.

Thanks, Arjun

Nova Compute Node not starting properly

After installing Nova Compute Node using the Installation Tutorial from Queens Repository https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html#install-and-configure-components

Getting the Following Error Message when tried to start the Nova Compute Node

# service nova-compute restart

These are the Error Message from the /var/log/nova/nova-compute.log

2018-04-16 18:13:34.549 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f47500302d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2018-04-16 18:13:34.551 22865 WARNING nova.scheduler.client.report [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Placement API service is not responding.: ConnectFailure: Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4750030910>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager [req-094894bb-c711-4e00-8733-f4a0fcf9df3c - - - - -] Error updating resources for node UbuntuVM4.: TypeError: 'NoneType' object has no attribute '__getitem__'
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager Traceback (most recent call last):
2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     self._update(context, cn)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     inv_data,
2018-04-16 18:13:34.551 22865 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-16 18:13:34.551 22865 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1080, in set_inventory_for_provider
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 658, in _ensure_resource_provider
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     rps_to_refresh or [created_rp])
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in populate_from_iterable
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts}
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/provider_tree.py", line 272, in <dictcomp>
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager     to_add_by_uuid = {pd['uuid']: pd for pd in provider_dicts}
2018-04-16 18:13:34.551 22865 ERROR nova.compute.manager TypeError: 'NoneType' object has no attribute '__getitem__'

Please let me know of how I can proceed forward. Any Help would be appreciated. Also, Plz let me know if I need to install Pre-requisite packages like Etcd, MySQL, MemCache, RabbitMQ on the Compute Node. Controller Node has all the Pre-requisite Packages and it is running fine.

KeyStone is running on the Controller Node. Port it is listening is on Port 5000 and it is not listening on 35357 port. From the Nova Compute Node, I am able to curl to the controller node with the 5000 port.

curl -v http://controller:5000/v3 SUCCESS

curl -v http://controller:35357/v3 CONNECTION FAILED.

Is there any way to make KeyStone Listen on Port 35357 on the Controller Node.

I have followed the Instructions exactly as given in the Installation Tutorial.

Thanks, Arjun