Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bernd , I did what you told me and I clone the repository under /usr/lib/python2.7/dist-packages/nova/virt then when I restart nova-compute I get this error !!!

2018-08-10 15:10:34.130 30548 INFO nova.virt.driver [req-d0fdbda1-4791-44e2-9be5-892a0797e11c - - - - -] Loading compute driver 'ec2.EC2Driver' 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver [req-d0fdbda1-4791-44e2-9be5-892a0797e11c - - - - -] Unable to load the virtualization driver 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver Traceback (most recent call last): 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1626, in load_compute_driver 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver virtapi) 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 44, in import_object 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver return import_class(import_str)(args, *kwargs) 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver __import__(mod_str) 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/ec2/__init__.py", line 15, in <module> 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver from nova.virt.ec2 import ec2driver 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/ec2/ec2driver.py", line 44, in <module> 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver from nova.openstack.common import log as logging 2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver ImportError: No module named openstack.common 2018-08-10 15:10:34.158 30548 ERROR nova.virt.drive

!!! any help please

Bernd , I did what you told me and I clone the repository under /usr/lib/python2.7/dist-packages/nova/virt then when I restart nova-compute I get this error !!!

2018-08-10 15:10:34.130 30548 INFO nova.virt.driver [req-d0fdbda1-4791-44e2-9be5-892a0797e11c - - - - -] Loading compute driver 'ec2.EC2Driver'
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver [req-d0fdbda1-4791-44e2-9be5-892a0797e11c - - - - -] Unable to load the virtualization driver
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver Traceback (most recent call last):
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1626, in load_compute_driver
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver     virtapi)
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 44, in import_object
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver     return import_class(import_str)(args, *kwargs)
import_class(import_str)(*args, **kwargs)
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver     __import__(mod_str)
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver   File "/usr/lib/python2.7/dist-packages/nova/virt/ec2/__init__.py", line 15, in <module>
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver     from nova.virt.ec2 import ec2driver
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver   File "/usr/lib/python2.7/dist-packages/nova/virt/ec2/ec2driver.py", line 44, in <module>
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver     from nova.openstack.common import log as logging
2018-08-10 15:10:34.158 30548 ERROR nova.virt.driver ImportError: No module named openstack.common
2018-08-10 15:10:34.158 30548 ERROR nova.virt.drive

nova.virt.drive

!!! any help please