Comment 0 for bug 566793

euca-get-console-output does not provide all of a console's output.

To reproduce this behavior, run an instance that executes user-data as a script (ie, the uec-images), like this:

$ cat

for((i=0;i<${max};i++)); do
        echo "hello, number ${i}"
        [ $((${i}%${sleep_often})) -eq 0 ] && sleep ${sleep}
$ euca-run-instances --key mykey \
   --instance-type=m1.small emi-abcdefgh
# wait
$ time euca-get-console-output i-4537075F | tail -n 5
hello, number 2454
hello, number 2455
hello, number 2456
hello, number 2457
hello, number 2458

real 5m9.557s
user 0m0.130s
sys 0m0.050s

If I ssh to the node controller, and look at /var/lib/eucalyptus/instances/admin/i-4537075F/console.log I see that the count went all the way to 4999.

Note, I've waited minutes after the VM wrote the data before getting console output, it doesn't seem like just a (resonable) caching issue.

Also note, that the get-console-output takes an extremely long amount of time (minutes).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eucalyptus-common 1.6.2-0ubuntu30
ProcVersionSignature: Ubuntu 2.6.32-21.31-server
Uname: Linux 2.6.32-21-server x86_64 CC_NAME="cluster1"
Architecture: amd64
Date: Mon Apr 19 11:47:55 2010
SourcePackage: eucalyptus