Ask Your Question
0

How To Configure Network for Devstack on Ubuntu 12.04 in VMware Fusion

asked 2013-12-19 08:50:14 -0500

duncan gravatar image

Hi,

I have a VM running in VMWare Fusion on MacOsX.

The VM is running Ubuntu-12.04.3-server

I have cloned devstack and checked out stable/grizzly

./stack.sh completes OK.

When I create a test instance it starts OK, but

  • a) I cannot get into the console since for some reason the browser console app won't let me type the character ':' - hence I can't enter the password.
  • b) I can't ping the test VM from the Devstack VM or from the Mac host
  • c) The test VM startup log shows an issue with IPV6

What should I do to get networking going?

===== localrc =======

DATABASE_PASSWORD=toto
RABBIT_PASSWORD=toto
SERVICE_TOKEN=toto
SERVICE_PASSWORD=toto
ADMIN_PASSWORD=toto
VOLUME_BACKING_FILE_SIZE=70000M
PUBLIC_INTERFACE=eth0
FLAT_INTERFACE=br100
API_RATE_LIMIT=False

==== Output of ifconfig on the Devstack VM =====

br100     Link encap:Ethernet  HWaddr 00:0c:29:be:20:bf  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e41e:3ff:feae:f279/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5548 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4216148 (4.2 MB)  TX bytes:3386252 (3.3 MB)

eth0      Link encap:Ethernet  HWaddr 00:0c:29:be:20:bf  
          inet6 addr: fe80::20c:29ff:febe:20bf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:359586 errors:0 dropped:0 overruns:0 frame:0
          TX packets:184010 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:515448313 (515.4 MB)  TX bytes:17915196 (17.9 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:51071 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51071 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:146786353 (146.7 MB)  TX bytes:146786353 (146.7 MB)

virbr0    Link encap:Ethernet  HWaddr ae:04:29:52:7e:ac  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:c3:29:f7  
          inet6 addr: fe80::fc16:3eff:fec3:29f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:5284 (5.2 KB)  TX bytes:18147 (18.1 KB)

===== Output of brctl show on the devstack machine =======

bridge name bridge id ...
(more)
edit retag flag offensive close delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-10 17:07:10 -0500

dtroyer gravatar image

br100 has the wrong IP address. It should be in the 172.16.192.0/24 net.

Reboot your VM, verify the IP on eth0. That's the IP that should get moved to br100.

FWIW, I don't set PUBLIC_INTERFACE or FLAT_INTERFACE in simple VMs like this. stack.sh will find the interface with the default route and move that IP to br100 for you. At worst I only need to set HOST_IP to the IP to be moved to the bridge.

dt

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2013-12-19 08:50:14 -0500

Seen: 341 times

Last updated: Jan 10