Bug 745181 - iwhd needs filesystem space check
Summary: iwhd needs filesystem space check
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: iwhd
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 1.0.2
Assignee: Pete Zaitcev
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-11 14:59 UTC by Dave Johnson
Modified: 2012-08-29 14:54 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-21 19:01:27 UTC


Attachments (Terms of Use)

Description Dave Johnson 2011-10-11 14:59:50 UTC
Description of problem:
==================================
Running a imagefactory build image and the system ran out of file system space.  Before the build process, image factory does a check for space but once the image is built, it copies the image into iwhd.  It is on the copy operation where the system ran out of space.  We should either check for double space initially before the build or add another space check before the copy operation.

Version-Release number of selected component (if applicable):
======================================================================
imagefactory-0.7.0-1.el6.noarch
imagefactory-jeosconf-ec2-fedora-0.1.0-1.el6.noarch
imagefactory-jeosconf-ec2-rhel-0.1.0-1.el6.noarch
iwhd-0.98.15.z3-2.el6.x86_64
oz-0.7.0-3.el6.noarch
rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.el6.noarch

Comment 2 Steve Loranz 2011-10-19 15:09:07 UTC
This check should be done by iwhd.  imagefactory doesn't (and shouldn't) assume iwhd or any other component is on the same system or using the same storage.  imagefactory can really only be responsible  for itself.

Comment 3 Dave Johnson 2011-10-19 18:39:54 UTC
Fair enough, re-opening against image warehouse.

Basically a check is need in warehouse to ensure there is enough space on the filesystem before it accepts a image being copied into it otherwise we run the risk of filling up the file system and being left with a corrupted image.

Comment 4 wes hayutin 2012-01-12 16:52:08 UTC
adding to sprint tracker

Comment 5 wes hayutin 2012-01-18 18:33:30 UTC
k.. this is getting bumped to 1.1.

I will be opening a bug for iwhd guys to clearly document  disaster recovery steps. That will include recovery for out of space, corrupted images etc..

Comment 6 wes hayutin 2012-02-22 23:46:12 UTC
moving version to 1.0.0 .  version = found in version


Note You need to log in before you can comment on or make changes to this bug.