Openstack undercloud upgrade/installation on 16.2 fails when undercloud public host and local IP values coincide

Solution Verified - Updated -

Issue

  • The FQDN undercloud_public_host value is resolved to the local_ip value in /home/stack/undercloud.conf:

    [DEFAULT]
    local_ip = <local IP address>
    undercloud_public_host = <public host FQDN> #resolved into <local IP address>
    undercloud_admin_host = <admin VIP>
    
  • The installation/upgrade process gets stuck at step 3 with the following logs:

    ERROR aodh oslo_db.exception.DBConnectionError: (pymysql.err.OperationalError (2003, "Can't connect to MySQL server on '<admin VIP>' ([Errno 113] No route to host)")
    

Environment

  • Red Hat OpenStack 16.2
  • keepalived v2.0.13 and later

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