← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1296575] Re: TypeError: libvirt_info() takes exactly 6 arguments (7 given) when boot instance to rbd directly

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

-- 
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/1296575

Title:
  TypeError: libvirt_info() takes exactly 6 arguments (7 given) when
  boot instance to rbd directly

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Openstack distribution: Havana
  OS: Ubuntu 12.04 LTS

  Failed to boot the instance when configure the nova to boot instance
  to rbd pool directly.

  2014-03-21 03:46:31.437 2433 ERROR nova.compute.manager [req-31ea99e5-80a2-449b-bdd8-f349d29b4388 3fafebf2c11240669ae6990abefb60ee d5fa85db624b4867a31f154b6520776d] [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] Error: libvirt_info() takes exactly 6 arguments (7 given)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] Traceback (most recent call last):
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1043, in _build_instance
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] set_access_ip=set_access_ip)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1426, in _spawn
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] LOG.exception(_('Instance failed to spawn'), instance=instance)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1423, in _spawn
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] block_device_info)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2088, in spawn
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] write_to_disk=True)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3084, in to_xml
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] disk_info, rescue, block_device_info)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2960, in get_guest_config
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] inst_type):
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2737, in get_guest_storage_config
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] inst_type)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2700, in get_guest_disk_config
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] self.get_hypervisor_version())
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3] TypeError: libvirt_info() takes exactly 6 arguments (7 given)
  2014-03-21 03:46:31.437 2433 TRACE nova.compute.manager [instance: 3e3f1bc4-f472-4365-accf-4401f3c040f3]
  2014-03-21 03:46:59.955 2433 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources

  Nova.conf on compute node:
  rbd_pool = nova
  rbd_user = nova-compute
  rbd_secret_uuid = 514c9fca-8cbe-11e2-9c52-3bc8c7819472
  libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  libvirt_images_rbd_ceph_conf = /etc/ceph/ceph.conf
  libvirt_images_rbd_pool = glance
  libvirt_images_type = rbd
  libvirt_inject_password = false
  libvirt_inject_partition = -2
  libvirt_inject_key = false

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