[VBox] Wrong path of VirtualBox in Win 7/10 under Cygwin

Bug #1534129 reported by Serhii Ovsianikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Maksim Malchuk
8.0.x
Fix Released
High
Maksim Malchuk

Bug Description

When I run launch.sh script in Win 7/10 under Cygwin I have the following error

$ ./launch.sh
Prepare the host system...
Checking for 'free'... OK
Checking for 'expect'... OK
Checking for 'xxd'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:"/cygdrive/c/Program Files/Oracle/VirtualBox"
Checking for "VBoxManage"... "VBoxManage" is not available in the path, but it's required. Likely, VirtualBox is not installed. Aborting.

Wrong determination of the path VirtualBox in Win 7/10 under Cygwin (incorrect values in the variable vbox_path):

vbox_path_registry=E:\Program Files\Oracle\VirtualBox\

vbox_path=E:Program FilesOracleVirtualBox

Changed in fuel:
assignee: nobody → Maksim Malchuk (mmalchuk)
Changed in fuel:
importance: Undecided → High
milestone: none → 8.0-updates
milestone: 8.0-updates → 9.0
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
tags: added: area-library team-bugfix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

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

Reviewed: https://review.openstack.org/268336
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=60304cd369254d48e38f010d45e10d245b665d1b
Submitter: Jenkins
Branch: master

commit 60304cd369254d48e38f010d45e10d245b665d1b
Author: Maksim Malchuk <email address hidden>
Date: Fri Jan 15 16:54:13 2016 +0300

    Fix PATH issue for VirtualBox on Windows

    The support to deploy on a remote machine is broke the
    default behaviour on the Windows OS, so now it always
    needs to set the $PATH manually before using the scripts.

    Also, the new functionality didn't work on the remote
    Windows machine because the scripts change the $PATH on
    the local system only.

    This commit adds some more checks and fixes the local
    $PATH setup. It didn't check remote system requirements
    so deploy on a remote machine still have some problems.
    Added several messages in the scripts.

    Also this commit contain increased timeouts to fix
    failures during network interfaces add/change operations
    on some Windows systems.

    Change-Id: If5dadc1ece3931f42eac423aae4d7016d45c2040
    Closes-Bug: #1534129
    Partial-Bug: #1491925

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/271418

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

Reviewed: https://review.openstack.org/271418
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=6c6b088a3d52dd0eaf43d59f3a3a149c93a07e7e
Submitter: Jenkins
Branch: stable/8.0

commit 6c6b088a3d52dd0eaf43d59f3a3a149c93a07e7e
Author: Maksim Malchuk <email address hidden>
Date: Fri Jan 15 16:54:13 2016 +0300

    Fix PATH issue for VirtualBox on Windows

    The support to deploy on a remote machine is broke the
    default behaviour on the Windows OS, so now it always
    needs to set the $PATH manually before using the scripts.

    Also, the new functionality didn't work on the remote
    Windows machine because the scripts change the $PATH on
    the local system only.

    This commit adds some more checks and fixes the local
    $PATH setup. It didn't check remote system requirements
    so deploy on a remote machine still have some problems.
    Added several messages in the scripts.

    Also this commit contain increased timeouts to fix
    failures during network interfaces add/change operations
    on some Windows systems.

    Change-Id: If5dadc1ece3931f42eac423aae4d7016d45c2040
    (cherrypicked from commit 60304cd369254d48e38f010d45e10d245b665d1b)
    Closes-Bug: #1534129
    Partial-Bug: #1491925

tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

Verified on ISO #529 and Windows 7 (Enterprise): VirtualBox 5.0.10 r104061 + Cygwin

tags: removed: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

+Verified on ISO #529, Win10, VirtualBox-5.0.14-105127-Win

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

Verified using 'stable/mitaka' branch of vbox scripts on:
9.0 ISO #482
Windows 7 (Enterprise)
VirtualBox-5.0.20-106931-Win + Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931
Cygwin

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified using 'stable/mitaka' branch of vbox scripts on:
9.0 ISO #482
Windows 10 (Home)
VirtualBox-5.0.20-106931-Win + Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931
Cygwin

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
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.