← Back to team overview

fuel-dev team mailing list archive

Re: Failed to disable DHCP for network vboxnet0

 

We just need to check VBox version then, and exit with clear message that
user must use version >=4.2 to be able to use our scripts.


On Mon, Apr 28, 2014 at 5:07 PM, Miroslav Anashkin
<manashkin@xxxxxxxxxxxx>wrote:

> Yes, minimal supported Virtualbox version is 4.2.
> It is mentioned in our docs.
>
> However - if necessary, we may investigate why DHCP disable fails with
> older VBox versions.
>
> Kind regards,
> Miroslav
>
>
> On Mon, Apr 28, 2014 at 4:53 PM, Mike Scherbakov <mscherbakov@xxxxxxxxxxxx
> > wrote:
>
>> Vitaly,
>> are you sure it happens because of VirtualBox 4.1?
>>
>> If so, please file a bug or rather provide a patch to vbox scripts, to
>> echo
>> "Try to use newer version of VirtualBox" along with
>>
>> *Failed to disable DHCP for network vboxnet0*
>>
>> *Looks like VirtualBox failed to apply settings for interface vboxnet0*
>>
>>
>> Thanks,
>>
>>
>> On Mon, Apr 28, 2014 at 4:50 PM, Vitaly Parakhin <vparakhin@xxxxxxxxxxxx>wrote:
>>
>>> Gandhi,
>>>
>>> install latest VirtualBox 4.3 package from
>>> https://www.virtualbox.org/wiki/Linux_Downloads and try again, scripts
>>> are not compatible with VirtualBox 4.1
>>>
>>>
>>> On Mon, Apr 28, 2014 at 2:54 PM, Gandhirajan Mariappan (CW) <
>>> gmariapp@xxxxxxxxxxx> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> While installing the fuel, we got the below error message. Kindly let
>>>> us know how to proceed.
>>>>
>>>>
>>>>
>>>> *Steps followed:*
>>>>
>>>> 1.       Install Virtualbox
>>>>
>>>> *# apt-get install linux-headers-$(uname -r) build-essential virtualbox
>>>> dkms*
>>>>
>>>>
>>>>
>>>> 2.       Install vboxmanage Extension pack:
>>>>
>>>> *#vboxmanage extpack install
>>>> Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack *
>>>>
>>>>
>>>>
>>>> *3.       **#./launch.sh *
>>>>
>>>>
>>>>
>>>> *Error Message:*
>>>>
>>>> *root@U12:~/Downloads/virtualbox# ./launch.sh*
>>>>
>>>> *Checking for 'expect'... 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"...  OK*
>>>>
>>>> *Checking for VirtualBox Extension Pack... OK*
>>>>
>>>> *Checking for Mirantis OpenStack ISO image... OK*
>>>>
>>>> *Checking if SSH client installed...*
>>>>
>>>> *OK*
>>>>
>>>> *Checking if ipconfig or ifconfig installed...*
>>>>
>>>> *OK*
>>>>
>>>> *Deleting host-only interface: vboxnet0...*
>>>>
>>>> *0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
>>>>
>>>> *Creating host-only interface (name ip netmask): vboxnet0  10.20.0.1
>>>> 255.255.255.0*
>>>>
>>>> *0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
>>>>
>>>> *Interface 'vboxnet0' was successfully created*
>>>>
>>>> *Disabling DHCP server on interface: vboxnet0...*
>>>>
>>>> *+ echo 'Configuring IP address 10.20.0.1 and network mask
>>>> 255.255.255.0 on interface: vboxnet0...'*
>>>>
>>>> *Configuring IP address 10.20.0.1 and network mask 255.255.255.0 on
>>>> interface: vboxnet0...*
>>>>
>>>> *+ VBoxManage hostonlyif ipconfig vboxnet0 --ip 10.20.0.1 --netmask
>>>> 255.255.255.0*
>>>>
>>>> *+ set +x*
>>>>
>>>> *Verifying interface vboxnet0 has IP 10.20.0.1 and mask 255.255.255.0
>>>> properly set.*
>>>>
>>>> *Failed to disable DHCP for network vboxnet0*
>>>>
>>>> *Looks like VirtualBox failed to apply settings for interface vboxnet0*
>>>>
>>>> *Sometimes such error happens under Windows.*
>>>>
>>>> *Please run launch.sh one more time.*
>>>>
>>>> *If this error remains after several attempts, then something really
>>>> went wrong.*
>>>>
>>>> *Aborting.*
>>>>
>>>> *root@U12:*
>>>>
>>>>
>>>>
>>>> *VboxManage details:*
>>>>
>>>> *root@U12:~/Downloads/virtualbox# vboxmanage --version*
>>>>
>>>> *4.1.12_Ubuntur77245*
>>>>
>>>> *root@U12:~/Downloads/virtualbox# VBoxManage list extpacks*
>>>>
>>>> *Extension Packs: 1*
>>>>
>>>> *Pack no. 0:   Oracle VM VirtualBox Extension Pack*
>>>>
>>>> *Version:      4.1.12*
>>>>
>>>> *Revision:     77245*
>>>>
>>>> *Description:  USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with
>>>> E1000 support.*
>>>>
>>>> *VRDE Module:  VBoxVRDP*
>>>>
>>>> *Usable:       true*
>>>>
>>>> *Why unusable:*
>>>>
>>>> *root@U12:~/Downloads/virtualbox# ifconfig*
>>>>
>>>> *vboxnet0  Link encap:Ethernet  HWaddr 0a:00:27:00:00:00*
>>>>
>>>> *          inet addr:10.20.0.1  Bcast:10.20.0.255  Mask:255.255.255.0*
>>>>
>>>> *          inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link*
>>>>
>>>> *          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1*
>>>>
>>>> *          RX packets:0 errors:0 dropped:0 overruns:0 frame:0*
>>>>
>>>> *          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0*
>>>>
>>>> *          collisions:0 txqueuelen:1000*
>>>>
>>>> *          RX bytes:0 (0.0 B)  TX bytes:10631 (10.6 KB)*
>>>>
>>>>
>>>>
>>>> Thanks and Regards,
>>>>
>>>> Gandhi Rajan
>>>>
>>>>
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~fuel-dev
>>>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Regards,
>>> Vitaly Parakhin.
>>> OSCI Engineer | Mirantis, Inc. | http://www.mirantis.com
>>> Cell: +380667578128 | Skype: vit.parakhin
>>>
>>> --
>>> Mailing list: https://launchpad.net/~fuel-dev
>>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Mike Scherbakov
>> #mihgen
>>
>> --
>> Mailing list: https://launchpad.net/~fuel-dev
>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~fuel-dev
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> *Kind Regards*
>
> *Miroslav Anashkin**L2 support engineer**,*
> *Mirantis Inc.*
> *+7(495)640-4944 (office receptionist)*
> *+1(650)587-5200 (office receptionist, call from US)*
> *35b, Bld. 3, Vorontsovskaya St.*
> *Moscow**, Russia, 109147.*
>
> www.mirantis.com
>
> manashkin@xxxxxxxxxxxx
>
>


-- 
Mike Scherbakov
#mihgen

References