nova/nova/tests/unit/virt/disk
Andrea Frittoli b7e47f8a88 Guestfs handle no passwd or group in image
When setting ownership of a file or directory, the guestfs driver
looks for the /etc/passwd and/or /etc/group files. In case they
are not found, the current driver lets the auges RuntimeError
through, which does not produce a very helpful error message.
Fixing that by handling the original exception and rasing a
Nova exception with more details in it.

Related-bug: #1646002

Change-Id: I2d15865c8be13b938e10e67c1b1b160f2a80f0c0
(cherry picked from commit ce577442b0)
2017-01-11 18:18:45 +00:00
..
mount Wait for device to be mapped 2016-03-16 10:34:52 +00:00
vfs Guestfs handle no passwd or group in image 2017-01-11 18:18:45 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
test_inject.py virt: convert disk API over to use nova.virt.image.model 2015-06-12 09:59:00 +01:00