undercloud_admin_host and undercloud_public_host IP addresses were not configured by DF when net_config_override is defined

Solution Verified - Updated -

Issue

  • Undercloud deployment failed after user defined net_config_override in undercloud.conf without IP addresses defined via undercloud_admin_host and undercloud_public_host
  • Undercloud deployment failed because Keystone is unable to connect to undercloud DB service after user defined net_config_override in undercloud.conf without IP addresses defined via undercloud_admin_host and undercloud_public_host:

    /var/log/containers/keystone/keystone.log:
    2023-06-20 21:57:13.624 15 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -514 attempts left.: oslo_db.exception.DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.1.4' ([Errno 113] No route to host)")
    

Environment

  • Red Hat OpenStack Platform 17.0

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