This post is closely related to RDO Juno Multi Node deployment via packstack on Fedora 21 landscape with boxes having different boards and different Ethernet NICs integrated on boards either plugged into systems.
Originally tested on Two Node Controller&&Network and Compute Fedora 21 .
[root@junoVHS01 ~(keystone_admin)]# uname -a
Linux junoVHS01.localdomain 3.19.3-200.fc21.x86_64 #1 SMP Thu Mar 26 21:39:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Interfaces on first board (enp3s0,enp5s0) on second board (enp2s0,enp5s1).Converted on both boards to (eth0,eth1), creating udev rules to rename Ethernet interfaces allows to set one to one correspondence between MAC adresses and eth(X) names. Just updating /boot/grub2/grub.cfg is not
enough on systems having several NICs. View also [ 1 ].
***************************************
Update /etc/default/grub
***************************************
Append to GRUB_CMDLINE_LINUX line append "net.ifnames=0 biosdevname=0"
Issue :-
# grub2-mkconfig -o /boot/grub2/grub.cfg
******************************************************
Run ifconfig to get MAC addresses of your NICS
******************************************************
[root@junoVHS01 network-scripts]# ifconfig
enp3s0: flags=4163 mtu 1500
inet 192.168.1.127 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::7a24:afff:fe43:1b53 prefixlen 64 scopeid 0x20
ether 78:24:af:43:1b:53 txqueuelen 1000 (Ethernet)
RX packets 44533 bytes 64844663 (61.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23881 bytes 1625287 (1.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp5s0 : flags=4163 mtu 1500
inet 192.168.0.127 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::2e0:53ff:fe13:174c prefixlen 64 scopeid 0x20
ether 00:e0:53:13:17:4c txqueuelen 1000 (Ethernet)
RX packets 65 bytes 22230 (21.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34 bytes 3466 (3.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
********************************************************
Create /etc/udev/rules.d/60-net.rules
********************************************************
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:24:af:43:1b:53", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
{SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:53:13:17:4c", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
***********************************************************
Got to /etc/sysconfig/network-scripts
***********************************************************
cp ifcfg-enp3s0 ifcfg-eth0
cp ifcfg-enp5s0 ifcfg-eth1
and set
DEVICE="eth0"
DEVICE="eth1"
in corresponding files
# rm -f ifcfg-enp*s*
************************
System reboot.
************************
RDO Juno Multi Node setup , easily updated from two to three node with
separate box for Network Node (CONFIG_NETWORK_HOSTS=192.168.1.147)
Several Compute Nodes may be added via CONFIG_COMPUTE_HOSTS
*******************************************************************************
Setup configuration
- Controller node: Nova, Keystone, Cinder, Glance, Neutron (using Open vSwitch plugin && VXLAN )
- Compute node: Nova (nova-compute), Neutron (openvswitch-agent)
junoVHS01.localdomain - Controller&&Network Node (192.168.1.127)
junoVHS02.localdomain - Compute Node (192.168.1.137)
VTEPS (192.168.0.127 - Controller, 192.168.0.137 - Compute )
********************************************************************************
Answer file been used by packstack
[general]
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
CONFIG_DEFAULT_PASSWORD=
CONFIG_MARIADB_INSTALL=y
CONFIG_GLANCE_INSTALL=y
CONFIG_CINDER_INSTALL=y
CONFIG_NOVA_INSTALL=y
CONFIG_NEUTRON_INSTALL=y
CONFIG_HORIZON_INSTALL=y
CONFIG_SWIFT_INSTALL=y
CONFIG_CEILOMETER_INSTALL=y
CONFIG_HEAT_INSTALL=n
CONFIG_CLIENT_INSTALL=y
CONFIG_NTP_SERVERS=
CONFIG_NAGIOS_INSTALL=y
EXCLUDE_SERVERS=
CONFIG_DEBUG_MODE=n
CONFIG_CONTROLLER_HOST=192.168.1.127
CONFIG_COMPUTE_HOSTS=192.168.1.137
CONFIG_NETWORK_HOSTS=192.168.1.127
CONFIG_VMWARE_BACKEND=n
CONFIG_UNSUPPORTED=n
CONFIG_VCENTER_HOST=
CONFIG_VCENTER_USER=
CONFIG_VCENTER_PASSWORD=
CONFIG_VCENTER_CLUSTER_NAME=
CONFIG_STORAGE_HOST=192.168.1.127
CONFIG_USE_EPEL=y
CONFIG_REPO=
CONFIG_RH_USER=
CONFIG_SATELLITE_URL=
CONFIG_RH_PW=
CONFIG_RH_OPTIONAL=y
CONFIG_RH_PROXY=
CONFIG_RH_PROXY_PORT=
CONFIG_RH_PROXY_USER=
CONFIG_RH_PROXY_PW=
CONFIG_SATELLITE_USER=
CONFIG_SATELLITE_PW=
CONFIG_SATELLITE_AKEY=
CONFIG_SATELLITE_CACERT=
CONFIG_SATELLITE_PROFILE=
CONFIG_SATELLITE_FLAGS=
CONFIG_SATELLITE_PROXY=
CONFIG_SATELLITE_PROXY_USER=
CONFIG_SATELLITE_PROXY_PW=
CONFIG_AMQP_BACKEND=rabbitmq
CONFIG_AMQP_HOST=192.168.1.127
CONFIG_AMQP_ENABLE_SSL=n
CONFIG_AMQP_ENABLE_AUTH=n
CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
CONFIG_AMQP_SSL_PORT=5671
CONFIG_AMQP_SSL_CERT_FILE=/etc/pki/tls/certs/amqp_selfcert.pem
CONFIG_AMQP_SSL_KEY_FILE=/etc/pki/tls/private/amqp_selfkey.pem
CONFIG_AMQP_SSL_SELF_SIGNED=y
CONFIG_AMQP_AUTH_USER=amqp_user
CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
CONFIG_MARIADB_HOST=192.168.1.127
CONFIG_MARIADB_USER=root
CONFIG_MARIADB_PW=7207ae344ed04957
CONFIG_KEYSTONE_DB_PW=abcae16b785245c3
CONFIG_KEYSTONE_REGION=RegionOne
CONFIG_KEYSTONE_ADMIN_TOKEN=3ad2de159f9649afb0c342ba57e637d9
CONFIG_KEYSTONE_ADMIN_PW=7049f834927e4468
CONFIG_KEYSTONE_DEMO_PW=bf737b785cfa4398
CONFIG_KEYSTONE_TOKEN_FORMAT=UUID
CONFIG_KEYSTONE_SERVICE_NAME=keystone
CONFIG_GLANCE_DB_PW=41264fc52ffd4fe8
CONFIG_GLANCE_KS_PW=f6a9398960534797
CONFIG_GLANCE_BACKEND=file
CONFIG_CINDER_DB_PW=5ac08c6d09ba4b69
CONFIG_CINDER_KS_PW=c8cb1ecb8c2b4f6f
CONFIG_CINDER_BACKEND=lvm
CONFIG_CINDER_VOLUMES_CREATE=y
CONFIG_CINDER_VOLUMES_SIZE=20G
CONFIG_CINDER_GLUSTER_MOUNTS=
CONFIG_CINDER_NFS_MOUNTS=
CONFIG_CINDER_NETAPP_LOGIN=
CONFIG_CINDER_NETAPP_PASSWORD=
CONFIG_CINDER_NETAPP_HOSTNAME=
CONFIG_CINDER_NETAPP_SERVER_PORT=80
CONFIG_CINDER_NETAPP_STORAGE_FAMILY=ontap_cluster
CONFIG_CINDER_NETAPP_TRANSPORT_TYPE=http
CONFIG_CINDER_NETAPP_STORAGE_PROTOCOL=nfs
CONFIG_CINDER_NETAPP_SIZE_MULTIPLIER=1.0
CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES=720
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_START=20
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_STOP=60
CONFIG_CINDER_NETAPP_NFS_SHARES_CONFIG=
CONFIG_CINDER_NETAPP_VOLUME_LIST=
CONFIG_CINDER_NETAPP_VFILER=
CONFIG_CINDER_NETAPP_VSERVER=
CONFIG_CINDER_NETAPP_CONTROLLER_IPS=
CONFIG_CINDER_NETAPP_SA_PASSWORD=
CONFIG_CINDER_NETAPP_WEBSERVICE_PATH=/devmgr/v2
CONFIG_CINDER_NETAPP_STORAGE_POOLS=
CONFIG_NOVA_DB_PW=1e1b5aeeeaf342a8
CONFIG_NOVA_KS_PW=d9583177a2444f06
CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0
CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5
CONFIG_NOVA_COMPUTE_MIGRATE_PROTOCOL=tcp
CONFIG_NOVA_COMPUTE_PRIVIF=eth1
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth1
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
CONFIG_NOVA_NETWORK_VLAN_START=100
CONFIG_NOVA_NETWORK_NUMBER=1
CONFIG_NOVA_NETWORK_SIZE=255
CONFIG_NEUTRON_KS_PW=808e36e154bd4cee
CONFIG_NEUTRON_DB_PW=0e2b927a21b44737
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_L2_PLUGIN=ml2
CONFIG_NEUTRON_METADATA_PW=a965cd23ed2f4502
CONFIG_LBAAS_INSTALL=n
CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
CONFIG_NEUTRON_FWAAS=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1001:2000
CONFIG_NEUTRON_ML2_VXLAN_GROUP=239.1.1.2
CONFIG_NEUTRON_ML2_VNI_RANGES=1001:2000
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
CONFIG_NEUTRON_LB_VLAN_RANGES=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
CONFIG_NEUTRON_OVS_VLAN_RANGES=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet1:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1001:2000
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789
CONFIG_HORIZON_SSL=n
CONFIG_SSL_CERT=
CONFIG_SSL_KEY=
CONFIG_SSL_CACHAIN=
CONFIG_SWIFT_KS_PW=8f75bfd461234c30
CONFIG_SWIFT_STORAGES=
CONFIG_SWIFT_STORAGE_ZONES=1
CONFIG_SWIFT_STORAGE_REPLICAS=1
CONFIG_SWIFT_STORAGE_FSTYPE=ext4
CONFIG_SWIFT_HASH=a60aacbedde7429a
CONFIG_SWIFT_STORAGE_SIZE=2G
CONFIG_PROVISION_DEMO=y
CONFIG_PROVISION_TEMPEST=n
CONFIG_PROVISION_TEMPEST_USER=
CONFIG_PROVISION_TEMPEST_USER_PW=44faa4ebc3da4459
CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28
CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n
CONFIG_HEAT_DB_PW=PW_PLACEHOLDER
CONFIG_HEAT_AUTH_ENC_KEY=fc3fb7fee61e46b0
CONFIG_HEAT_KS_PW=PW_PLACEHOLDER
CONFIG_HEAT_CLOUDWATCH_INSTALL=n
CONFIG_HEAT_USING_TRUSTS=y
CONFIG_HEAT_CFN_INSTALL=n
CONFIG_HEAT_DOMAIN=heat
CONFIG_HEAT_DOMAIN_ADMIN=heat_admin
CONFIG_HEAT_DOMAIN_PASSWORD=PW_PLACEHOLDER
CONFIG_CEILOMETER_SECRET=19ae0e7430174349
CONFIG_CEILOMETER_KS_PW=337b08d4b3a44753
CONFIG_MONGODB_HOST=192.168.1.127
CONFIG_NAGIOS_PW=02f168ee8edd44e4
********************************************************************
Up on successful completion you are supposed to get
********************************************************************
[root@junoVHS01 ~(keystone_admin)]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: active
openstack-nova-compute: inactive (disabled on boot)
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: active
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: active
neutron-metadata-agent: active
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: active
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: active
openstack-swift-container: active
openstack-swift-object: active
== Cinder services ==
openstack-cinder-api: active
openstack-cinder-scheduler: active
openstack-cinder-volume: active
openstack-cinder-backup: active
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: inactive (disabled on boot)
openstack-ceilometer-collector: active
openstack-ceilometer-alarm-notifier: active
openstack-ceilometer-alarm-evaluator: active
openstack-ceilometer-notification: active
== Support services ==
openvswitch: active
dbus: active
target: inactive (disabled on boot)
rabbitmq-server: active
memcached: active
== Keystone users ==
+----------------------------------+------------+---------+----------------------+
| id | name | enabled | email |
+----------------------------------+------------+---------+----------------------+
| 82fb089130a64902a3c0cdfefc25aadb | admin | True | root@localhost |
| 8d20be7fd2e04054992bde8af6658b5f | ceilometer | True | ceilometer@localhost |
| 91def7a2ef424ef287041a88341c886a | cinder | True | cinder@localhost |
| 77a7997146ca4a9ea8cc4572f79a111a | demo | True | |
| 94079d20cd6a457db9a0ab319c0d1f0f | glance | True | glance@localhost |
| ebf0369d9a6b49f088a10e80eabe683d | neutron | True | neutron@localhost |
| cae11d29ca204dee97fb3bc426afc78f | nova | True | nova@localhost |
| 53188618a56f4dc0a59e06703349fa39 | swift | True | swift@localhost |
+----------------------------------+------------+---------+----------------------+
== Glance images ==
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
| fbc1f97a-c176-4a64-a495-bf72580e3d9e | cirros | qcow2 | bare | 13200896 | active |
| 0abaa464-f41f-4871-b73d-7d264b773597 | Fedora 21 image | qcow2 | bare | 158443520 | active |
| 469f7921-2ffa-4f4b-b223-2cd6e9a101e2 | Ubuntu 15.04 image | qcow2 | bare | 284492288 | active |
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
== Nova managed services ==
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-consoleauth | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:34.000000 | - |
| 2 | nova-scheduler | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:33.000000 | - |
| 3 | nova-conductor | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:33.000000 | - |
| 4 | nova-cert | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:34.000000 | - |
| 5 | nova-compute | junoVHS02.localdomain | nova | enabled | up | 2015-04-11T17:22:34.000000 | - |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| 39b4dd7b-dc1d-4752-84eb-caeadd0e5781 | public | - |
| 8b1f58fd-924b-4b85-9ab6-e2ea249ac0ea | demo_net | - |
| a5f04387-2663-4f05-9eb4-95bd30f30e9c | private | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
************************************
In more details
************************************
[root@junoVHS01 ~(keystone_admin)]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-consoleauth junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-scheduler junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-conductor junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-cert junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:45
nova-compute junoVHS02.localdomain nova enabled :-) 2015-04-11 17:40:44
[root@junoVHS01 ~(keystone_admin)]# neutron agent-list
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
| 50b9df88-58a1-4a16-84ed-38c423bdd76f | Metadata agent | junoVHS01.localdomain | :-) | True | neutron-metadata-agent |
| 65afc586-c15e-48eb-bb29-1fd664f88960 | Open vSwitch agent | junoVHS02.localdomain | :-) | True | neutron-openvswitch-agent |
| b6351d3f-ffbd-4839-a6b9-5f01cee6a9b7 | Open vSwitch agent | junoVHS01.localdomain | :-) | True | neutron-openvswitch-agent |
| c1a55d0a-b1b1-461f-bc56-dbac4ef7a538 | L3 agent | junoVHS01.localdomain | :-) | True | neutron-l3-agent |
| d3847d47-8b08-4f23-aa8c-887ca4534b9f | DHCP agent | junoVHS01.localdomain | :-) | True | neutron-dhcp-agent |
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
********************************************************************************
Only on Controller (generally in case of 3 node deployment on Network Node) updates :-
********************************************************************************
[root@junoVHS01 network-scripts(keystone_admin)]# cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="192.168.1.127"
NETMASK="255.255.255.0"
DNS1="83.221.202.254"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"
[root@junoVHS01 network-scripts(keystone_admin)]# cat ifcfg-eth0
DEVICE="eth0"
# HWADDR=00:22:15:63:E4:E2
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no
Service network restarted, NetworkManager disabled
****************************************************************
OVS_VSCTL SHOW REPORT ON CONTROLLER
****************************************************************
[root@junoVHS01 ~(keystone_admin)]# ovs-vsctl show
14e6125c-c108-4369-b461-4fb2e68c4884
Bridge br-int
fail_mode: secure
Port "qr-bdc3038d-50"
tag: 2
Interface "qr-bdc3038d-50"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "tapd91e13c6-54"
tag: 3
Interface "tapd91e13c6-54"
type: internal
Port "tap117fa529-b1"
tag: 2
Interface "tap117fa529-b1"
type: internal
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "eth0"
Interface "eth0"
Port br-ex
Interface br-ex
type: internal
Port "qg-0289d92f-ca"
Interface "qg-0289d92f-ca"
type: internal
Bridge br-tun
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "vxlan-c0a80089"
Interface "vxlan-c0a80089"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.168.0.127", out_key=flow, remote_ip="192.168.0.137"}
Port br-tun
Interface br-tun
type: internal
ovs_version: "2.3.1-git4750c96"
**********************************************************
OVS_VSCTL SHOW REPORT ON COMPUTE
**********************************************************
[root@junoVHS02 ~]# ovs-vsctl show
2fd00c5e-ac58-460b-8c3e-0fdb36afa8d4
Bridge br-int
fail_mode: secure
Port "qvo6447cf52-0e"
tag: 1
Interface "qvo6447cf52-0e"
Port "qvob88ccbd4-0c"
tag: 1
Interface "qvob88ccbd4-0c"
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvo089db78b-b0"
tag: 1
Interface "qvo089db78b-b0"
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "vxlan-c0a8007f"
Interface "vxlan-c0a8007f"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.168.0.137", out_key=flow, remote_ip="192.168.0.127"}
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
ovs_version: "2.3.1-git4750c96"
References
1. http://unix.stackexchange.com/questions/81834/how-can-i-change-the-default-ens33-network-device-to-old-eth0-on-fedora-19
Originally tested on Two Node Controller&&Network and Compute Fedora 21 .
[root@junoVHS01 ~(keystone_admin)]# uname -a
Linux junoVHS01.localdomain 3.19.3-200.fc21.x86_64 #1 SMP Thu Mar 26 21:39:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Interfaces on first board (enp3s0,enp5s0) on second board (enp2s0,enp5s1).Converted on both boards to (eth0,eth1), creating udev rules to rename Ethernet interfaces allows to set one to one correspondence between MAC adresses and eth(X) names. Just updating /boot/grub2/grub.cfg is not
enough on systems having several NICs. View also [ 1 ].
***************************************
Update /etc/default/grub
***************************************
Append to GRUB_CMDLINE_LINUX line append "net.ifnames=0 biosdevname=0"
Issue :-
# grub2-mkconfig -o /boot/grub2/grub.cfg
******************************************************
Run ifconfig to get MAC addresses of your NICS
******************************************************
[root@junoVHS01 network-scripts]# ifconfig
enp3s0: flags=4163
inet 192.168.1.127 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::7a24:afff:fe43:1b53 prefixlen 64 scopeid 0x20
ether 78:24:af:43:1b:53 txqueuelen 1000 (Ethernet)
RX packets 44533 bytes 64844663 (61.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23881 bytes 1625287 (1.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp5s0 : flags=4163
inet 192.168.0.127 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::2e0:53ff:fe13:174c prefixlen 64 scopeid 0x20
ether 00:e0:53:13:17:4c txqueuelen 1000 (Ethernet)
RX packets 65 bytes 22230 (21.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34 bytes 3466 (3.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
********************************************************
Create /etc/udev/rules.d/60-net.rules
********************************************************
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:24:af:43:1b:53", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
{SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:53:13:17:4c", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
***********************************************************
Got to /etc/sysconfig/network-scripts
***********************************************************
cp ifcfg-enp3s0 ifcfg-eth0
cp ifcfg-enp5s0 ifcfg-eth1
and set
DEVICE="eth0"
DEVICE="eth1"
in corresponding files
# rm -f ifcfg-enp*s*
************************
System reboot.
************************
RDO Juno Multi Node setup , easily updated from two to three node with
separate box for Network Node (CONFIG_NETWORK_HOSTS=192.168.1.147)
Several Compute Nodes may be added via CONFIG_COMPUTE_HOSTS
*******************************************************************************
Setup configuration
- Controller node: Nova, Keystone, Cinder, Glance, Neutron (using Open vSwitch plugin && VXLAN )
- Compute node: Nova (nova-compute), Neutron (openvswitch-agent)
junoVHS01.localdomain - Controller&&Network Node (192.168.1.127)
junoVHS02.localdomain - Compute Node (192.168.1.137)
VTEPS (192.168.0.127 - Controller, 192.168.0.137 - Compute )
********************************************************************************
Answer file been used by packstack
[general]
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
CONFIG_DEFAULT_PASSWORD=
CONFIG_MARIADB_INSTALL=y
CONFIG_GLANCE_INSTALL=y
CONFIG_CINDER_INSTALL=y
CONFIG_NOVA_INSTALL=y
CONFIG_NEUTRON_INSTALL=y
CONFIG_HORIZON_INSTALL=y
CONFIG_SWIFT_INSTALL=y
CONFIG_CEILOMETER_INSTALL=y
CONFIG_HEAT_INSTALL=n
CONFIG_CLIENT_INSTALL=y
CONFIG_NTP_SERVERS=
CONFIG_NAGIOS_INSTALL=y
EXCLUDE_SERVERS=
CONFIG_DEBUG_MODE=n
CONFIG_CONTROLLER_HOST=192.168.1.127
CONFIG_COMPUTE_HOSTS=192.168.1.137
CONFIG_NETWORK_HOSTS=192.168.1.127
CONFIG_VMWARE_BACKEND=n
CONFIG_UNSUPPORTED=n
CONFIG_VCENTER_HOST=
CONFIG_VCENTER_USER=
CONFIG_VCENTER_PASSWORD=
CONFIG_VCENTER_CLUSTER_NAME=
CONFIG_STORAGE_HOST=192.168.1.127
CONFIG_USE_EPEL=y
CONFIG_REPO=
CONFIG_RH_USER=
CONFIG_SATELLITE_URL=
CONFIG_RH_PW=
CONFIG_RH_OPTIONAL=y
CONFIG_RH_PROXY=
CONFIG_RH_PROXY_PORT=
CONFIG_RH_PROXY_USER=
CONFIG_RH_PROXY_PW=
CONFIG_SATELLITE_USER=
CONFIG_SATELLITE_PW=
CONFIG_SATELLITE_AKEY=
CONFIG_SATELLITE_CACERT=
CONFIG_SATELLITE_PROFILE=
CONFIG_SATELLITE_FLAGS=
CONFIG_SATELLITE_PROXY=
CONFIG_SATELLITE_PROXY_USER=
CONFIG_SATELLITE_PROXY_PW=
CONFIG_AMQP_BACKEND=rabbitmq
CONFIG_AMQP_HOST=192.168.1.127
CONFIG_AMQP_ENABLE_SSL=n
CONFIG_AMQP_ENABLE_AUTH=n
CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
CONFIG_AMQP_SSL_PORT=5671
CONFIG_AMQP_SSL_CERT_FILE=/etc/pki/tls/certs/amqp_selfcert.pem
CONFIG_AMQP_SSL_KEY_FILE=/etc/pki/tls/private/amqp_selfkey.pem
CONFIG_AMQP_SSL_SELF_SIGNED=y
CONFIG_AMQP_AUTH_USER=amqp_user
CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
CONFIG_MARIADB_HOST=192.168.1.127
CONFIG_MARIADB_USER=root
CONFIG_MARIADB_PW=7207ae344ed04957
CONFIG_KEYSTONE_DB_PW=abcae16b785245c3
CONFIG_KEYSTONE_REGION=RegionOne
CONFIG_KEYSTONE_ADMIN_TOKEN=3ad2de159f9649afb0c342ba57e637d9
CONFIG_KEYSTONE_ADMIN_PW=7049f834927e4468
CONFIG_KEYSTONE_DEMO_PW=bf737b785cfa4398
CONFIG_KEYSTONE_TOKEN_FORMAT=UUID
CONFIG_KEYSTONE_SERVICE_NAME=keystone
CONFIG_GLANCE_DB_PW=41264fc52ffd4fe8
CONFIG_GLANCE_KS_PW=f6a9398960534797
CONFIG_GLANCE_BACKEND=file
CONFIG_CINDER_DB_PW=5ac08c6d09ba4b69
CONFIG_CINDER_KS_PW=c8cb1ecb8c2b4f6f
CONFIG_CINDER_BACKEND=lvm
CONFIG_CINDER_VOLUMES_CREATE=y
CONFIG_CINDER_VOLUMES_SIZE=20G
CONFIG_CINDER_GLUSTER_MOUNTS=
CONFIG_CINDER_NFS_MOUNTS=
CONFIG_CINDER_NETAPP_LOGIN=
CONFIG_CINDER_NETAPP_PASSWORD=
CONFIG_CINDER_NETAPP_HOSTNAME=
CONFIG_CINDER_NETAPP_SERVER_PORT=80
CONFIG_CINDER_NETAPP_STORAGE_FAMILY=ontap_cluster
CONFIG_CINDER_NETAPP_TRANSPORT_TYPE=http
CONFIG_CINDER_NETAPP_STORAGE_PROTOCOL=nfs
CONFIG_CINDER_NETAPP_SIZE_MULTIPLIER=1.0
CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES=720
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_START=20
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_STOP=60
CONFIG_CINDER_NETAPP_NFS_SHARES_CONFIG=
CONFIG_CINDER_NETAPP_VOLUME_LIST=
CONFIG_CINDER_NETAPP_VFILER=
CONFIG_CINDER_NETAPP_VSERVER=
CONFIG_CINDER_NETAPP_CONTROLLER_IPS=
CONFIG_CINDER_NETAPP_SA_PASSWORD=
CONFIG_CINDER_NETAPP_WEBSERVICE_PATH=/devmgr/v2
CONFIG_CINDER_NETAPP_STORAGE_POOLS=
CONFIG_NOVA_DB_PW=1e1b5aeeeaf342a8
CONFIG_NOVA_KS_PW=d9583177a2444f06
CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0
CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5
CONFIG_NOVA_COMPUTE_MIGRATE_PROTOCOL=tcp
CONFIG_NOVA_COMPUTE_PRIVIF=eth1
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth1
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
CONFIG_NOVA_NETWORK_VLAN_START=100
CONFIG_NOVA_NETWORK_NUMBER=1
CONFIG_NOVA_NETWORK_SIZE=255
CONFIG_NEUTRON_KS_PW=808e36e154bd4cee
CONFIG_NEUTRON_DB_PW=0e2b927a21b44737
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_L2_PLUGIN=ml2
CONFIG_NEUTRON_METADATA_PW=a965cd23ed2f4502
CONFIG_LBAAS_INSTALL=n
CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
CONFIG_NEUTRON_FWAAS=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1001:2000
CONFIG_NEUTRON_ML2_VXLAN_GROUP=239.1.1.2
CONFIG_NEUTRON_ML2_VNI_RANGES=1001:2000
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
CONFIG_NEUTRON_LB_VLAN_RANGES=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
CONFIG_NEUTRON_OVS_VLAN_RANGES=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet1:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1001:2000
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789
CONFIG_HORIZON_SSL=n
CONFIG_SSL_CERT=
CONFIG_SSL_KEY=
CONFIG_SSL_CACHAIN=
CONFIG_SWIFT_KS_PW=8f75bfd461234c30
CONFIG_SWIFT_STORAGES=
CONFIG_SWIFT_STORAGE_ZONES=1
CONFIG_SWIFT_STORAGE_REPLICAS=1
CONFIG_SWIFT_STORAGE_FSTYPE=ext4
CONFIG_SWIFT_HASH=a60aacbedde7429a
CONFIG_SWIFT_STORAGE_SIZE=2G
CONFIG_PROVISION_DEMO=y
CONFIG_PROVISION_TEMPEST=n
CONFIG_PROVISION_TEMPEST_USER=
CONFIG_PROVISION_TEMPEST_USER_PW=44faa4ebc3da4459
CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28
CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n
CONFIG_HEAT_DB_PW=PW_PLACEHOLDER
CONFIG_HEAT_AUTH_ENC_KEY=fc3fb7fee61e46b0
CONFIG_HEAT_KS_PW=PW_PLACEHOLDER
CONFIG_HEAT_CLOUDWATCH_INSTALL=n
CONFIG_HEAT_USING_TRUSTS=y
CONFIG_HEAT_CFN_INSTALL=n
CONFIG_HEAT_DOMAIN=heat
CONFIG_HEAT_DOMAIN_ADMIN=heat_admin
CONFIG_HEAT_DOMAIN_PASSWORD=PW_PLACEHOLDER
CONFIG_CEILOMETER_SECRET=19ae0e7430174349
CONFIG_CEILOMETER_KS_PW=337b08d4b3a44753
CONFIG_MONGODB_HOST=192.168.1.127
CONFIG_NAGIOS_PW=02f168ee8edd44e4
********************************************************************
Up on successful completion you are supposed to get
********************************************************************
[root@junoVHS01 ~(keystone_admin)]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: active
openstack-nova-compute: inactive (disabled on boot)
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: active
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: active
neutron-metadata-agent: active
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: active
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: active
openstack-swift-container: active
openstack-swift-object: active
== Cinder services ==
openstack-cinder-api: active
openstack-cinder-scheduler: active
openstack-cinder-volume: active
openstack-cinder-backup: active
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: inactive (disabled on boot)
openstack-ceilometer-collector: active
openstack-ceilometer-alarm-notifier: active
openstack-ceilometer-alarm-evaluator: active
openstack-ceilometer-notification: active
== Support services ==
openvswitch: active
dbus: active
target: inactive (disabled on boot)
rabbitmq-server: active
memcached: active
== Keystone users ==
+----------------------------------+------------+---------+----------------------+
| id | name | enabled | email |
+----------------------------------+------------+---------+----------------------+
| 82fb089130a64902a3c0cdfefc25aadb | admin | True | root@localhost |
| 8d20be7fd2e04054992bde8af6658b5f | ceilometer | True | ceilometer@localhost |
| 91def7a2ef424ef287041a88341c886a | cinder | True | cinder@localhost |
| 77a7997146ca4a9ea8cc4572f79a111a | demo | True | |
| 94079d20cd6a457db9a0ab319c0d1f0f | glance | True | glance@localhost |
| ebf0369d9a6b49f088a10e80eabe683d | neutron | True | neutron@localhost |
| cae11d29ca204dee97fb3bc426afc78f | nova | True | nova@localhost |
| 53188618a56f4dc0a59e06703349fa39 | swift | True | swift@localhost |
+----------------------------------+------------+---------+----------------------+
== Glance images ==
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
| fbc1f97a-c176-4a64-a495-bf72580e3d9e | cirros | qcow2 | bare | 13200896 | active |
| 0abaa464-f41f-4871-b73d-7d264b773597 | Fedora 21 image | qcow2 | bare | 158443520 | active |
| 469f7921-2ffa-4f4b-b223-2cd6e9a101e2 | Ubuntu 15.04 image | qcow2 | bare | 284492288 | active |
+--------------------------------------+--------------------+-------------+------------------+-----------+--------+
== Nova managed services ==
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-consoleauth | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:34.000000 | - |
| 2 | nova-scheduler | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:33.000000 | - |
| 3 | nova-conductor | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:33.000000 | - |
| 4 | nova-cert | junoVHS01.localdomain | internal | enabled | up | 2015-04-11T17:22:34.000000 | - |
| 5 | nova-compute | junoVHS02.localdomain | nova | enabled | up | 2015-04-11T17:22:34.000000 | - |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| 39b4dd7b-dc1d-4752-84eb-caeadd0e5781 | public | - |
| 8b1f58fd-924b-4b85-9ab6-e2ea249ac0ea | demo_net | - |
| a5f04387-2663-4f05-9eb4-95bd30f30e9c | private | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
************************************
In more details
************************************
[root@junoVHS01 ~(keystone_admin)]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-consoleauth junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-scheduler junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-conductor junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:44
nova-cert junoVHS01.localdomain internal enabled :-) 2015-04-11 17:40:45
nova-compute junoVHS02.localdomain nova enabled :-) 2015-04-11 17:40:44
[root@junoVHS01 ~(keystone_admin)]# neutron agent-list
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
| 50b9df88-58a1-4a16-84ed-38c423bdd76f | Metadata agent | junoVHS01.localdomain | :-) | True | neutron-metadata-agent |
| 65afc586-c15e-48eb-bb29-1fd664f88960 | Open vSwitch agent | junoVHS02.localdomain | :-) | True | neutron-openvswitch-agent |
| b6351d3f-ffbd-4839-a6b9-5f01cee6a9b7 | Open vSwitch agent | junoVHS01.localdomain | :-) | True | neutron-openvswitch-agent |
| c1a55d0a-b1b1-461f-bc56-dbac4ef7a538 | L3 agent | junoVHS01.localdomain | :-) | True | neutron-l3-agent |
| d3847d47-8b08-4f23-aa8c-887ca4534b9f | DHCP agent | junoVHS01.localdomain | :-) | True | neutron-dhcp-agent |
+--------------------------------------+--------------------+-----------------------+-------+----------------+---------------------------+
********************************************************************************
Only on Controller (generally in case of 3 node deployment on Network Node) updates :-
********************************************************************************
[root@junoVHS01 network-scripts(keystone_admin)]# cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="192.168.1.127"
NETMASK="255.255.255.0"
DNS1="83.221.202.254"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"
[root@junoVHS01 network-scripts(keystone_admin)]# cat ifcfg-eth0
DEVICE="eth0"
# HWADDR=00:22:15:63:E4:E2
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no
Service network restarted, NetworkManager disabled
****************************************************************
OVS_VSCTL SHOW REPORT ON CONTROLLER
****************************************************************
[root@junoVHS01 ~(keystone_admin)]# ovs-vsctl show
14e6125c-c108-4369-b461-4fb2e68c4884
Bridge br-int
fail_mode: secure
Port "qr-bdc3038d-50"
tag: 2
Interface "qr-bdc3038d-50"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "tapd91e13c6-54"
tag: 3
Interface "tapd91e13c6-54"
type: internal
Port "tap117fa529-b1"
tag: 2
Interface "tap117fa529-b1"
type: internal
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "eth0"
Interface "eth0"
Port br-ex
Interface br-ex
type: internal
Port "qg-0289d92f-ca"
Interface "qg-0289d92f-ca"
type: internal
Bridge br-tun
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "vxlan-c0a80089"
Interface "vxlan-c0a80089"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.168.0.127", out_key=flow, remote_ip="192.168.0.137"}
Port br-tun
Interface br-tun
type: internal
ovs_version: "2.3.1-git4750c96"
**********************************************************
OVS_VSCTL SHOW REPORT ON COMPUTE
**********************************************************
[root@junoVHS02 ~]# ovs-vsctl show
2fd00c5e-ac58-460b-8c3e-0fdb36afa8d4
Bridge br-int
fail_mode: secure
Port "qvo6447cf52-0e"
tag: 1
Interface "qvo6447cf52-0e"
Port "qvob88ccbd4-0c"
tag: 1
Interface "qvob88ccbd4-0c"
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvo089db78b-b0"
tag: 1
Interface "qvo089db78b-b0"
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "vxlan-c0a8007f"
Interface "vxlan-c0a8007f"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.168.0.137", out_key=flow, remote_ip="192.168.0.127"}
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
ovs_version: "2.3.1-git4750c96"
References
1. http://unix.stackexchange.com/questions/81834/how-can-i-change-the-default-ens33-network-device-to-old-eth0-on-fedora-19