Ask Your Question
0

Can I specify different interfaces for different servers in the same answer file? [closed]

asked 2014-11-10 08:56:05 -0600

mickt gravatar image

I intend to install Juno on CentOS 7 using packstack. I see that CentOS 7 uses Consistent Network Device Naming, which is such a pain and a damn useless feature! I can reconfigure with ethX but I cannot specify on specific NICs. I'd like to do so so that I can use an answer file during installation.

Has anyone worked around such this issue or can I specify different interfaces for different servers in the same answer file?

As it stands compute node 1 may have eth0 but compute node 3 may have eth3 etc.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mickt
close date 2014-11-12 02:35:16.888902

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-11 11:32:59 -0600

larsks gravatar image

updated 2014-11-11 11:33:45 -0600

Packstack requires that interface names be consistent across all your systems. The assumption (and recommendation!) is that you are installing onto a set of identical systems.

Has anyone worked around such this issue or can I specify different interfaces for different servers in the same answer file?

One way to work around this issue is to (ab)use the bonding driver by creating single-device bonds. That is, if you want eth0 on one compute node to be used for tenant networking but you want to use eth3 on another for that purpose, you can create a device bond0 on boths systems. Assign eth0 to bond0 on the first host and eth3 to bond0 on the second, and then specify bond0 as CONFIG_NEUTRON_OVS_TUNNEL_IF in your packstack answers file.

You can also use bridge devices for this purpose, at least for overlay (GRE/VXLAN) tenant networks.

edit flag offensive delete link more

Comments

I think that's a damn good idea! Thanks.

mickt gravatar imagemickt ( 2014-11-12 02:31:31 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-10 08:56:05 -0600

Seen: 339 times

Last updated: Nov 11 '14