Description of problem: The code currently calls the network service for network and subnet information once for every port. This generates a very high number of calls that retrieves identical data. This change[1] improves the situation substantially: Results in 250 node test environment for comparison ---------------------------------------------------------------------- OLD: Generate ansible inventory | localhost | 0:09:35.990553 | 124.56s NEW: Generate ansible inventory | localhost | 0:07:27.473631 | 2.57s ---------------------------------------------------------------------- https://review.opendev.org/c/openstack/tripleo-common/+/873158
Verified change in place on compose RHOS-17.1-RHEL-9-20230712.n.1 (downstream only, upstream tripleo master not maintained)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:4577