-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
-
False
-
-
-
Important
If I use hostnames (FQDNs) for _HOST and _HOSTS config - for example:
# Server on which to install OpenStack services specific to the
# controller role (for example, API servers or dashboard).
CONFIG_CONTROLLER_HOST=host.example.com
# List the servers on which to install the Compute service.
CONFIG_COMPUTE_HOSTS=host.example.com
# List of servers on which to install the network service such as
# Compute networking (nova network) or OpenStack Networking (neutron).
CONFIG_NETWORK_HOSTS=host.example.com
The puppet execution fails with:
Error: Evaluation Error: Error while evaluating a Function Call, 'regsubst' parameter 'target' expects a value of type Array or String, got Undef (file: /var/tmp/packstack/e0678fa714cc4897be30cfb63c14c1c3/modules/packstack/manifests/neutron/ovn_agent.pp, line: 4, column: 26) on node host26.beaker.tripleo.ral3.eng.rdu2.redhat.com
This happens because what is in HOST __ and {}{}HOSTS config variables is places in the ``HOST_LIST`` which is used via choose_my_ip() function in puppet. The choose_my_ip() function return "undef" if no match is found.