← Back to team overview

fuel-dev team mailing list archive

Re: Failed to disable DHCP for network vboxnet0

 

Greetings Gandhi,

Canonical updates Virtualbox distribution very seldom, probably due to
licensing issues.
You have to add one of Ubuntu repos from Virtualbox,org to your
/etc/apt/sources.list.

Please run the following before Virtualbox upgrade:

deb http://download.virtualbox.org/virtualbox/debian precise contrib
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
-O- | sudo apt-key add -

Please remove the older Virtualbox 4.1 first and install the latest 4.3.10
as new installation.
For additional details please check the following:
https://www.virtualbox.org/wiki/Linux_Downloads


Kind regards,
Miroslav


On Mon, Apr 28, 2014 at 5:47 PM, Gandhirajan Mariappan (CW) <
gmariapp@xxxxxxxxxxx> wrote:

> Also, while trying to upgrade from 4.1, I got below message.
>
>
>
> *root@U12:~/Downloads/virtualbox# apt-get upgrade VirtualBox-4.3*
>
> *Reading package lists... Done*
>
> *Building dependency tree*
>
> *Reading state information... Done*
>
> *The following packages have been kept back:*
>
> *  linux-headers-generic-lts-quantal linux-image-generic-lts-quantal*
>
> *0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.*
>
>
>
> *root@U12:~/Downloads/virtualbox# apt-get upgrade VirtualBox-4.2*
>
> *Reading package lists... Done*
>
> *Building dependency tree*
>
> *Reading state information... Done*
>
> *The following packages have been kept back:*
>
> *  linux-headers-generic-lts-quantal linux-image-generic-lts-quantal*
>
> *0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.*
>
> *root@U12:~/Downloads/virtualbox#*
>
>
>
> Upgrade does not happen and virtualbox versions still displays 4.1
>
>
>
> *root@U12:~/Downloads/virtualbox# vboxmanage --version*
>
> *4.1.12_Ubuntur77245*
>
>
>
> *From:* Gandhirajan Mariappan (CW)
> *Sent:* Monday, April 28, 2014 6:56 PM
> *To:* 'Vitaly Parakhin'; Miroslav Anashkin
>
> *Cc:* fuel-dev@xxxxxxxxxxxxxxxxxxx; Nataraj Mylsamy (CW);
> DL-GRP-ENG-SQA-Open Stack; Prakash Kaligotla
> *Subject:* RE: [Fuel-dev] Failed to disable DHCP for network vboxnet0
>
>
>
> Hi,
>
>
>
> We are getting below error message when we try to install virtual box 4.2
> and 4.3,
>
>
>
> *Install VitrualBox-4.2:*
>
> root@U12:~/Downloads/virtualbox# apt-get install virtualbox-4.2
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> E: Unable to locate package virtualbox-4.2
>
> E: Couldn't find any package by regex 'virtualbox-4.2'
>
>
>
> *Install VitrualBox-4.3:*
>
> root@U12:~/Downloads/virtualbox# apt-get install VirtualBox-4.3
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> E: Unable to locate package VirtualBox-4.3
>
> E: Couldn't find any package by regex 'VirtualBox-4.3'
>
>
>
> *Ubuntu Version:*
>
> root@U12:~/Downloads/virtualbox# uname -a
>
> Linux U12.4-41-198 3.5.0-47-generic #71~precise1-Ubuntu SMP Wed Feb 19
> 22:02:52 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> root@U12:~/Downloads/virtualbox# lsb_release -a
>
> No LSB modules are available.
>
> Distributor ID: Ubuntu
>
> Description:    Ubuntu 12.04.4 LTS
>
> Release:        12.04
>
> Codename:       precise
>
>
>
> Thanks and Regards,
>
> Gandhi Rajan
>
>
>
>
>
> *From:* Fuel-dev [
> mailto:fuel-dev-bounces+gmariapp=brocade.com@xxxxxxxxxxxxxxxxxxx<fuel-dev-bounces+gmariapp=brocade.com@xxxxxxxxxxxxxxxxxxx>]
> *On Behalf Of *Vitaly Parakhin
> *Sent:* Monday, April 28, 2014 6:45 PM
> *To:* Miroslav Anashkin
> *Cc:* fuel-dev@xxxxxxxxxxxxxxxxxxx; Nataraj Mylsamy (CW);
> DL-GRP-ENG-SQA-Open Stack; Prakash Kaligotla
> *Subject:* Re: [Fuel-dev] Failed to disable DHCP for network vboxnet0
>
>
>
> In this particular case, there are differences in options syntax between
> 4.1 and later versions (i.e. "VBoxManage dhcpservers" vs. "VBoxManage
> dhcpserver").
>
>
>
> On Mon, Apr 28, 2014 at 4: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 RegardsMiroslav Anashkin**L2 support engineer,*
> *Mirantis Inc.*
> *+7(495)640-4944 <%2B7%28495%29640-4944> (office receptionist)*
> *+1(650)587-5200 <%2B1%28650%29587-5200> (office receptionist, call from
> US)*
> *35b, Bld. 3, Vorontsovskaya St.*
> *Moscow, Russia, 109147.*
>
> www.mirantis.com
>
> manashkin@xxxxxxxxxxxx
>
>
>
>
> --
>
> --
> Regards,
> Vitaly Parakhin.
> OSCI Engineer | Mirantis, Inc. | http://www.mirantis.com
> Cell: +380667578128 | Skype: vit.parakhin
>



-- 

*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

References