nova/nova/virt
Matt Riedemann d6b5e81df5 libvirt: stub logging of host capabilities
By default we capture the logging output stream at INFO level
for unit/functional tests and anything that hits the libvirt
Host.get_capabilities method logs the giant xml host capabilities
string that is defined in the fakelibvirt module. This can cause
subunit parsing to fail because there is too much output in the
buffer.

This change simply stubs out that particular logging call in the
FakeLibvirtFixture class which is used extensively in the more
detailed libvirt tests like LibvirtConnTestCase. If this turns out
to not be good enough we can try stubbing at a more global level
like in the base nova TestCase.

Conflicts:
      nova/virt/libvirt/host.py

NOTE(mriedem): The conflict is due to not having change
I06e1f7429c056c4ce8506b10359762e457dbb2a0 in Stein.

Change-Id: I38b350bce908005161ed7c3eb737f32076828a37
Related-Bug: #1813147
(cherry picked from commit 2973faa070)
2019-09-14 09:39:37 -04:00
..
disk lxc: make use of filter python3 compatible 2019-08-14 19:21:52 +00:00
hyperv Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic [ironic] Don't remove instance info twice in destroy 2019-05-31 14:26:26 +00:00
libvirt libvirt: stub logging of host capabilities 2019-09-14 09:39:37 -04:00
powervm Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
vmwareapi Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
xenapi xenapi/agent: Change openssl error handling 2019-04-29 12:36:01 +00:00
zvm Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-26 11:20:24 +09:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py Do not perform port update in case of baremetal instance. 2019-04-28 15:47:22 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Add functional regression recreate test for bug 1839560 2019-08-15 11:57:42 -04:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Merge "Improve existing flavor and image metadata validation" 2019-03-05 08:57:41 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Improve libvirt image and snapshot handling 2019-03-05 12:18:34 -06:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00