Description of problem: Undercloud deployment failed after customer defined net_config_override in undercloud.conf according to our official recommendations [1] with single IP address set in addresses list because undercloud_admin_host and undercloud_public_host IP addresses were not configured deployment framework. I am not sure if it is python-tripleoclient's job to do this or os-net-config (from my RHOSP 16 config I can't see these IP addresses defined in /etc/os-net-config/config.json either). Workaround: undercloud_admin_host and undercloud_public_host IP addresses were added to addresses list and this solved the problem. [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.0/html-single/director_installation_and_usage/index#proc_configuring-undercloud-network-interfaces_installing-director-on-the-undercloud Version-Release number of selected component (if applicable): os-net-config-14.2.1-0.20220626013437.755f151.el9ost.noarch python3-tripleoclient-16.5.1-0.20221207110335.23dbe54.el9ost.noarch How reproducible: Define net_config_override according to https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.0/html-single/director_installation_and_usage/index#proc_configuring-undercloud-network-interfaces_installing-director-on-the-undercloud and run "openstack undercloud install" command Actual results: Undercloud install fails because keystone is unable to connect to DB via undercloud_admin_host IP address Expected results: Installation is successful
In RHOSP17 we no longer deploy keepalived in undercloud and vips are directly assigned to interfaces. So we should make sure that net_config_override contains the definitions to deploy all addresses. https://github.com/openstack/tripleo-ansible/blob/stable/wallaby/tripleo_ansible/roles/tripleo_network_config/templates/undercloud.j2#L21-L23 We probably have to update the documentation to state that requirement.
I'm converting this to a doc bug. Please mention that IP addresses for the following options should be configured local_ip (always needed) undercloud_public_host (needed only when SSL is enabled in undercloud) undercloud_admin_host (needed only when SSL is enabled in undercloud) These parameters are described in https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.0/html-single/director_installation_and_usage/index#ref_director-configuration-parameters_installing-director-on-the-undercloud