How to specify domain name for the overcloud in Red Hat OpenStack Platform

Solution Verified - Updated -

Issue

After deployment of Overcloud all servers have domain localdomain like overcloud-compute-0.localdoman. Is there a way to define our own domain name?

  • Overcloud deploy can fail because domain name isn't set correctly in undercloud configuration.
    journalctl -u os-collect-config from overcloud controller:
Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.\u001b[0m\n\u001b[1;31mError: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)\u001b[0m\n\u001b[1;31mError: /usr/bin/clust
  • Galera fails to sync because of hostname problem
  • pcs status
 Master/Slave Set: galera-master [galera]
     galera     (ocf::heartbeat:galera):        FAILED Master rh-cntrl1 (blocked)
     galera     (ocf::heartbeat:galera):        FAILED Master rh-cntrl0 (blocked)
 Masters: [ ops2-rh-cntrl2 ]

Environment

  • Red Hat OpenStack 7
  • Red Hat OpenStack 8
  • Red Hat OpenStack Platform 9
  • Red Hat OpenStack Platform 10
  • Red Hat OpenStack Platform 11
  • Red Hat OpenStack 12
  • IS NOT VALID for Red Hat OpenStack Platform 13 and newer releases

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content