Activity log for bug #826794

Date Who What changed Old value New value Message
2011-08-15 14:56:47 Scott Moser bug added bug
2011-08-15 15:30:41 Scott Moser description nova/virt/disk.py in inject_data does: # Configure ext2fs so that it doesn't auto-check every N boots out, err = utils.execute('tune2fs', '-c', 0, '-i', 0, mapped_device, run_as_root=True) this disables both interval based and mount-count based filesystem checks on ext2 (or ext3 or ext4) file systems. This is wrong for several reasons: a.) Just because the user is in the unfortunate position of using file injection does not mean they want to disable filesystem checks which help to prevent data loss. b.) I'm guessing the primary reason to modify this based on the fallacy that the first boot would then cause a filesystem check, and that filesystem check would be slow. That is not the case. A pristine image that has a filesystem check run on it due to a time interval passing happen sub-second. If the image had lots of changes since last fscheck, that is better fixed by the image author before registering. c.) disabling a filesystem check has nothing to do with disabling filesystem checks. nova/virt/disk.py in inject_data does:             # Configure ext2fs so that it doesn't auto-check every N boots             out, err = utils.execute('tune2fs', '-c', 0, '-i', 0,                                      mapped_device, run_as_root=True) this disables both interval based and mount-count based filesystem checks on ext2 (or ext3 or ext4) file systems. This is wrong for several reasons:  a.) Just because the user is in the unfortunate position of using file injection does not mean they want to disable filesystem checks which help to prevent data loss.  b.) I'm guessing the primary reason to modify this based on the fallacy that the first boot would then cause a filesystem check, and that filesystem check would be slow. That is not the case. A pristine image that has a filesystem check run on it due to a time interval passing happen sub-second. If the image had lots of changes since last fscheck, that is better fixed by the image author before registering.  c.) injecting a file has nothing to do with disabling filesystem checks.
2011-08-19 09:36:47 Thierry Carrez nova: importance Undecided Wishlist
2011-08-19 09:36:47 Thierry Carrez nova: status New Confirmed
2012-02-02 17:41:15 Mark McLoughlin bug added subscriber Pádraig Brady
2012-02-02 17:59:27 Pádraig Brady nova: status Confirmed In Progress
2012-02-02 17:59:27 Pádraig Brady nova: assignee Pádraig Brady (p-draigbrady)
2012-02-02 22:58:29 OpenStack Infra nova: status In Progress Fix Committed
2012-02-02 23:11:58 Brian Waldon nova: milestone essex-4
2012-02-29 10:33:25 Thierry Carrez nova: status Fix Committed Fix Released
2012-04-05 10:18:52 Thierry Carrez nova: milestone essex-4 2012.1