vagrant-based deployment fails due to weird case of 2 default interfaces

Bug #1070838 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Deployment Tool
Fix Released
Undecided
Unassigned

Bug Description

Trying to do vagrant-based deployment per http://lava-deployment-tool.readthedocs.org/en/latest/index.html#quickstart-with-vagrant , it fails with:

LAVA_SERVER_IP
^^^^^^^^^^^^^^
This is the IP the device downloads the image parts from

Here is the list of network device on this host
  10.0.2.15 eth0
Device "eth0
eth0" does not exist.
 is not a valid IP address.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

Related branches

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Here's what "ip route" gives on the host:

ip route
default via 10.0.2.2 dev eth0
default via 10.0.2.2 dev eth0 metric 100
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15

So yes, it's weird. But obvious workaround is to stop on first match...

summary: - vagrant-based deployment fails
+ vagrant-based deployment fails due to weird case of 2 default interfaces
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Ok, I brought up bare http://files.vagrantup.com/precise64.box VM (box file downloaded couple of days ago). And it's the same:

vagrant@precise64:~$ ip route
default via 10.0.2.2 dev eth0
default via 10.0.2.2 dev eth0 metric 100
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15

So, it's either vagrant or that image bug/feature.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Ah, just in case I also get:

[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.2.0
VirtualBox Version: 4.1.12

I'm on precise (32bit) myself and use whatever VirtualBox version it ships.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

See linked merge request for fix.

Changed in lava-deployment-tool:
status: New → In Progress
Changed in lava-deployment-tool:
status: In Progress → 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.