[Openstack] Single NIC deployment

Remo Mattei Remo at italy1.com
Thu Jul 17 20:50:29 UTC 2014


Just a quick additional node, if you do use ovs and you do not have ethx on your br-ex when using ovs-vsctl show it will not get an ip address. 

Remo 

 
On Jul 17, 2014, at 13:28, Robert Collins <robertc at robertcollins.net> wrote:

> On 18 July 2014 03:29, Gastón Keller <gastonkeller at gmail.com> wrote:
>> Hello, community.
>> 
>> I'm working on a 3-node deployment (i.e., controller, network and
>> compute) of OpenStack Icehouse in CentOS 6.4, following the official
>> installation guide for CentOS found in openstack.org.
>> 
>> These machines with which I'm working have only one NIC available.
>> Since the guide indicates that the different nodes require one to
>> three NICs, I've created aliases for the one NIC as follows (e.g.,
>> network node):
>> 
>> ** Network node **
>> 
>> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
>> DEVICE=eth0
>> ONBOOT=yes
>> NM_CONTROLLED=no
>> BOOTPROTO=dhcp
>> DELAY=0
>> 
>> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.1
>> DEVICE=eth0.1
>> ONBOOT=yes
>> NM_CONTROLLED=no
>> BOOTPROTO=none
>> VLAN=yes
>> IPADDR=10.18.23.21
>> NETMASK=255.255.255.0
>> 
>> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.2
>> DEVICE=eth0.2
>> TYPE=Ethernet
>> ONBOOT=yes
>> NM_CONTROLLED=no
>> BOOTPROTO=none
>> VLAN=yes
>> 
>> 
>> Is there any reason why this setup wouldn't work?
> 
> Yes, once the br-ex integration bridge is configured, regular IPs will
> stop working on that interface - the actual interface, not the alias,
> AIUI.
> 
> So, this explains your symptom:
> 
>> I have installed and configured every service in their respective
>> node, have created networks and subnets, a virtual router, and
>> connected all the required ports. However, when I try to verify
>> connectivity with a ping to the virtual router's external IP address,
>> things fail.
>> 
>> [root at ecco-vmhost-id19 ~]# ping -c 4 199.241.160.101
>> PING 199.241.160.101 (199.241.160.101) 56(84) bytes of data.
>> From 199.241.160.40 icmp_seq=2 Destination Host Unreachable
>> From 199.241.160.40 icmp_seq=3 Destination Host Unreachable
>> From 199.241.160.40 icmp_seq=4 Destination Host Unreachable
>> 
>> --- 199.241.160.101 ping statistics ---
>> 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12999ms
>> pipe 3
>> 
>> 
>> Any help would be deeply appreciated.
> 
> As Joe says, just use regular eth0, put br-ex on that, and put an IP
> address on br-ex (or on an access port on it).
> 
> -Rob
> 
> 
> -- 
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Converged Cloud
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> !DSPAM:1,53c835e950176757571201!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140717/825363e8/attachment.html>


More information about the Openstack mailing list