[vbox] launch.sh failed to apply settings for network interface

Bug #1535742 reported by Valentin Kaplov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Serhii Ovsianikov
Mitaka
Fix Released
High
Serhii Ovsianikov

Bug Description

Environment:
OS: Centos 7 x86_64
VirtualBox: 5.0.12

Steps to reproduce:
1. run ./launch.sh

Actual result"
Script fails with error:
"New Net Mask 255.255.255.0 does not match the applied one 255.0.0.0
Looks like VirtualBox failed to apply settings for interface vboxnet0"

Expected result:
Network mask should be configured properly.

Additional information:
Command "VBoxManage hostonlyif ipconfig $id --ip $ip --netmask $mask" doesn't change network mask. If we run the same command second time, then network mask will setup seccessfully. So retry of the command "VBoxManage hostonlyif ipconfig $id --ip $ip --netmask $mask" fixes the issue.

Changed in fuel:
assignee: Valentin Kaplov (vkaplov) → nobody
Maciej Relewicz (rlu)
Changed in fuel:
assignee: nobody → Fuel DevOps (fuel-devops)
importance: Undecided → High
status: New → Confirmed
tags: added: area-devops
Igor Shishkin (teran)
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Miroslav Anashkin (manashkin)
Changed in fuel:
milestone: 9.0 → 10.0
tags: added: area-library team-bugfix vbox-scripts
removed: area-devops
Changed in fuel:
assignee: Miroslav Anashkin (manashkin) → Serhii Ovsianikov (sovsianikov)
Changed in fuel:
status: Confirmed → In Progress
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/320535

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

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

commit cc86e3997f96f02eca6234d1282d746ba162023a
Author: Serhiy Ovsianikov <email address hidden>
Date: Tue May 24 18:18:32 2016 +0300

    Additional verification of network interface settings

    In some cases, VBoxManage utility can't assign network interface parameters
    on the first try. This commit adds additional checks of network interface
    settings and re-assigns the network settings if the first attempt was
    unsuccessful.

    Change-Id: If8a24ec44257b47e221477c46e93e3f62e63a07d
    Closes-Bug: #1535742

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

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

Reviewed: https://review.openstack.org/324305
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=2815ea9ab1dee4ce0f8e798862d533ec2e02d1f4
Submitter: Jenkins
Branch: stable/mitaka

commit 2815ea9ab1dee4ce0f8e798862d533ec2e02d1f4
Author: Serhiy Ovsianikov <email address hidden>
Date: Tue May 24 18:18:32 2016 +0300

    Additional verification of network interface settings

    In some cases, VBoxManage utility can't assign network interface parameters
    on the first try. This commit adds additional checks of network interface
    settings and re-assigns the network settings if the first attempt was
    unsuccessful.

    Change-Id: If8a24ec44257b47e221477c46e93e3f62e63a07d
    Closes-Bug: #1535742
    (cherry picked from commit cc86e3997f96f02eca6234d1282d746ba162023a)

tags: added: on-verification
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Tested on Ubuntu and CentOS hosts with by me and Serhii Ovsianikov.

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.