Comment 11 for bug 566793

Scott Moser (smoser) wrote :

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-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>
  File "/usr/bin/cloud-init-run-module", line 61, in main
    cloud.sem_and_run(semname, freq,, [run_args,cfg_path], False)
  File "/usr/lib/python2.6/dist-packages/cloudinit/", line 220, in sem_and_run
  File "/usr/lib/python2.6/dist-packages/cloudinit/", 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).