@Scott: The command is supposed to return the last 64K of console output. Your results are expected in that case. See the first note from: http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?instance-console.html
As for the time, it should be timing out after 20 seconds -- are you not seeing that behaviour? On Mon, Apr 19, 2010 at 10:06 AM, Scott Moser <smo...@canonical.com> wrote: > I just dumped > $ euca-get-console-output i-4537075F > out > $ ls -lh out > -rw-r--r-- 1 ubuntu ubuntu 65K 2010-04-19 12:04 out > > then, trimmed 'out' of the the single empty line at the end, and the > iid/timestamp header: > i-4537075F > 2010-04-19T17:04:44.446Z > > $ ls -l out > -rw-r--r-- 1 ubuntu ubuntu 65535 2010-04-19 12:06 out > > 65535 sounds like a limited buffer. > > -- > euca-get-console-output does not give all console output > https://bugs.launchpad.net/bugs/566793 > You received this bug notification because you are subscribed to > eucalyptus in ubuntu. > > Status in “eucalyptus” package in Ubuntu: New > > Bug description: > 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 user-data-loop.sh > #!/bin/bash > > max=5000; > sleep_often=50 > sleep=.2 > for((i=0;i<${max};i++)); do > echo "hello, number ${i}" > [ $((${i}%${sleep_often})) -eq 0 ] && sleep ${sleep} > done > $ euca-run-instances --user-data-file=user-data-loop.sh --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 2.6.32.11+drm33.2 > Uname: Linux 2.6.32-21-server x86_64 > .etc.eucalyptus.eucalyptus.cc.conf: CC_NAME="cluster1" > Architecture: amd64 > Date: Mon Apr 19 11:47:55 2010 > ProcEnviron: > LANG=en_US.UTF-8 > SHELL=/bin/bash > SourcePackage: eucalyptus > > > -- euca-get-console-output does not give all console output https://bugs.launchpad.net/bugs/566793 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs