Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova-compute and neutron-openvswitch-agent dead

Configured three node(controller, network and compute) icehouse setup with neutron. The setup is working fine. Now I want to add another compute node to the setup and I followed the same procedure of adding compute node and configured all the required changes of IP address wherever needed (nova.conf, neutron.conf, ml2_plugin,etc.) The problem I am facing is that the nova-compute and neutron-openvswitch-agent service are dead though they were started.

Error in compute.log :

2015-11-24 15:08:27.207 17326 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver Traceback (most recent call last):
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/virt/driver.py", line 1301, in load_compute_driver
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     virtapi)
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     return import_class(import_str)(*args, **kwargs)
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 33, in import_class
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     traceback.format_exception(*sys.exc_info())))
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'LibvirtDriver'\n"])
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver

nova-compute and neutron-openvswitch-agent dead

Configured three node(controller, network and compute) icehouse setup with neutron. The setup is working fine. Now I want to add another compute node to the setup and I followed the same procedure of adding compute node and configured all the required changes of IP address wherever needed (nova.conf, neutron.conf, ml2_plugin,etc.) The problem I am facing is that the nova-compute and neutron-openvswitch-agent service are dead though they were started.

Error in compute.log :

2015-11-24 15:08:27.207 17326 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver Traceback (most recent call last):
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/virt/driver.py", line 1301, in load_compute_driver
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     virtapi)
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     return import_class(import_str)(*args, **kwargs)
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 33, in import_class
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver     traceback.format_exception(*sys.exc_info())))
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'LibvirtDriver'\n"])
2015-11-24 15:08:27.207 17326 TRACE nova.virt.driver

[root@compute2 ~]# rpm -qa \*neutron\*
python-neutronclient-2.3.4-4.el6.noarch
openstack-neutron-openvswitch-2014.1.5-1.el6.noarch
openstack-neutron-ml2-2014.1.5-1.el6.noarch
python-neutron-2014.1.5-1.el6.noarch
openstack-neutron-2014.1.5-1.el6.noarch