summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-02-14 19:11:12 +0000
committerRick Harris <rconradharris@gmail.com>2012-02-14 19:11:12 +0000
commit4b1bc840d372f4cdc16510016c7b6318a65a7282 (patch)
tree370818ddb239720ee803322541488531109af7f2
parentb3ade08a21d154109b8cd4c3074f3611670adb1e (diff)
e2fsck needs -y
Fixes bug 932257 Change-Id: I396c3498bca8f3e1a5131db81e6e0d1900b6f09f
-rw-r--r--nova/virt/xenapi/vm_utils.py2
1 files changed, 1 insertions, 1 deletions
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,