nova/nova/tests/unit/virt/disk/vfs
Andrea Frittoli ce577442b0 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
2016-12-09 12:48:44 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakeguestfs.py Guestfs handle no passwd or group in image 2016-12-09 12:48:44 +00:00
test_guestfs.py Guestfs handle no passwd or group in image 2016-12-09 12:48:44 +00:00
test_localfs.py Stop using mox stubs in nova/tests/unit/virt/disk 2016-11-21 20:39:26 +09:00