ERROR nova.virt.driver [-] Compute driver option required, but not specified

Bug #1139684 reported by varada

This bug report was converted into a question: question #223214: ERROR nova.virt.driver [-] Compute driver option required, but not specified.

10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

installed nova-2013.1.g3, and when attempting to run 'nova-compute' with valid options..getting error "ERROR nova.virt.driver [-] Compute driver option required, but not specified"

nova.conf has the ‘compute_driver’ specified. I tried both options VMWareESXDriver and VMWareVCDriver..but no luck. May be I am missing a minor step here. Appreciate any help.

root@esxs2012:~# nova-compute --config-dir=/etc/nova/nova.conf --log-dir=/var/log/nova --verbose --debug
2013-03-02 05:07:26 2296 ERROR nova.virt.driver [-] Compute driver option required, but not specified
root@esxs2012:~# grep vmware /etc/nova/nova.conf
compute_driver=vmwareapi.VMWareVCDriver
#compute_driver: vmwareapi.VMWareESXDriver or vmwareapi.VMWareVCDriver
#:vmwareapi_host_ip: IP address or Name of VMware ESX/VC server.
#:vmwareapi_host_username: Username for connection to VMware ESX/VC Server.
#:vmwareapi_host_password: Password for connection to VMware ESX/VC Server.
#:vmwareapi_cluster_name: Name of a VMware Cluster ComputeResource.
#:vmwareapi_task_poll_interval: The interval (seconds) used for polling of remote tasks (default: 5.0).
#vmwareapi_api_retry_count: The API retry count in case of failure such as network failures (socket errors etc.) (default: 10).
#vmwareapi_cluster_name: When compute_driver is vmwareapi.VMWareVCDriver
vmwareapi_host_ip=10.49.202.48
vmwareapi_host_username=sysdep
vmwareapi_host_password=xxxxxxx
vmwareapi_wsdl_loc=http://127.0.0.1:8080/vmware/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl
vmwareapi_vlan_interface="vmnic0"
vmware_vif_driver="nova.virt.vmwareapi.vif.VMWareVlanBridgeDriver"
root@esxs2012:~#

varada (varadaa)
Changed in nova:
status: New → Invalid
Revision history for this message
marvel (marvelliu) wrote :

I can confirm this bug.

Revision history for this message
Jiangjunyu (double-chiang) wrote :

After I installed a fresh copy of Kilo on Ubuntu 14.04, I have the same problem.
However, after searched, a reference might help on https://www.rdoproject.org/forum/discussion/242/nova-conf-compute_driver-setting/p1

Above link mentioned the driver option, and you can find doc on http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html

It will let me fix this problem. Hope this will help.

Revision history for this message
1091198228 (d1091198228) wrote :

I encountered this error when installing the Nova compute version of Yogo. I uncomment the following line to solve this problem
Config file path:/etc/nova/nova.conf
> #compute_driver=libvirt.LibvirtDriver

Revision history for this message
Daojin Chen (chendaojin) wrote :

I have a same question with #3, and his way works. Thanks!

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.