Hi everyone I have a modified compute driver (my_driver.py and my_driver.pyc) and I copied files to /opt/stack/nova/nova/virt/libvirt/ directory. Also, nova.conf modified to use this driver (compute_driver=libvirt.my_driver.MyDriver). I can't start nova-compute with this modified driver and nova.conf. When nova-compute start , it shows this error:
> > > > > > > > > > > *2014-11-10 12:03:25.300 DEBUG nova.servicegroup.api [-] ServiceGroup > driver defined as an instance of db from (pid=18709) __new__ > /opt/stack/nova/nova/servicegroup/api.py:652014-11-10 12:03:25.401 INFO > nova.virt.driver [-] Loading compute driver > 'libvirt.my_driver.MyDriver'2014-11-10 12:03:25.406 INFO > nova.openstack.common.periodic_task [-] Skipping periodic task > _periodic_update_dns because its interval is negative2014-11-10 > 12:03:25.424 ERROR nova.virt.driver [-] Unable to load the virtualization > driver2014-11-10 12:03:25.424 TRACE nova.virt.driver Traceback (most recent > call last):2014-11-10 12:03:25.424 TRACE nova.virt.driver File > "/opt/stack/nova/nova/virt/driver.py", line 1385, in > load_compute_driver2014-11-10 12:03:25.424 TRACE nova.virt.driver > virtapi)2014-11-10 12:03:25.424 TRACE nova.virt.driver File > "/usr/local/lib/python2.7/dist-packages/oslo/utils/importutils.py", line > 52, in import_object_ns2014-11-10 12:03:25.424 TRACE nova.virt.driver > return import_class(import_str)(*args, **kwargs)2014-11-10 12:03:25.424 > TRACE nova.virt.driver File > "/usr/local/lib/python2.7/dist-packages/oslo/utils/importutils.py", line > 27, in import_class2014-11-10 12:03:25.424 TRACE nova.virt.driver > __import__(mod_str)2014-11-10 12:03:25.424 TRACE nova.virt.driver > ImportError: No module named my_driver* > I really appreciate with any idea. Best Regard. -- M.H.Zarei
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev