Bug 905083 - Endless loop if scp is missing on nodes
Summary: Endless loop if scp is missing on nodes
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: openstack-packstack
Version: el6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Martin Magr
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-01-28 14:33 UTC by Sandro Mathys
Modified: 2018-07-17 12:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2018-07-17 12:19:29 UTC
Type: Bug

Attachments (Terms of Use)

Description Sandro Mathys 2013-01-28 14:33:47 UTC
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):

How reproducible:

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"
Actual results:
Endless loop.

Expected results:
Either exit with an error or install what's missing (beforehand, since you know you're going to need it for sure) and continue.

Additional info:
Testing if puppet apply is finished :
DEBUG:root:# ============ ssh : None ==========
DEBUG:root:scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@ /var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/
DEBUG:root:============ STDOUT ==========
DEBUG:root:============= STDERR ==========
DEBUG:root:+ trap t ERR
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@ /var/tmp/3ff889d0-da2b-4651-9f52-242afaade21f/manifests/
Warning: Permanently added '' (RSA) to the list of known hosts.
bash: scp: command not found
++ t
++ exit 1

Comment 1 Derek Higgins 2013-01-30 12:07:24 UTC
thanks for finding this

Fix submitted upstream

Comment 2 Fedora Update System 2013-02-13 18:57:23 UTC
openstack-packstack-2012.2.2-0.8.dev406.el6 has been submitted as an update for Fedora EPEL 6.

Comment 3 Fedora Update System 2013-02-13 18:59:15 UTC
openstack-packstack-2012.2.2-0.8.dev406.fc18 has been submitted as an update for Fedora 18.

Comment 4 Fedora Update System 2013-02-15 04:59:14 UTC
Package openstack-packstack-2012.2.2-0.8.dev406.fc18:
* 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).

Comment 5 Fedora Update System 2013-02-21 13:37:19 UTC
openstack-packstack-2012.2.2-1.0.dev408.fc18 has been submitted as an update for Fedora 18.

Comment 6 Fedora Update System 2013-02-21 13:39:12 UTC
openstack-packstack-2012.2.2-1.0.dev408.el6 has been submitted as an update for Fedora EPEL 6.

Comment 7 Fedora Update System 2013-02-27 12:39:25 UTC
openstack-packstack-2012.2.3-0.1.dev454.fc18 has been submitted as an update for Fedora 18.

Note You need to log in before you can comment on or make changes to this bug.