nova-compute refused to start

asked 2016-08-17 01:56:31 -0500

Radhakrishnan Rk gravatar image

updated 2016-08-17 04:16:27 -0500

yprokule gravatar image

Hello,

My openstack production server has currently 4 compute nodes. I added 4th compute node. It was working fine without any problem since last week. I launched multiple vms and terminated and it was running smoothly. Recently I checked nova-compute.log in my compute node. It shows some error followed by trace. Compute service is not running now.

Please help me to fix this issue. Can any one tell me what would be the reason for this problem.

/var/log/nova/nova-compute.log

2016-08-17 10:26:33.704 2100 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2016-08-17 10:26:33.821 2100 ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager.update_available_resource: internal error in regular expression engine
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_task.py", line 198, in run_periodic_tasks
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     task(self, context)
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6100, in update_available_resource
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     rt.update_available_resource(context)
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 371, in update_available_resource
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     resources = self.driver.get_available_resource(self.nodename)
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4994, in get_available_resource
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     stats = self.get_host_stats(refresh=True)
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5888, in get_host_stats
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     return self.host_state.get_host_stats(refresh=refresh)
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6474, in get_host_stats
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     self.update_status()
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6517, in update_status
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     data['disk_available_least'] = _get_disk_available_least()
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6490, in _get_disk_available_least
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     disk_over_committed = (self.driver.
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5838, in _get_disk_over_committed_size_total
2016-08-17 10:26:33.821 2100 TRACE nova.openstack.common.periodic_task     self._get_instance_disk_info(dom ...
(more)
edit retag flag offensive close merge delete

Comments

Check if all the host are online and restart nova-compute service in each node. Do give us the full log details and the changes made before this occurred.

Mongrel gravatar imageMongrel ( 2016-08-17 04:36:09 -0500 )edit

make sure your service are online. neutron agent-listnova service-list

Bipin gravatar imageBipin ( 2016-08-21 23:48:44 -0500 )edit