Ask Your Question
0

Packstack answer file - sorting out interfaces

asked 2015-06-20 04:57:55 -0500

drewbertola gravatar image

updated 2015-06-20 05:00:14 -0500

HI all,

I'm trying to set up a multi-node configuration using RDO on CentOS 7 using openstack-kilo. I'm confused by which interface goes where in the answers file.

My network is set up following this diagram: image description

Right now, I have these interfaces specified, but I don't think it is correct.

CONFIG_NOVA_COMPUTE_PRIVIF=p4p1
CONFIG_NOVA_NETWORK_PUBIF=p4p2
CONFIG_NOVA_NETWORK_PRIVIF=p4p1  ???
CONFIG_NEUTRON_OVS_TUNNEL_IF=p4p1  ???

Also, where would I specify ens1 and ens2?

Thanks! (and thanks to someone for the base diagram)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-20 05:42:43 -0500

dbaxps gravatar image

updated 2015-06-20 10:56:48 -0500

I would suggest on each node follow "Change interface names back to eth0, eth1 on CentOS 7"
http://carminebufano.com/?p=108

CONFIG_NOVA_COMPUTE_PRIVIF=eth1
CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth1
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1

On network eth2 make OVS port of br-ex. image description

I had similar issue on F21, packstack works properly after switching to old style Ethernet names. Binding desired eth(X) to particular NICs is done via  /etc/udev/rules.d/70-persistent-net.rules based on NICs MAC addresses

Addressing last question :-

CONFIG_NOVA_COMPUTE_PRIVIF is eth1 on your compute node(s)? - Correct
CONFIG_NOVA_NETWORK_PUBIF is eth0 on your network node? - Correct
CONFIG_NOVA_NETWORK_PRIVIF is eth1 on your network node? - Correct 
CONFIG_NEUTRON_OVS_TUNNEL_IF is eth1 on your compute node or network node? - On both of them

Take a look at http://bderzhavets.blogspot.com/2015/...

edit flag offensive delete link more

Comments

Thanks, but I would still not understand to which server's NIC the config value is referring.

CONFIG_NOVA_COMPUTE_PRIVIF=eth1 (eth1 on which server?)
CONFIG_NOVA_NETWORK_PUBIF=eth0  (here?)
CONFIG_NOVA_NETWORK_PRIVIF=eth1 (here?)
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1  (and here?)
drewbertola gravatar imagedrewbertola ( 2015-06-20 07:15:52 -0500 )edit

eth0 - mgmt network (every node)
eth1 - vxlan endpoints (network node,compute node)

dbaxps gravatar imagedbaxps ( 2015-06-20 08:31:34 -0500 )edit

Sorry, but

CONFIG_NOVA_COMPUTE_PRIVIF is eth1 on your compute node(s)?
CONFIG_NOVA_NETWORK_PUBIF is eth0 on your network node?
CONFIG_NOVA_NETWORK_PRIVIF is eth1 on your network node?
CONFIG_NEUTRON_OVS_TUNNEL_IF is eth1 on your compute node or network node?
drewbertola gravatar imagedrewbertola ( 2015-06-20 09:08:26 -0500 )edit

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-20 04:57:55 -0500

Seen: 2,366 times

Last updated: Jun 20 '15