Public bug reported:

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'

** Affects: nova
     Importance: Low
     Assignee: Matt Riedemann (mriedem)
         Status: In Progress


** Tags: libvirt testing

** Changed in: nova
   Importance: Undecided => Low

** Changed in: nova
       Status: New => Triaged

-- 
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):
  In Progress

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to