Add check for minimum disk size v0.12
authorIustin Pop <iustin@google.com>
Tue, 30 Oct 2012 10:14:28 +0000 (11:14 +0100)
committerIustin Pop <iustin@google.com>
Tue, 30 Oct 2012 11:16:49 +0000 (12:16 +0100)
commit8e883c15e3d02827edb21ad6fca447e9120d2a9f
treed5974f7d337139953b6c27da94e6fb2832765d11
parentcc4f263ca3ace838f040f64ff4b816fa2eec6e44
Add check for minimum disk size

This fixes issue 164, and changes:

  Failure: command execution error:
  Could not add os for instance instance2 on node node4:
  OS create script failed (exited with exit code 1), last lines in the log file:
  tar: ./bin/df: Cannot open: No such file or directory
  tar: ./bin/ip: Cannot open: No such file or directory
  tar: ./bin/grep: Cannot open: No such file or directory
  tar: ./opt: Cannot mkdir: No space left on device
  tar: ./selinux: Cannot mkdir: No space left on device
  tar: Exiting with failure status due to previous errors

Into:

  Failure: command execution error:
  Could not add os for instance instance2 on node node4:
  OS create script failed (exited with exit code 1), last lines in the log file:
  Device size is too small (128 MB)
  Required size is at least 256MB

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
NEWS
README
create