Virtualbox scripts unusable on Mac OS

Bug #1394141 reported by Tomasz 'Zen' Napierala
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Bartłomiej Piotrowski

Bug Description

./launch.sh
Checking for 'top' and 'free' "free" is not available in the path, but it's required. Please install "procpc" package. Aborting.
uname -a
Darwin testosteron-3.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

There is no procpc package on Mac OS X.

Changed in fuel:
assignee: Tyzhnenko Dmitry (t-dmitry) → Bartlomiej Piotrowski (bpiotrowski)
Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :

The "check" has been added in 7c989124. I'll submit a simple workaround, but what should be really done is avoiding using high-level tools like top and free (invocations and output formats differs between implementations) and use sysctl/procfs directly. No idea what cygwin provides to leverage such informations on Windows.

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/135901

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/135901
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=ae4b0e9f3a867595205a90d34d92b95d70c79a06
Submitter: Jenkins
Branch: master

commit ae4b0e9f3a867595205a90d34d92b95d70c79a06
Author: Bartłomiej Piotrowski <email address hidden>
Date: Thu Nov 20 11:20:45 2014 +0100

    Check free and top availability only on Windows

    The regression has been introduced in 7c98912. procps is unavailable
    on OS X and the script already reflects that by using sysctl directly.
    On the vast majority of Linux distributions both tools are provided
    either by procps or busybox.

    Change-Id: I222beab7083399b7bf74c9560391da8aa65b7348
    Closes-Bug: 1394141

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
maestropandy (maestropandy) wrote :

HI All,

I am using virtual box in windows 10, while trying to install Fuel 8.0 with Virtual box scripts from cygwin getting error as "

 /cygdrive/c/Users/Pandy/Desktop/virtualbox
$ sh launch.sh
Prepare the host system...
Checking for 'free'... "free" is not available in the path, but it's required. Please install the "procps" package. Aborting.

I have installed "expect, openssh, and procps" packages while installing cygwin in my machine.

Kindly please check it.

Thanks,
Pandiyan

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.