For some reason, I am getting an error message that grep cannot be found
while trying to establish a new reservation for my first captured image. It
works fine when I execute the du-grep pipeline from the command line. Any
idea what I am doing wrong?

2010-03-15 15:08:10|9312|5:5|new|new.pm:reload_image(616)|calling
VCL::Module::Provisioning::vmware->does_image_exist()
2010-03-15 15:08:10|9312|5:5|new|vmware.pm:does_image_exist(2018)|image
repository path: /images/vmware
2010-03-15 15:08:10|9312|5:5|new|utils.pm:run_command(9737)|executed
command: du -c /images/vmware/*xubuntu_9.10_vmware_base-v0* 2>&1 | grep
total 2>&1, pid: 9328, exit status: 1, output:
|9312|5:5|new| sh: grep: command not found

|9312|5:5|new| ---- WARNING ----
|9312|5:5|new| 2010-03-15
15:08:10|9312|5:5|new|vmware.pm:does_image_exist(2058)|du
output does not contain a total line:
|9312|5:5|new| sh: grep: command not found
|9312|5:5|new| ( 0) utils.pm, notify (line: 737)
|9312|5:5|new| (-1) vmware.pm, does_image_exist (line: 2058)
|9312|5:5|new| (-2) new.pm, reload_image (line: 618)
|9312|5:5|new| (-3) new.pm, process (line: 266)
|9312|5:5|new| (-4) vcld, make_new_child (line: 594)
|9312|5:5|new| (-5) vcld, main (line: 341)

Mark
-- 
Mark Gardner
--

Reply via email to