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

Boris Derzhavets bderzhavets at hotmail.com
Thu Jan 16 20:29:43 UTC 2014


I believe instruction is missing "virsh attach-interface" :- 

[root at openstack2 ~]# virsh list --all

 Id    Name                           State
----------------------------------------------------
 -     fedora20                       shut off
 -     instance-00000007              shut off

[root at openstack2 ~]# virsh attach-interface --domain fedora20 --type bridge \
> --source virbr0 --model virtio --mac 52:54:00:3b:65:6f --config

Interface attached successfully


Then inside VM ( fedora20) :-

[root at ip-192-169-142-140 ~]# ifconfig
br-eth1: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::c49f:64ff:fe07:d84e  prefixlen 64  scopeid 0x20<link>
        ether 26:b7:3f:05:ca:42  txqueuelen 0  (Ethernet)
        RX packets 9  bytes 730 (730.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::a0dd:efff:fe38:1b1b  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::b8de:ccff:fec2:5b09  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 43  bytes 2498 (2.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 760 (760.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5054:ff:fe3b:656f  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:3b:65:6f  txqueuelen 1000  (Ethernet)
        RX packets 43  bytes 2498 (2.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9  bytes 718 (718.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 22  bytes 1140 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 22  bytes 1140 (1.1 KiB)
        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 d6:f9:2a:47:81:6a  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     1003   0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     1006   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

Again routings tables don't match.

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/db280086/attachment.html>


More information about the dev mailing list