From 4b1bc840d372f4cdc16510016c7b6318a65a7282 Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Tue, 14 Feb 2012 19:11:12 +0000 Subject: e2fsck needs -y Fixes bug 932257 Change-Id: I396c3498bca8f3e1a5131db81e6e0d1900b6f09f --- nova/virt/xenapi/vm_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index 1853bad2f..41cbd494a 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -1599,7 +1599,7 @@ def _resize_part_and_fs(dev, start, old_sectors, new_sectors): partition_path = utils.make_dev_path(dev, partition=1) # Replay journal if FS wasn't cleanly unmounted - utils.execute('e2fsck', '-f', partition_path, run_as_root=True) + utils.execute('e2fsck', '-f', '-y', partition_path, run_as_root=True) # Remove ext3 journal (making it ext2) utils.execute('tune2fs', '-O ^has_journal', partition_path, -- cgit