[Rdo-list] Attempt to reproduce Getting Started with Multi-Node OpenStack RDO Havana + Gluster Backend + Neutron VLAN by Andrew Lau on F20 (2)

Boris Derzhavets bderzhavets at hotmail.com
Thu Jan 16 19:48:31 UTC 2014


Trying to reproduce :
 http://kashyapc.fedorapeople.org/virt/openstack/Two-node-Havana-setup.txt   
 
I stopped at following point :

  $ systemctl start openvswitch.service
  $ systemctl enable openvswitch.service

  $ systemctl enable neutron-ovs-cleanup.service

  $ ovs-vsctl add-br br-int

  $ cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-eth1
  DEVICE=eth1
  BOOTPROTO=static
  NM_CONTROLLED=no
  ONBOOT=yes
  TYPE=Ethernet
  EOF    

  $ cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-br-ex
  DEVICE=br-ex
  BOOTPROTO=static
  ONBOOT=yes
  IPADDR=192.169.142.140
  NETMASK=255.255.255.0
  GATEWAY=192.168.122.1
  EOF

  $ ovs-vsctl add-br br-ex
  $ ovs-vsctl add-port br-ex eth0
  $ 
  
  $ systemctl stop NetworkManager
  $ systemctl disable NetworkManager
  $ systemctl restart network
  $ systemct status network   # must be running

  > here

  Action (itself) :-
   
  $ cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-eth1
  DEVICE=eth1
  BOOTPROTO=static
  NM_CONTROLLED=no
  ONBOOT=yes
  TYPE=Ethernet
  EOF    

  won't create second interface on VM. Something else supposed to be done.

  Otherwise, eth1 won't appear in ifconfig report as well as it
  won't appear in routing table.

Attempt `ifup eth1` reports error : device is not known to system .

[root at ip-192-169-142-140 ~]# ifconfig

br-eth1: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::3497:35ff:fed5:e59f  prefixlen 64  scopeid 0x20<link>
        ether 26:b7:3f:05:ca:42  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-ex: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 192.169.142.140  netmask 255.255.255.0  broadcast 192.169.142.255
        inet6 fe80::a8bb:c8ff:fe10:ba7b  prefixlen 64  scopeid 0x20<link>
        ether 46:5a:28:79:5d:4e  txqueuelen 0  (Ethernet)
        RX packets 9  bytes 730 (730.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 816 (816.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-int: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::c53:4cff:fef3:8a84  prefixlen 64  scopeid 0x20<link>
        ether 36:44:69:dc:21:44  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5054:ff:fe32:e91e  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:32:e9:1e  txqueuelen 1000  (Ethernet)
        RX packets 45  bytes 2602 (2.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 18  bytes 940 (940.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18  bytes 940 (940.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 3e:cb:01:7a:51:ff  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root at ip-192-169-142-140 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1005   0        0 br-ex
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
192.169.142.0   0.0.0.0         255.255.255.0   U     0      0        0 br-ex


[root at ip-192-169-142-140 ~]# ifup eth1
ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device eth1 does not seem 
to be present, delaying initialization.

Boris
> Date: Fri, 27 Dec 2013 10:51:08 +0100
> From: kchamart at redhat.com
> To: bderzhavets at hotmail.com
> CC: andrew at andrewklau.com; rdo-list at redhat.com
> Subject: Re: [Rdo-list] Attempt to reproduce Getting Started with Multi-Node OpenStack RDO Havana + Gluster Backend + Neutron VLAN by Andrew Lau on F19
> 
> [. . .]
> 
> > 
> > View also http://kashyapc.wordpress.com/tag/fedora/
> > Set up a bit different from yours , but with same idea Controller + Compute,  is done
> > manually not via packstack with f20 core ( no Ethernet interfaces renaming just ifcfg-eth0 and etc )
> 
> 
> Here are more updated configurations:
> 
>   http://kashyapc.fedorapeople.org/virt/openstack/neutron-configs-GRE-OVS-two-node.txt
> 
> 
> That's the manual configuration details (not *fully* polished, but should
> give you an idea.
> 
>   http://kashyapc.fedorapeople.org/virt/openstack/Two-node-Havana-setup.txt
> 
> 
> And, that's the set-up:
> 
>   - Controller node: Nova, Keystone, Cinder, Glance, Neutron (using Open
>     vSwitch plugin and GRE tunneling).
> 
>   - Compute node: Nova (nova-compute), Neutron (openvswitch-agent)
> 
> 
> Hope that helps.
> 
> -- 
> /kashyap
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20140116/87f2cd7e/attachment.html>


More information about the dev mailing list