Red Hat OSP 7 Director custom hostnames

By default, nodes deployed with Director have standard FQDN in the format:

overcloud-$nodetype-$nodenumber.localdomain

E.g.

overcloud-controller-2.localdomain

Which is fine but its nice to customize this a bit, no?

To do so, edit the following undercloud files:

/etc/neutron/dhcp_agent.ini
/etc/nova/nova.conf

and create/change the following parameter:

dhcp_domain = iaas.local (or whatever you prefer)

You also need to edit the deployment parameter:

CloudDomain:
default: ‘iaas.local’

in overcloud-without-mergepy.yaml

NB: It looks like this will only apply to OSP 7, OSP 8 has some changes to make this easier

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s