<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi everyone<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">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.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Also, nova.conf modified to use this driver (compute_driver=libvirt.my_driver.MyDriver).<br>I can't start nova-compute with this modified driver and nova.conf. When nova-compute start , it shows this error:<br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail_default" style="font-family:tahoma,sans-serif"><i>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:65<br>2014-11-10 12:03:25.401 INFO nova.virt.driver [-] Loading compute driver 'libvirt.my_driver.MyDriver'<br>2014-11-10 12:03:25.406 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative<br>2014-11-10 12:03:25.424 ERROR nova.virt.driver [-] Unable to load the virtualization driver<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver Traceback (most recent call last):<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver File "/opt/stack/nova/nova/virt/driver.py", line 1385, in load_compute_driver<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver virtapi)<br>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_ns<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver return import_class(import_str)(*args, **kwargs)<br>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_class<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver __import__(mod_str)<br>2014-11-10 12:03:25.424 TRACE nova.virt.driver ImportError: No module named my_driver</i><br clear="all"></div></blockquote><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>I really appreciate with any idea.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Best Regard. <br></div><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><div dir="rtl"><font face="tahoma, sans-serif"></font></div>M.H.Zarei</div></div>
</div>