← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1682692] Re: nova fails with error: 'module' object has no attribute 'VIR_MIGRATE_POSTCOPY' after using libvirt 2.5.0 from UCA

 

** Changed in: nova
     Assignee: (unassigned) => Sam Wan (sam-wan)

** Project changed: nova => openstack-devel

** Changed in: openstack-devel
     Assignee: Sam Wan (sam-wan) => (unassigned)

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

Title:
  nova fails with error: 'module' object has no attribute
  'VIR_MIGRATE_POSTCOPY' after using libvirt 2.5.0 from UCA

Status in OpenStack Development Infrastructure:
  New

Bug description:
  commit https://review.openstack.org/#/c/451492/ uses libvirt 2.5.0 from UCA, and nova fails with below errors with this change.
  ===
  2017-04-13 19:17:26.927 9868 DEBUG oslo_service.service [req-93d359eb-0146-49ff-aeca-48114f30793a - -] logging_exception_prefix       = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2778
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service [-] Error starting thread.
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service Traceback (most recent call last):
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 721, in run_service
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     service.start()
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/opt/stack/new/nova/nova/service.py", line 144, in start
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     self.manager.init_host()
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/opt/stack/new/nova/nova/compute/manager.py", line 1135, in init_host
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     self.driver.init_host(host=self.host)
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 471, in init_host
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     self._parse_migration_flags()
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 629, in _parse_migration_flags
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     live_migration_flags)
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 606, in _handle_live_migration_auto_converge
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service     (migration_flags & libvirt.VIR_MIGRATE_POSTCOPY) != 0):
  2017-04-13 19:17:27.302 9868 ERROR oslo_service.service AttributeError: 'module' object has no attribute 'VIR_MIGRATE_POSTCOPY'
  ====

  some example logs:

  http://openstack-ci.tintri.com/tintri/refs-changes-78-455878-2/logs/screen-n-cpu.log.txt 
  http://publiclogs.emc.com/vnx_ostack/EMC_VNX_iSCSI/371/logs/screen-n-cpu.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-devel/+bug/1682692/+subscriptions


References