nova/nova/virt/libvirt
Matthew Booth b912556ae0 Remove unused argument from LibvirtDriver._disconnect_volume
_disconnect_volume was being passed disk_dev, which was is name of the
disk as presented to the gust. However, _disconnect_volume is only
concerned with unmounting the volume from the host, so this isn't
relevant.

A couple of volume drivers were using it for logging. We remove these
because it wasn't done consistently, is better done by the caller, and
isn't required as the information is available from other log
messages.

In the very minor associated debug log cleanup we also remove logging
of connection_info from one volume driver, which is potential security
bug.

We also do some associated cleanup in a few volume driver tests which
were assuming that disconnect_volume was being passed disk_info rather
than disk_dev, and that connection_info['data'] is related to
disk_info, which it isn't.

Change-Id: I61a0bee9e71e9a67f6a7c04a7bfd6e77fe818a77
2017-12-17 07:12:04 +00:00
..
storage Move shred to privsep. 2017-10-23 09:36:28 +11:00
volume Remove unused argument from LibvirtDriver._disconnect_volume 2017-12-17 07:12:04 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Adds 'sata' as a valid disk bus for qemu and kvm hypervisors 2017-10-20 17:03:10 -04:00
compat.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
config.py Make etree.tostring() emit unicode everywhere 2017-09-28 10:08:05 +01:00
designer.py libvirt: conditionally set script path for ethernet vif types 2017-03-21 14:12:39 -04:00
driver.py Remove unused argument from LibvirtDriver._disconnect_volume 2017-12-17 07:12:04 +00:00
firewall.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-25 10:45:03 +05:30
guest.py libvirt: Don't VIR_MIGRATE_NON_SHARED_INC without migrate_disks 2017-11-03 09:36:11 +00:00
host.py libvirt: Make 'get_domain' private 2017-09-22 15:28:24 +01:00
imagebackend.py Move ploop commands to privsep. 2017-09-28 07:29:51 +10:00
imagecache.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py live-mig: keep disk device address same 2017-12-14 20:45:04 +00:00
utils.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
vif.py Move contrail vif plugging to privsep. 2017-11-02 12:09:27 +11:00