[Bug 566793] [NEW] euca-get-console-output does not give all console output
Scott Moser
smoser at canonical.com
Mon Apr 19 17:55:28 BST 2010
Public bug reported:
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
** Affects: eucalyptus (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
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.
More information about the Ubuntu-server-bugs
mailing list