[Bug 566793] Re: [SRU] euca-get-console-output gives first 64k of output, not most recent
Scott Moser
smoser at canonical.com
Fri May 28 15:49:22 BST 2010
I verified the initial test case (with user data while loop on)
$ dpkg-query --show eucalyptus*
eucalyptus-cc 1.6.2-0ubuntu30.1
eucalyptus-cloud 1.6.2-0ubuntu30.1
eucalyptus-common 1.6.2-0ubuntu30.1
eucalyptus-gl 1.6.2-0ubuntu30.1
eucalyptus-java-common 1.6.2-0ubuntu30.1
eucalyptus-javadeps
eucalyptus-sc 1.6.2-0ubuntu30.1
eucalyptus-walrus 1.6.2-0ubuntu30.1
After several minutes of waiting i went back to get console output. I saw:
=====
hello, number 4997
hello, number 4998
hello, number 4999
run-parts: /var/lib/cloud/data/scripts/part-000 exited with return code 1
Traceback (most recent call last):
File "/usr/bin/cloud-init-run-module", line 66, in <module>
main()
File "/usr/bin/cloud-init-run-module", line 61, in main
cloud.sem_and_run(semname, freq, inst.run, [run_args,cfg_path], False)
File "/usr/lib/python2.6/dist-packages/cloudinit/__init__.py", line 220, in sem_and_run
func(*args)
File "/usr/lib/python2.6/dist-packages/cloudinit/execute.py", line 28, in run
raise Exception(str)
Exception: Cmd returned 1
run-parts --regex .* /var/lib/cloud/data/scripts
=====
(interestingly, that is correct output. the python trace results from the script being run and returning non-true).
--
[SRU] euca-get-console-output gives first 64k of output, not most recent
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