Issue #8423 has been reported by Jeff McCune.

----------------------------------------
Bug #8423: Periodic tempfile failure with install action and scripts
https://projects.puppetlabs.com/issues/8423

Author: Jeff McCune
Status: Unreviewed
Priority: Normal
Assignee: 
Category: cloudpack
Target version: 0.6.0
Keywords: cloudpack tmpfile install_script
Branch: 


Running the newly merged #7508 installer script code, I'm getting periodic 
failures on script execution:

<pre>
$ puppet node install --login root --keyfile $keyfile --install-script 
puppet-enterprise-s3 --install-answers ${installer_answers}.s3 -vd 
ec2-50-16-130-0.compute-1.amazonaws.com

‘notice: Waiting for SSH response ...
notice: Waiting for SSH response ... Done
info: Uploading Puppet Answer File ...
info: Uploading Puppet Answer File ... Done
notice: Installing Puppet ...
debug: Compiled installation script:
debug: #! /bin/bash
#
set -e
set -u

# this assumes that the payload has already been delivered
tmpdir='/tmp/installer_script.420'
cd "${tmpdir}"

echo 'HELLO WORLD!' > /tmp/foo.txt
date >> /tmp/foo.txt

# Download the installer payload from S3
exit 1

# copied by the install action of cloudpack
tar -xvzf puppet.tar.gz
grep -q '^q_puppetagent_certname' puppet.answers && (echo 'PE answers file 
already contains line q_puppetagent_certname';exit 1)
echo "q_puppetagent_certname='6f5df31e-e868-ef63-3739-dad55fb56b30'" >> 
puppet.answers
puppet-enterprise-1.1-all/puppet-enterprise-installer -a puppet.answers >& 
install.log

notice: Executing Puppet Install Script ...
err: No such file or directory - 
/var/folders/VS/VS29xR1aH6KlKF1Q8KjR-E+++TM/-Tmp-/install_script20110714-45822-1cpszdw-0
err: Try 'puppet help node install' for usage
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to