too many "expect: spawn" errors

Bug #1569032 reported by Maksim Malchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Maksim Malchuk
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

Detailed bug description:
Fuel installation via launch.sh scripts never finish with too many errors like this:

Waiting for VM "fuel-master" to power on...
VM "fuel-master" has been successfully started.

Waiting for product VM to download files. Please do NOT abort the script... expect: spawn id exp7 not open
    while executing
"expect "*?assword:*""
expect: spawn id exp7 not open
    while executing
"expect "*?assword:*""
expect: spawn id exp7 not open
    while executing
"expect "*?assword:*""
expect: spawn id exp7 not open
    while executing
"expect "*?assword:*""
expect: spawn id exp7 not open
    while executing
"expect "*?assword:*""
expect: spawn id exp7 not open
    while executing

Steps to reproduce:
1. create the ~/.ssh/config file with an error or mistake inside. for example, create the new file with these two lines ('not' - here is the mistake, correct word should be 'no'):
Host *
    ForwardX11 not
2. start ./launsh.sh

Expected results:
Fuel should be installed.

Actual result:
We have too many errors about expect and password, and didn't know the root cause of the problem.

Reproducibility:
Reproduced on the Linux and MacOSX on any ISO with any version of the scripts.

Workaround:
Temporary remove (or rename) the ~/.ssh/config file before the Fuel install.

Impact:
Fuel installation cannot be completed.

Description of the environment:
Any Linux or MacOSX standard environment.

Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (master)

Fix proposed to branch: master
Review: https://review.openstack.org/304308

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-virtualbox (master)

Reviewed: https://review.openstack.org/304308
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=c865e7b2e2faf98d2e2fe304a57133d8ab90ae54
Submitter: Jenkins
Branch: master

commit c865e7b2e2faf98d2e2fe304a57133d8ab90ae54
Author: Maksim Malchuk <email address hidden>
Date: Mon Apr 11 23:27:37 2016 +0300

    Disable user-defined ssh_config configurations

    Using the user-defined ssh_config configurations bring more problems
    instead of enchancements.

    Change-Id: Icfd720e8d691b72a52e78e531eaf5aea9cdfb12a
    Closes-Bug: #1569032
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/305107

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-virtualbox (stable/mitaka)

Reviewed: https://review.openstack.org/305107
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=1edb4f1cf0754f89f9522e0266c505118de93d5b
Submitter: Jenkins
Branch: stable/mitaka

commit 1edb4f1cf0754f89f9522e0266c505118de93d5b
Author: Maksim Malchuk <email address hidden>
Date: Mon Apr 11 23:27:37 2016 +0300

    Disable user-defined ssh_config configurations

    Using the user-defined ssh_config configurations bring more problems
    instead of enchancements.

    Change-Id: Icfd720e8d691b72a52e78e531eaf5aea9cdfb12a
    Closes-Bug: #1569032
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit c865e7b2e2faf98d2e2fe304a57133d8ab90ae54)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified using vbox scripts ('stable/mitaka' branch).
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 459
cat /etc/fuel_build_number:
 459
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0

Actual result:
Fuel is installed successfully when ~/.ssh/config file contains mistake inside.

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.