nova/nova/tests/functional/wsgi
Eric Fried 7e48b227d0 libvirt: Don't report DISK_GB if sharing
For libvirt, if the operator wishes to use shared storage, they must
manually configure the sharing resource provider in placement and
associate it via aggregate with the compute node.  However, the libvirt
driver was still reporting the (same) DISK_GB inventory in the compute
node provider.

With this patch, we check the provider tree to see if a sharing provider
of DISK_GB is present.  If so, we don't report that inventory - because
it's already accounted for by the sharing provider.

Co-Authored-By: Bhagyashri Shewale <bhagyashri.shewale@nttdata.com>
Closes-Bug: #1771728
Change-Id: Iea283322124cb35fc0bc6d25f35548621e8c8c2f
2018-06-12 18:19:38 +05:30
..
__init__.py nova flavor manage functional test 2015-02-20 08:50:44 -05:00
test_flavor_manage.py Remove compatibility code for flavors 2017-09-05 10:36:10 -04:00
test_interfaces.py Fix functional tests for USE_NEUTRON 2017-12-21 19:11:46 -05:00
test_secgroup.py Enable global hacking checks and removed local checks 2017-02-10 15:09:37 +01:00
test_servers.py Ensure attachment_id always exists for block device mapping 2018-02-21 14:29:31 -05:00
test_services.py libvirt: Don't report DISK_GB if sharing 2018-06-12 18:19:38 +05:30