Description of problem:
Running packstack on a few minimal installations, I noticed it will run into an endless loop if scp is missing on the nodes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup a host and a node, the latter without installing the scp binary (i.e. openssh-clients package)
2. Run packstage
3. Watch it loop at "Testing if puppet apply is finished : <node IP>_prescript.pp"
Either exit with an error or install what's missing (beforehand, since you know you're going to need it for sure) and continue.
Testing if puppet apply is finished : 10.112.1.30_prescript.pp
DEBUG:root:# ============ ssh : None ==========
DEBUG:root:scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null firstname.lastname@example.org:/var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/10.112.1.28_prescript.pp.finished /var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/10.112.1.28_prescript.pp.log
DEBUG:root:============ STDOUT ==========
DEBUG:root:============= STDERR ==========
DEBUG:root:+ trap t ERR
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null email@example.com:/var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/10.112.1.28_prescript.pp.finished /var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/10.112.1.28_prescript.pp.log
Warning: Permanently added '10.112.1.28' (RSA) to the list of known hosts.
bash: scp: command not found
++ exit 1
thanks for finding this
Fix submitted upstream
openstack-packstack-2012.2.2-0.8.dev406.el6 has been submitted as an update for Fedora EPEL 6.
openstack-packstack-2012.2.2-0.8.dev406.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openstack-packstack-2012.2.2-0.8.dev406.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
openstack-packstack-2012.2.2-1.0.dev408.fc18 has been submitted as an update for Fedora 18.
openstack-packstack-2012.2.2-1.0.dev408.el6 has been submitted as an update for Fedora EPEL 6.
openstack-packstack-2012.2.3-0.1.dev454.fc18 has been submitted as an update for Fedora 18.