nova/nova/tests/unit/virt
Gábor Antal 47d8aa5e7f Throw exception if numa_nodes is not set to integer greater than 0
As [1] is abandoned, I used that patchset to create a new one.
This patchset is freshened to the current master branch.

This patch introduces InvalidNUMANodesNumber exception, which is
thrown when trying to boot an instance with a flavor that has
hw:numa_nodes=0 extra spec set. That means that NUMA nodes is set to 0,
which is incorrect.

[1]: https://review.openstack.org/#/c/190267

Change-Id: I6bd8f69e582c537a5fec40064638a8887a08cac4
Co-Authored-By: Karim Boumedhel <karimboumedhel@gmail.com>
Closes-Bug: #1402709
2016-09-09 14:53:56 +02:00
..
disk libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
hyperv Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
libvirt Merge "Libvirt: Correct PERF_EVENTS_CPU_FLAG_MAPPING" 2016-09-08 14:01:08 +00:00
vmwareapi Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
xenapi Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
__init__.py
fakelibosinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_block_device.py Fix invalid uuid warnings in virt testcases 2016-06-02 18:24:12 +05:30
test_configdrive.py force_config_drive: StrOpt -> BoolOpt 2015-11-11 19:59:22 +00:00
test_diagnostics.py
test_driver.py virt: refactor method compute_driver_matches 2016-03-10 00:27:13 +08:00
test_events.py
test_fake.py
test_firewall.py Add unit tests for nova.virt.firewall.IpTablesFirewallDriver (Part 3) 2016-08-11 17:40:37 +00:00
test_hardware.py Throw exception if numa_nodes is not set to integer greater than 0 2016-09-09 14:53:56 +02:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Remove unused arguments to images.fetch and images.fetch_to_raw 2016-05-13 15:27:21 +01:00
test_osinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_virt.py Replace stubs.Set with stub_out (os) 2016-01-14 22:35:53 -05:00
test_virt_drivers.py libvirt: Improve mocking of imagebackend disks 2016-08-16 16:24:47 +01:00
test_volumeutils.py Switch to using os-brick 2015-07-27 10:47:22 -07:00