← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1376363] Re: test_live_migration_raises_unsupported_config_exception can fail if VIR_ERR_CONFIG_UNSUPPORTED is not in fakelibvirt

 

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

** Changed in: nova
    Milestone: None => kilo-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/1376363

Title:
  test_live_migration_raises_unsupported_config_exception can fail if
  VIR_ERR_CONFIG_UNSUPPORTED is not in fakelibvirt

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  This change introduces a libvirt driver unit test that uses the
  VIR_ERR_CONFIG_UNSUPPORTED error code:

  https://review.openstack.org/#/c/123811/

  If you don't have libvirt installed the unit test will fail:

      Traceback (most recent call last):
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
          return func(*args, **keywargs)
        File "nova/tests/virt/libvirt/test_driver.py", line 5722, in test_live_migration_raises_unsupported_config_exception
          unsupported_config_error.err = (libvirt.VIR_ERR_CONFIG_UNSUPPORTED,)
      AttributeError: 'module' object has no attribute 'VIR_ERR_CONFIG_UNSUPPORTED'

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


References