← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395236] [NEW] nova compute

 

Public bug reported:

My /etc/nova/nova.conf file
[root@hd-slave nova]# cat /etc/nova/nova.conf |grep ^[a-z]
rabbit_host=192.168.88.100
rabbit_port=5672
rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_use_ssl=false
rabbit_userid=guest
rabbit_password=guest
rabbit_virtual_host=/
rpc_backend=rabbit
my_ip=192.168.88.100
state_path=/var/lib/nova
auth_strategy=keystone
instances_path=$state_path/instances
network_api_class=nova.network.neutronv2.api.API
linuxnet_interface_driver=nova.network.linux_net.LinuxBridgeInterfaceDriver
neutron_url=http://192.168.88.100:9696
neutron_admin_username=admin
neutron_admin_password=admin
neutron_admin_tenant_id=ae36404bda69434ebb8edda06e2596d3
neutron_admin_tenant_name=admin
neutron_admin_auth_url=http://192.168.88.100:5000/v2.0
neutron_auth_strategy=keystone
security_group_api=neutron
lock_path=/var/lib/nova/tmp
debug=true
verbose=true
resize_fs_using_block_device=false
compute_driver=libvirt.LibvirtDriver
use_cow_images=false
vif_plugging_is_fatal=false
vif_plugging_timeout=10
firewall_driver=nova.virt.libvirt.firewall.NoopFirewallDriver
novncproxy_base_url=http://192.168.88.100:6080/vnc_auto.html
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.88.101
vnc_enabled=true
vnc_keymap=en-us
volume_api_class=nova.volume.cinder.API
connection=mysql://nova:nova@192.168.88.100/nova
auth_host=192.168.88.100
auth_port=35357
auth_protocol=http
auth_uri=http://192.168.88.100:5000
auth_version=v2.0
admin_user=admin
admin_password=admin
admin_tenant_name=admin
virt_type=qemu
vif_driver=nova.virt.libvirt.vif.NeutronLinuxBridgeVIFDriver


Error Information:

[root@hd-slave nova]# nova-compute --config-file /etc/nova/nova.conf 
2014-11-22 09:58:41.976 3701 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db __new__ /usr/lib/python2.6/site-packages/nova/servicegroup/api.py:65
2014-11-22 09:58:42.204 3701 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-11-22 09:58:42.250 3701 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
2014-11-22 09:58:42.266 3701 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
2014-11-22 09:58:42.269 3701 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2014-11-22 09:58:42.283 3701 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver Traceback (most recent call last):
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/virt/driver.py", line 1299, in load_compute_driver
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     virtapi)
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     return import_class(import_str)(*args, **kwargs)
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 33, in import_class
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     traceback.format_exception(*sys.exc_info())))
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'LibvirtDriver'\n"])
2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1395236

Title:
  nova compute

Status in OpenStack Compute (Nova):
  New

Bug description:
  My /etc/nova/nova.conf file
  [root@hd-slave nova]# cat /etc/nova/nova.conf |grep ^[a-z]
  rabbit_host=192.168.88.100
  rabbit_port=5672
  rabbit_hosts=$rabbit_host:$rabbit_port
  rabbit_use_ssl=false
  rabbit_userid=guest
  rabbit_password=guest
  rabbit_virtual_host=/
  rpc_backend=rabbit
  my_ip=192.168.88.100
  state_path=/var/lib/nova
  auth_strategy=keystone
  instances_path=$state_path/instances
  network_api_class=nova.network.neutronv2.api.API
  linuxnet_interface_driver=nova.network.linux_net.LinuxBridgeInterfaceDriver
  neutron_url=http://192.168.88.100:9696
  neutron_admin_username=admin
  neutron_admin_password=admin
  neutron_admin_tenant_id=ae36404bda69434ebb8edda06e2596d3
  neutron_admin_tenant_name=admin
  neutron_admin_auth_url=http://192.168.88.100:5000/v2.0
  neutron_auth_strategy=keystone
  security_group_api=neutron
  lock_path=/var/lib/nova/tmp
  debug=true
  verbose=true
  resize_fs_using_block_device=false
  compute_driver=libvirt.LibvirtDriver
  use_cow_images=false
  vif_plugging_is_fatal=false
  vif_plugging_timeout=10
  firewall_driver=nova.virt.libvirt.firewall.NoopFirewallDriver
  novncproxy_base_url=http://192.168.88.100:6080/vnc_auto.html
  vncserver_listen=0.0.0.0
  vncserver_proxyclient_address=192.168.88.101
  vnc_enabled=true
  vnc_keymap=en-us
  volume_api_class=nova.volume.cinder.API
  connection=mysql://nova:nova@192.168.88.100/nova
  auth_host=192.168.88.100
  auth_port=35357
  auth_protocol=http
  auth_uri=http://192.168.88.100:5000
  auth_version=v2.0
  admin_user=admin
  admin_password=admin
  admin_tenant_name=admin
  virt_type=qemu
  vif_driver=nova.virt.libvirt.vif.NeutronLinuxBridgeVIFDriver

  
  Error Information:

  [root@hd-slave nova]# nova-compute --config-file /etc/nova/nova.conf 
  2014-11-22 09:58:41.976 3701 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db __new__ /usr/lib/python2.6/site-packages/nova/servicegroup/api.py:65
  2014-11-22 09:58:42.204 3701 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
  2014-11-22 09:58:42.250 3701 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
  2014-11-22 09:58:42.266 3701 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
  2014-11-22 09:58:42.269 3701 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
  2014-11-22 09:58:42.283 3701 ERROR nova.virt.driver [-] Unable to load the virtualization driver
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver Traceback (most recent call last):
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/virt/driver.py", line 1299, in load_compute_driver
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     virtapi)
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     return import_class(import_str)(*args, **kwargs)
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver   File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 33, in import_class
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver     traceback.format_exception(*sys.exc_info())))
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'LibvirtDriver'\n"])
  2014-11-22 09:58:42.283 3701 TRACE nova.virt.driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1395236/+subscriptions


Follow ups

References