Bug 2217886 - undercloud_admin_host and undercloud_public_host IP addresses were not configured by DF when net_config_override is defined
Summary: undercloud_admin_host and undercloud_public_host IP addresses were not config...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 17.0 (Wallaby)
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: RHOS Documentation Team
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-27 11:33 UTC by Alex Stupnikov
Modified: 2023-07-24 12:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-26113 0 None None None 2023-06-27 11:36:41 UTC
Red Hat Knowledge Base (Solution) 7022792 0 None None None 2023-07-03 09:59:17 UTC

Description Alex Stupnikov 2023-06-27 11:33:27 UTC
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

Comment 1 Takashi Kajinami 2023-06-27 12:41:54 UTC
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.

Comment 2 Takashi Kajinami 2023-07-24 02:27:25 UTC
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


Note You need to log in before you can comment on or make changes to this bug.