VMware Driver nova.virt.driver [-] Unable to load the virtualization driver

Bug #1322243 reported by Pravin Phadte Bernard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
nova (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

i been trying to install the compute with vmware drivers. This is a separate node with Ubuntu 14.04 LTS.

2014-05-22 20:47:08.774 1812 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-05-22 20:47:08.816 1812 INFO nova.virt.driver [-] Loading compute driver 'vmwareapi.VMwareVCDriver'
2014-05-22 20:47:08.821 1812 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver Traceback (most recent call last):
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1299, in load_compute_driver
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver virtapi)
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver return import_class(import_str)(*args, **kwargs)
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 28, in import_class
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver __import__(mod_str)
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver ImportError: No module named vmwareapi
2014-05-22 20:47:08.821 1812 TRACE nova.virt.driver

Tags: vmware
Revision history for this message
Tracy Jones (tjones-i) wrote :

this appears to be a problem with your environment. how did you install ?

tags: added: vmware
Revision history for this message
Pravin Phadte Bernard (pravinphadte) wrote :

Thanks but i have tied all combinations to work on this error and it seems not to resolve.
installed Ubuntu 14.04 LTS with 2 nic.

install nova-compute-vmware

root@computevc:~# cat /etc/nova/nova-compute.conf
[DEFAULT]
#libvirt_type=vmwareapi
#compute_driver=vmwareapi.VMwareVCDriver

root@computevc:~# cat /etc/nova/nova-compute.conf
[DEFAULT]
#libvirt_type=vmwareapi
#compute_driver=vmwareapi.VMwareVCDriver
root@computevc:~# cat /etc/nova/nova.conf
[DEFAULT]
host = controller
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
#connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
#NEW CONFIGRUATION
# VMWARE
#libvirt_type=vmwareapi
compute_driver=vmwareapi.VMwareVCDriver
#AUTH
auth_strategy = keystone
#RABBITMQ
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = RABBIT_PASS
#VMC
my_ip = 10.238.229.32
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.238.229.32
novncproxy_base_url = http://10.238.229.11:6080/vnc_auto.html
#GLANCE
glance_host = controller
# NEUTRON
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://controller:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = NEUTRON_PASS
neutron_admin_auth_url = http://controller:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron
[database]
connection = mysql://nova:NOVA_DBPASS@controller/nova
[keystone_authtoken]

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

This sounds like a bug in the ubuntu packaging (https://wiki.openstack.org/wiki/Packaging/Ubuntu), can you please log a bug with them too?
https://launchpad.net/ubuntu/+source/nova

Revision history for this message
Pravin Phadte Bernard (pravinphadte) wrote :

yes i agree this seems more like a bug.. on ubuntu 12 it works fine

Revision history for this message
Tracy Jones (tjones-i) wrote :

ubuntu packaging issue

Changed in nova:
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

I've been testing this driver as part of the work to charm up the vmware integration for 14.04; however I've not hit this specific problem - there where some other issues but those have now all been SRU'ed.

Can you confirm that this is still a problem with the latest 14.04 updates?

Thanks!

Changed in nova (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nova (Ubuntu) because there has been no activity for 60 days.]

Changed in nova (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.